Motoko language support.
- Syntax highlighting (currently based on the Swift® grammar definitions)
- Integration with the Motoko language service
Install through the Marketplace. The extension is published by the
DFINITY Foundation publisher as
This extension contributes the following commands:
motoko.startService Starts/Restarts the language service. This is automatically triggered when opening a Motoko project.
This extension contributes the following settings:
motoko.dfx: The location of the
motoko.canister: By default we'll let you choose what canister defined in your project you want to use, use this setting to change that to a specific one
motoko.standaloneArguments: Additional arguments to pass to the language service when running in a non-dfx project
motoko.standaloneBinary: The location of the
mo-ide binary (when running in a non-dfx project)
When hacking on the extension you can package your local version by running:
npm run package
This should leave you with a
vscode-motoko-x.x.x.vsix file in the project root.
code --install-extension vscode-motoko-x.x.x.vsix to install your development version. If this doesn't work, you can also use the VSCode UI to install from a local
Copyright 2020 DFINITY Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.