Skip to content

JetBrains IDEs Plugin #3304

Open
Open

Description

@Ezard

Clear and concise description of the problem

Currently, there are plugins available for VSCode and Visual Studio, but it'd be great if there was an official plugin for the JetBrains suite of IDEs

JetBrains IDEs support Microsoft's LSP, so hopefully an official plugin would require minimal work on Microsoft's part

Checklist

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Activity

  1. added
    ide
    on May 13, 2024
  2. RodgeFu commented on May 29, 2024

    @RodgeFu
    Member

    Thanks for submitting the request. Further investigation needed in this area.

  3. connorjs commented on Jun 24, 2024

    @connorjs
    Contributor

    Current workaround: Use TextMate bundle (example: IntelliJ’s documentation).

    1. Download TypeSpec grammar: https://github.com/microsoft/typespec/blob/main/grammars/typespec.json
    2. Create directory named typespec where you want to store the TextMate bundle
    3. Move typespec.json into the directory named typespec
    4. Rename typespec.json to typespec.tmLanguage
    5. Open JetBrains IDE preferences, go to Text Mate
    6. Click add (+) and select the typespec directory created in (2)

    JetBrains IDE will now syntax highlight and given basic token autocomplete. A proper plugin would still provide more value and better auto-complete, but I do not know the effort to do that.


    Edit: Alternative way to get typespec.tmLanguage. This replaces steps (1), (2), and (4).

    The typespec.tmLanguage of your version of typespec exists in the @typespec/compiler package in your node_modules (at least at time of writing).

    cp ./node_modules/@typespec/compiler/dist/typespec.tmLanguage /path/to/typespec/textmate/dir
  4. Recxsmacx commented on Sep 30, 2024

    @Recxsmacx

    /assign

  5. connorjs commented on Apr 15, 2025

    @connorjs
    Contributor

    The OP mentioned the following.

    JetBrains IDEs support Microsoft's LSP, so hopefully an official plugin would require minimal work on Microsoft's part

    Does TypeSpec have interest in officially maintaining a JetBrains plugin? Asking following the recent 1.0 rc (yay!).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featuregood first issueidetriaged:core

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions