Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Kotlin Java C Language ServerNew to Visual Studio Code? Get it now.
Kotlin Java C Language Server

Kotlin Java C Language Server

VictorChen

|
3 installs
| (0) | Free
Kotlin/Java/C language server + VSCode extension
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

kotlin_java_language_server

VSCode extension + Language Server Protocol (LSP) server for Kotlin, Java, and C files.

Supported features

  • Kotlin (.kt, .kts), Java (.java), and C (.c, .h) documents
  • Kotlin syntax highlighting (TextMate grammar)
  • Document Symbol (@ in VSCode quick open): lists symbols for current file
  • Go to Definition (F12 / cmd-click): resolves symbols from open documents, then falls back to full-project scan when needed
  • Workspace Symbol (# in quick open): searches open documents first, then falls back to full-project scan when no match is found
  • Quick Symbol Search in Project (editor right-click menu): searches the workspace from the word under cursor and provides jump targets
  • Android ViewBinding mapping: ActivityDeviceInfoBinding automatically maps to res/layout*/activity_device_info.xml for direct jump

Current scope intentionally focuses on symbols that are already opened in VSCode.

Architecture

  • src/extension.ts: VSCode Language Client
  • src/server.ts: Node-based LSP server
  • src/symbols.ts: Kotlin / Java / C symbol parsing and cursor word extraction

This follows the standard VSCode Language Client + Language Server split architecture.

Install dependencies

npm install

Build

npm run compile

Run in VSCode (manual review)

  1. Open this repository in VSCode.
  2. Run npm run compile.
  3. Press F5 to launch an Extension Development Host.
  4. In the new window, open a Kotlin, Java, or C file.
  5. Verify:
    • Cmd+Shift+O (or quick open with @) shows symbols from current file.
    • F12 on a symbol jumps to its definition when the defining file is currently open.

Package and install in local VSCode

  1. Install VSCE:
    npm install -D @vscode/vsce
    
  2. Create VSIX:
    npx vsce package --allow-missing-repository
    
  3. Install VSIX:
    code --install-extension kotlin-java-language-server-0.1.0.vsix
    
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft