From 62a9f3773b461579adfacf8d616355ac4a0e8bb9 Mon Sep 17 00:00:00 2001 From: He1pa <56333845+He1pa@users.noreply.github.com> Date: Tue, 30 Apr 2024 15:40:06 +0800 Subject: [PATCH] =?UTF-8?q?doc:=20update=20readme.=E2=80=A6=20(#31)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit doc: update readme. 1.update kcl website link 2. temporarily remove description about invalid format feature 3. install the plugin from marketplace Signed-off-by: he1pa <18012015693@163.com> --- README.md | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 4d110e9..c007f6b 100644 --- a/README.md +++ b/README.md @@ -1,56 +1,56 @@ # KCL Plugin for IntelliJ IDEA -[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fkcl-lang%2Fintellij-kcl.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fkcl-lang%2Fintellij-kcl?ref=badge_shield) +The KCL IntelliJ IDEA plugin provides rich language support for the [KCL language](https://kcl-lang.io/). -The KCL IntelliJ IDEA plugin provides rich language support for the [KCL programming language](https://kcl-lang.io/). +In addition, we also have a plugin implemented based on the LSP(Language Server Protocol), which can be found [here](https://github.com/kcl-lang/intellij-kcl-lsp) ## Quick Start Welcome to KCL developing! We hope this plugin enhances your development experience with KCL. -- **Step 1.** Install [KCL](https://kcl-lang.io/docs/user_docs/getting-started/install) on your system. -- **Step 2.** Install the KCL extension for IntelliJ IDEA. Download the distribution from [here](distributions) 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
+- **Step 1.** [Install KCL](https://kcl-lang.io/docs/user_docs/getting-started/install) on your system. -## Features +- **Step 2.** Install the KCL plugin for IntelliJ IDEA in Marketplace. Preference -> plugins -> Marketplace -> search `KCL` -> install -> restart IDE. This plugin requires the IntelliJ IDEA Ultimate 2023.2+ - +- **Step 3.** Open or create a KCL file and begin your KCL tour! -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 development. +## 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 +### Completion + +This extension provides baisc keywords completion -Right-click on the editor and select KCL Tools -> Format File to format the current KCL file: + -
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](docs/CONTRIBUTING.md). It introduces how to build and run the extension locally. + ## License Apache License Version 2.0 - - -[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fkcl-lang%2Fintellij-kcl.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fkcl-lang%2Fintellij-kcl?ref=badge_large) \ No newline at end of file