Gneol Intellisense
VS Code extension with a Language Server providing:
- Dot-triggered completions for
.gneol directives (e.g. type program. → see .model(), .use(), ...)
- Auto-closing brackets with cursor inside
- Hover docs for directives
- Basic syntax highlighting
Installation
From the VS Code Marketplace
- Open the Extensions view (Ctrl+Shift+X).
- Search for Gneol Intellisense.
- Click Install.
From a VSIX file
- Download or build the
.vsix file.
- Open the Extensions view (Ctrl+Shift+X).
- Click the ⋯ (More Actions) menu → Install from VSIX....
- Select the
.vsix file.
Usage
Gneol Intellisense activates automatically when you open or create a .gneol file. No extra setup is needed.
Dot-triggered completions — type . after any supported directive to see its available sub-functions.
program("Demo")
. // suggests .model(), .use(), .env(), .context()
at("every:10min")
. // suggests .max(), .do(), .if(), .sentinel(), etc.
When you select a sub-function, the extension inserts the full call with brackets and places your cursor inside the argument — ready to type.
Nested completions — after a two-part chain, suggestions know their context:
program("Demo")
.context("Docs")
. // suggests .text() and .resource()
Hover help — hover over any supported directive to see its syntax, description, and all valid sub-functions.
Supported Syntax
| Directive |
Chainable sub-functions |
program("Title") |
.model, .use, .env, .context |
model("tag") |
.provider, .modelId, .apiKey, .temperature, .maxTokens, .rateLimit |
sentinel("name") |
.model, .id, .description |
subagent("name") |
.model, .id, .description |
summarization() |
.model, .prompt |
import("path") |
— |
at("timeExpression") |
.max, .do, .resource, .if, .ifExec, .sentinel, .modify |
on("eventName") |
.maxSize, .delay, .do, .resource, .if, .sentinel, .modify, .max |
tool("name") |
.script, .description |
mcp("name") |
.config, .token |
Requirements
- Visual Studio Code 1.85.0 or newer.
Release Notes
0.1.0
- Initial release.
- Dot-triggered completions with auto-closing brackets.
- Context-aware nested suggestions (e.g.
.context("X").text()/.resource()).
- Hover documentation for all directives.
- Syntax highlighting for
.gneol files.
| |