Alaanor / candid-intellij-plugin

A Candid language plugin that provide a complete support to efficiently edit .did files.

Home Page:https://plugins.jetbrains.com/plugin/19148-candid

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Version Downloads

IntelliJ Candid Language Plugin

A Candid language plugin that provide a complete support to efficiently edit .did files. Candid is an interface description language (IDL) for interacting with canisters (also known as services or actors) running on the Internet Computer.

Features supported so far:

  • πŸ’‘ Syntax Highlighting
  • ⌨️ Auto Completion
  • πŸ” Find Usage
  • πŸ’„ Code Format
  • πŸ¦€ Rust integration

πŸ¦€ Rust integration

For the sake of correctness, the plugin will only enable rust integration for a given candid file if the followings are found in dfx.json:

{
  "canisters": {
    "foobar-canister": {
      "type": "rust",
      "candid": "correct/path/to/candid-file.did",
      "package": "rust-package-name"
    }
  }
}

All three type, candid and package fields are required to enable rust integration. dfx.json is expected to be found at the root of the project. The type custom will not be supported because of the lack of explicit information that the plugin require to correctly resolve items.

Installation

  • Using IDE built-in plug system: Settings/Preferences > Plugins > Marketplace > Search for "Candid" > Install Plugin
  • Manually: Download the latest release and install it manually using Settings/Preferences > Plugins > βš™οΈ > Install plugin from disk...

About

A Candid language plugin that provide a complete support to efficiently edit .did files.

https://plugins.jetbrains.com/plugin/19148-candid

License:MIT License


Languages

Language:Kotlin 96.6%Language:Lex 3.0%Language:HTML 0.4%