Coder Social home page Coder Social logo

vscode-kcl's Introduction

KCL Extension for Visual Studio Code

Quick Start

  • 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!

Features

This extension provides some coding assistance, including the following features:

  • Syntax Highlight: Highlight FOSSA Status
  • Goto Definition: Goto definition of schema, variable, schema attribute, and import pkg. Goto Definition
  • Completion: Keywords completions and dot(.) completion. Completion
  • Outline: Main definition(schema def) and variables in KCL file Outline
  • Hover: Identifier information (type and schema documentation) Hover
  • Diagnostics: Warnings and errors in KCL file. Diagnostics

Other useful features such as refactoring and testing are in development.

Dependencies

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.

Known Issues

  • Hover and GotoDefintion: The current hover and goto definitions are similar to global search, and there may be multiple results for some Identifiers with the same name.
  • Completion: Currently, we only support keyword completion and dot-triggered completion (e.g., schema.attr, pkg.schema and str.methods ). Full semantic completion is in development.

Ask for help

If the extension isn't working as you expect, please contact us with community for help

Contributing

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.

License

Apache License Version 2.0

FOSSA Status

vscode-kcl's People

Contributors

amyxia1994 avatar he1pa avatar peefy avatar chai2010 avatar d4v1d03 avatar gmin2 avatar shruti2522 avatar fossabot avatar ldxdl avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.