winzik/docs/ide/settings.md
David Nurdin 7de153fc14 IDE documentation: one page per feature (docs/ide/, French in docs/ide/fr/) and a Doc browser inside the IDE
- docs/ide/: 49 user pages grouped in toc.json (editing, languages, run / test / debug, Git, web sites and Symfony, databases,
  Docker and SSH, games, AI, team, settings); pages of features still being built are "coming soon" stubs with a TODO list;
  15 pages translated into French; docs/ide.md and docs/ide.fr.md link to them.
- The Doc button at the top right of the IDE, Help > Documentation, Search Everywhere "Documentation" and a "?" in each tool
  window's header open the Doc browser (ide/ui/js/docs-browser.js): table of contents, rendered pages (pictures, code, tables,
  links between pages and to headings), full-text search, back / forward, the IDE's language with English as the fallback.
- ide/src/Docs/DocsLibrary.php (docs.index, docs.image): reads only the documentation folder (strict names, real path checked);
  the packaged copy ui/docs first, else the repository's docs/ide.
- Packaging: tools/stage-game.sh copies docs/ide into the exported IDE (its *.md exclusion would drop them), overlay-build.php
  puts them in code updates, bin/jumphp ide syncs them.
- Tests: docs-model.test.mjs (TOC, links, anchors, pictures, search; every page and picture of docs/ide exists), DocsLibraryTest
  (path traversal refused), the i18n test covers the new texts in 14 languages.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JkYTqsvYu6AYr9yQ3Q4Nt6
2026-11-16 00:08:42 +01:00

31 lines
1.3 KiB
Markdown

# Settings
**Settings…** (`Ctrl+Alt+S`, the gear of the tool bar):
| Setting | |
|---|---|
| Theme | Dark or Light (also **Toggle Light / Dark Theme**) |
| Language | the IDE's texts, the news and this documentation (14 languages) |
| Editor font size | the default size of the code |
| Show the minimap | Monaco's minimap |
| Save files automatically | save as you type |
| Open files in a preview tab on single click | |
| Always select the opened file in the Project view | |
| Diffs side by side | or inline |
| Restore the windows when the IDE reloads | tools, tabs, Claude, Terminal |
| Notifications | the recent ones |
**Keyboard Shortcuts** lists every shortcut.
## Text size and zoom
- `Ctrl` + wheel (or a pinch) over a panel: that panel only. The editor: 8 to 40 px; the Terminal: its font; other windows: 50 to
300 %. A double click on the small badge resets it.
- `Ctrl+=` / `Ctrl+-` / `Ctrl+0`: the focused panel. View > **Reset All Zoom**.
- `Ctrl+Shift` + wheel: the whole IDE (50 to 250 %).
## Where settings are kept
The IDE's own: your user's data folder (`~/.local/share/ide` on Linux). A project's: `.jumphp/` (`ide.json`, `run.json`,
`scripts.json`, `databases.json`, `board.json`), most of them out of git. Secrets (database passwords, AI keys, SSH servers) stay on
this computer, never in a project.