amyXia1994 / intellij-kcl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KCL Plugin for IntelliJ IDEA

The KCL IntelliJ IDEA plugin provides rich language support for the KCL language.

Quick Start

Welcome to KCL developing! We hope this plugin enhances your development experience with KCL.

  • Step 1. Install kcl on your system. We highly recommend to install the Kusion tools package which contains the KCL language support and other tools.
  • Step 2. Install the KCL plugin for IntelliJ IDEA. Download the distribution from here and in IntelliJ IDEA, click Preference -> plugins -> install Plugin from Disk... -> select kcl-idea-plugin zip -> restart IDE. This plugin requires the IntelliJ IDEA 2020.2+
  • Step 3. Open or create a KCL file and begin your KCL tour!
IntelliJ KCL Plugin install

Features

This extension provides coding assistance such as basic syntax highlight, IntelliSense such as auto complete, and some basic code navigation. Other useful features such as diagnostics and testing are in developing.

Highlight

highlight

Code Formatting

Right click on the editor and select KCL Tools -> Format File to format current KCL file:

format file

Right click on the target directory in the project structure panel, select KCL Tools -> Format Directory to format all files under the selected folder:

format directory

Right click on the project name in the project structure panel, select KCL Tools -> Format Project to format all files in the project:

format project

Ask for help

If the plugin isn't working as you expect, please reach out to us by filing an issue.

Contributing

We are working actively on improving the KCL development on IntelliJ IDEA, and we welcome all kinds of contributions. You can refer to our contribution guide. It introduces how to build and run the extension locally.

License

Apache License Version 2.0

About


Languages

Language:Java 89.8%Language:Lex 10.1%Language:Makefile 0.1%