get_completions
Generate code completion suggestions at a specific position in a document, supporting multiple languages and project contexts for enhanced editing efficiency.
Instructions
Get completion suggestions for a position in a document
Input Schema
Name | Required | Description | Default |
---|---|---|---|
character | Yes | Zero-based character offset for completion position | |
content | Yes | The current content of the file | |
filePath | Yes | Absolute or relative path to the source file | |
languageId | Yes | The language identifier (e.g., "typescript", "javascript") | |
line | Yes | Zero-based line number for completion position | |
projectRoot | Yes | Important: Root directory of the project for resolving imports and node_modules where the tsconfig.json or jsconfig.json is located |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from language-server-mcp
Related Tools
- @sammcj/mcp-package-docs
- @mario-andreschak/mcp-abap-abap-adt-api
- @mario-andreschak/mcp-abap-abap-adt-api
- @aindreyway/mcp-server-neurolora-p
- @mario-andreschak/mcp-abap-abap-adt-api