A VS Code extension uses package.json as its manifest: it tells VS Code how to load, identify, and expose the extension. Its activationEvents setting controls when startup occurs, avoiding unnecessary loading until a relevant action happens. section 10.3
A practical extension manifest can define:
- Startup behavior through activationEvents, such as an inline-suggestion command. section 10.3
Inline suggestion extension
An extension can activate on editor.action.inlineSuggest.trigger and bind that command to Alt+s, giving users deliberate control over requests to an LLM service.




