LSP Example for multiple languages support.
This extension contributes a new mongodb language. The new language:
- Works with the
.mongodbfile extension. - Has MongoDB syntax highlighting.
- Completes
mongodbMethodto 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 installin this folder. This installs all necessary npm modules in both the client and server folder. - Open VS Code on this folder.
- Press
Cmd+Shift+Bto compile the client and server (check your shortcuts config). - Switch to the Debug viewlet.
- Select
Launch Clientfrom the drop down. - Open the
*.mongodbfile.
