winzik/docs/ide/claude.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

2.3 KiB

Claude and OpenCode

The Claude window (Alt+8, right) talks to the Claude Code of your computer (claude, your own login), or to OpenCode (the assistant selector), working in the project's folder.

Claude, followed in the IDE

Talk

Its answers, the files it reads and edits (click to open them), the commands it runs, as they come. The conversation goes on; Ask Claude about the Selection is in the editor's menu. The Context / 5 h / Week gauges follow live; a context 80 % full is compacted by itself.

What it may do

The mode (a selector; Shift+Tab in the box): auto, edit files, plan only, ask, full auto, and Step by step. When it asks for a permission, allow it once, for 5 / 15 minutes, 1 hour, the session or always.

Step by step: Claude asks before every edit and nothing is written until you answer. The file opens at the change (removed lines red, added lines green, a tick per block), with Accept / Decline and a message; an accepted step can be rolled back on its own later.

Follow

The eye (Follow, on by default) shows what Claude does as it does it: the file it reads at its lines, what an edit replaces and writes, its commands in Run, its searches in Find, its plan above the conversation. Nothing moves while you type.

Tabs and history

+ starts another conversation (each its own process). Right click a tab: open in a window, rename, copy as Markdown. Every conversation is kept in .jumphp/history/claude/ (out of git); History opens one again where it was. Each turn is also written to the project's IA/HISTORY/ (out of git).

The IDE's tools for Claude

The IDE gives the Claude it starts its own tools (an MCP server, jumphp-ide): open a file, highlight lines, show a diff or a tool window, run a configuration and read its result, play a scene, the problems, what you are looking at, ask you a question, the debugger, Composer, Docker, the board, Cryo… The banner Connect Claude to jumphp.net adds jumphp.net's tools (your projects, publishing, tests online).

OpenCode and local models

With OpenCode each message is an opencode run (a model of opencode models, local ones too: Ollama, LM Studio). It edits files directly (no "ask first"): review its changes with Git. Tools > OpenCode opens its own interface in the Terminal.