Step 1. Install KCL on your system. Please check that kcl
and kcl-language-server
are installed and have been added to Path
which kcl
which kcl-language-server
Step 2. Install the KCL extension for Visual Studio Code. This extension requires the VS Code 1.50+
Step 3. Open or create a KCL file and begin your KCL tour!
This extension provides some coding assistance, including the following features:
.
) completion.
Other useful features such as refactoring and testing are in development.
We recommend that you use the latest version of KCLVM, but the minimum required version for this extension is 0.4.6. If you are using an earlier version, the extension may not work properly.
schema.attr
, pkg.schema
and str.methods
). Full semantic completion is in development.If the extension isn't working as you expect, please contact us with community for help
We are working actively on improving the KCL development on VS Code. All kinds of contributions are welcomed. You can refer to our contribution guide. It introduces how to build and run the extension locally, and describes the process of sending a contribution.
Apache License Version 2.0