Commit 522401f
authored
Improve consistency and usability of build panel handling (#1657)
# Description
This PR makes three small but related improvements around the LaTeXTools build panel:
* **Expose "Show build panel" in the Command Palette**
* Adds a new command palette entry:
```
makefileCopy codeLaTeXTools: Show build panel
```
* This provides a discoverable way for users to reopen the build panel manually (useful when `"hide_build_panel"` is set to `"always"` or `"never"`).
* **Clarify and correct documentation of `hide_build_panel`**
* The previous comments in `LaTeXTools.sublime-settings` were inconsistent:
* The code fallback was `"no_warnings"`.
* The defaults file set `"no_badboxes"`.
* The comments claimed `"never"` was the default.
* The docs are now clearer, consistent, and explicitly state the true default.
* **Align code fallback with shipped defaults**
* In `make_pdf.py`, the fallback for `get_setting("hide_build_panel", ...)` is updated from `"no_warnings"` → `"no_badboxes"`.
* This ensures consistency between the source code and the default settings file.
---
# Benefits
* Users get an easy, discoverable way to open the build panel on demand.
* Documentation is clearer and avoids contradictory information about defaults.
* Settings behavior is more consistent between code and defaults, reducing confusion for both users and contributors.1 parent 2e21431 commit 522401f
File tree
3 files changed
+16
-8
lines changed- latextools
3 files changed
+16
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
88 | 93 | | |
89 | 94 | | |
90 | 95 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
466 | 466 | | |
467 | 467 | | |
468 | 468 | | |
469 | | - | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
470 | 472 | | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
476 | 479 | | |
477 | | - | |
| 480 | + | |
478 | 481 | | |
479 | 482 | | |
480 | 483 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
431 | 431 | | |
432 | 432 | | |
433 | 433 | | |
434 | | - | |
| 434 | + | |
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
| |||
0 commit comments