Heavily documented sample code for https://code.visualstudio.com/api/language-extensions/language-server-extension-guide
This Language Server works for chapel file. It has the following language features:
Work in progress
It also includes an End-to-End test.
.
├── client // Language Client
│ ├── src
│ │ ├── test // End to End tests for Language Client / Server
│ │ └── extension.ts // Language Client entry point
├── package.json // The extension manifest.
└── server // Language Server
└── src
└── server.ts // Language Server entry point
npm install
in this folder. This installs all necessary npm modules in both the client and server folderLaunch Client
from the drop down.Attach to Server
j
or t
to see Javascript
and TypeScript
completion.AAA aaa BBB
. The extension will emit diagnostics for all words in all-uppercase.