1.4 KiB
1.4 KiB
Documentation
Welcome to Whetstone. This panel provides a compact reference to the editor, annotations, agent APIs, and language support.
Getting Started
- Open a folder from File > Open or Project > Open.
- Use the left File Tree to browse files.
- Toggle Text/Structured mode with the Mode switch in the toolbar.
- Run or build from the Build tab (or toolbar buttons).
Annotation Reference
Whetstone uses canonical memory annotations:
@Reclaim(Tracing|Escape|Cycle)@Owner(Single|Shared_ARC)@Lifetime(RAII)@Deallocate(Explicit)@Allocate(Static|Register|Allocator)
Annotations can be added from the gutter or context menu. Conflicts are highlighted in the Problems panel with quick fixes.
Keyboard Shortcuts
Shortcuts are configurable. See Settings > Keybindings. Default profile:
Ctrl+PCommand paletteCtrl+FFind/ReplaceCtrl+SSaveCtrl+ZUndo,Ctrl+YRedo
Language Support
Supported languages (parsing + generation):
- Python, C++, Elisp, JavaScript, TypeScript, Java, Rust, Go
Agent API (JSON-RPC)
Core RPC methods:
getASTapplyMutationgenerateCodegetAnnotationSuggestionsapplyAnnotationSuggestionstartWorkflowRecording,stopWorkflowRecording,replayWorkflow
Troubleshooting
- If an AST is unavailable, switch to Structured mode.
- If LSP is offline, completions still work from indexed stubs.
- If Emacs integration fails, check the Output panel for Emacs logs.