Skip to content

okafke/poryscript-idea

Repository files navigation

Poryscript-IDEA

Poryscript plugin for Jetbrains IDEs.

logo

Build GitHub Version Downloads

This plugin adds Poryscript support to Jetbrains IDEs like IntelliJ or CLion. It provides syntax highlighting via a TextMate bundle and runs the Poryscript language server with the LSP4IJ plugin.

This plugin is essentially a port of SBird1337's VS code extension.

code

Configuration

Poryscript-IDEA downloads the poryscript-pls language server binary for your platform from GitHub and runs it via the LSP4IJ plugin. You can configure the Language Server using the LSP4IJ tool window at the bottom of your IDE. Here you can e.g. trace the logs or trigger a reinstall of the language server.

lsp4ij

Configuring the Language Server is done on a project level. The settings for Poryscript-IDEA can be found here: Settings > Languages & Frameworks > Poryscript. Here you can e.g. set a custom server binary or the command and symbol includes.

settings

Installation

  • Using the IDE built-in plugin system:

    Settings > Plugins > Marketplace > Search for " Poryscript-IDEA" > Install

  • Using JetBrains Marketplace:

    Go to JetBrains Marketplace and install it by clicking the Install to ... button in case your IDE is running.

    You can also download the latest release from JetBrains Marketplace and install it manually using
    Settings > Plugins > ⚙️ > Install plugin from disk...

  • Manually:

    Download the latest release and install it manually using
    Settings > Plugins > ⚙️ > Install plugin from disk...


Plugin based on the IntelliJ Platform Plugin Template.