j
This commit is contained in:
parent
5b65c4c0e4
commit
985aa16236
13 changed files with 1381 additions and 241 deletions
|
|
@ -66,7 +66,7 @@ Use `Ctrl+W` to close the active buffer, or click a tab's `x`. Dirty buffers are
|
|||
|
||||
SDL mode creates an SDL3 `GPUDevice` and uses a direct SDL3 GPU command-buffer renderer when a GPU backend is available. It batches editor rectangles, selections, cursor lines, panels, and `stb_truetype` font-atlas text into GPU vertices. It falls back to the regular SDL renderer in unsupported environments such as `SDL_VIDEODRIVER=dummy` smoke tests.
|
||||
|
||||
The bundled Noto Sans Mono font is embedded into the client binary at build time, so the editor always has a working monospace font. Place a `client/odin/assets/fonts/EditorMono.ttf` file to override it.
|
||||
The bundled Noto Sans Mono font is embedded into the client binary at build time, so the editor always has a working monospace font. Set `NATIVE_EDITOR_FONT=/path/to/font.ttf`, set `fontPath` in `~/.config/native-kotlin-editor/settings.json`, or place a `client/odin/assets/fonts/EditorMono.ttf` file to override it. `NATIVE_EDITOR_FONT` has priority over the settings file.
|
||||
|
||||
The GPU editor path includes lightweight Kotlin/Java syntax highlighting for comments, block comments, strings, character literals, triple-quoted Kotlin strings, keywords, numbers, and type-like identifiers.
|
||||
|
||||
|
|
@ -76,7 +76,7 @@ Use `F8` and `Shift+F8` to move to the next/previous diagnostic in the active fi
|
|||
|
||||
Use `Ctrl+Shift+M` to toggle the diagnostics panel. Use Up/Down, PageUp/PageDown, Home/End, mouse wheel, Enter, or row clicks to navigate issues.
|
||||
|
||||
Use `Ctrl+Shift+P` to open the command palette. Type to filter commands, use Up/Down, PageUp/PageDown, Home/End, mouse wheel, Enter, or row clicks to run actions. The palette includes Reload Workspace, which refreshes the file tree, reopens the Gradle workspace, clears stale diagnostics, and resyncs the active file.
|
||||
Use `Ctrl+Shift+P` to open the command palette. Type to filter commands, use Up/Down, PageUp/PageDown, Home/End, mouse wheel, Enter, or row clicks to run actions. The palette includes New File and Reload Workspace. Reload Workspace refreshes the file tree, reopens the Gradle workspace, clears stale diagnostics, and resyncs the active file.
|
||||
|
||||
Gradle workspace import records module source roots, test source roots, resource roots, classpath entries, tasks, and common generated source directories when they already exist under `build/generated/`. Diagnostics also include existing module output directories from `build/classes/` and `build/resources/` on their compiler classpath.
|
||||
|
||||
|
|
@ -118,10 +118,10 @@ Press `Ctrl+Space` to open the completion popup. It sends `kotlin/completion` to
|
|||
|
||||
Press `Ctrl+H` to request hover information at the cursor. Hover describes language keywords and shows heuristic Kotlin/Java declaration lines/locations for identifiers when found in the current buffer or workspace.
|
||||
|
||||
Press `Ctrl+B` to go to definition. Definition currently uses a heuristic source scan for simple Kotlin/Java declarations and includes the current unsaved buffer.
|
||||
Press `Ctrl+B` to go to definition. Kotlin definition, hover, and references first try standalone Kotlin Analysis API symbol resolution, then fall back to the heuristic source index; Java navigation currently uses the heuristic source scan.
|
||||
|
||||
Use `Alt+Left` and `Alt+Right` to navigate backward and forward through definition jumps.
|
||||
|
||||
Press `Ctrl+R` to find references for the identifier at the cursor. References currently use a heuristic source scan and are shown in a popup; use Up/Down, PageUp/PageDown, Home/End, mouse wheel, Enter, or row clicks to jump to a result.
|
||||
|
||||
Press `Ctrl+Shift+R` to open the rename preview panel. Enter a new name and press Enter to request preview edits. Rename remains preview-only and does not modify files yet.
|
||||
Press `Ctrl+Shift+R` to open the rename panel. Enter a new name and press Enter to request preview edits; press Enter again to apply the preview. Open dirty buffers must be saved first; unopened files are verified against the preview before being written.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue