LSP Example for multiple languages support.
This extension contributes a new mongodb
language. The new language:
- Works with the
.mongodb
file extension. - Has MongoDB syntax highlighting.
- Completes
mongodbMethod
to illustrate IntelliSense for MongoDB API. - Provides help signatures for the
mongodbMethod
.
The extension also embeds the javascript
language to support its language features such as syntax highlighting and code completion. See VSCode Embedded Programming Languages for more info.
- Run
npm install
in this folder. This installs all necessary npm modules in both the client and server folder. - Open VS Code on this folder.
- Press
Cmd+Shift+B
to compile the client and server (check your shortcuts config). - Switch to the Debug viewlet.
- Select
Launch Client
from the drop down. - Open the
*.mongodb
file.