fix: LSP id collision

This commit is contained in:
FalsePattern 2024-03-15 13:53:39 +01:00
parent 6cb8ebebb7
commit b8aa355392
Signed by: falsepattern
GPG key ID: E930CDEC50C50E23
2 changed files with 10 additions and 7 deletions

View file

@ -25,6 +25,9 @@ Changelog structure reference:
### Fixed ### Fixed
- LSP
- The registry IDs of some of the LSP handlers were colliding with the Rust intellij plugin
- Zig - Zig
- Indent support for function parameters and struct initializers - Indent support for function parameters and struct initializers

View file

@ -38,29 +38,29 @@
language="any"/> language="any"/>
<!-- needed for completion as well as signature help --> <!-- needed for completion as well as signature help -->
<typedHandler implementation="com.falsepattern.zigbrains.lsp.listeners.LSPTypedHandler" <typedHandler implementation="com.falsepattern.zigbrains.lsp.listeners.LSPTypedHandler"
id="LSPTypedHandler"/> id="ZBLSPTypedHandler"/>
<!-- needed for code diagnostics --> <!-- needed for code diagnostics -->
<externalAnnotator id="LSPAnnotator" <externalAnnotator id="ZBLSPAnnotator"
language="Zig" language="Zig"
implementationClass="com.falsepattern.zigbrains.lsp.contributors.annotator.LSPAnnotator"/> implementationClass="com.falsepattern.zigbrains.lsp.contributors.annotator.LSPAnnotator"/>
<!-- needed for Workspace Symbols --> <!-- needed for Workspace Symbols -->
<gotoSymbolContributor implementation="com.falsepattern.zigbrains.lsp.contributors.symbol.LSPSymbolContributor" <gotoSymbolContributor implementation="com.falsepattern.zigbrains.lsp.contributors.symbol.LSPSymbolContributor"
id="LSPSymbolContributor"/> id="ZBLSPSymbolContributor"/>
<!-- needed for renaming --> <!-- needed for renaming -->
<renameHandler implementation="com.falsepattern.zigbrains.lsp.contributors.rename.LSPRenameHandler" <renameHandler implementation="com.falsepattern.zigbrains.lsp.contributors.rename.LSPRenameHandler"
id="LSPRenameHandler" id="ZBLSPRenameHandler"
order="first"/> order="first"/>
<renamePsiElementProcessor implementation="com.falsepattern.zigbrains.lsp.contributors.rename.LSPRenameProcessor" <renamePsiElementProcessor implementation="com.falsepattern.zigbrains.lsp.contributors.rename.LSPRenameProcessor"
id="LSPRenameProcessor" id="ZBLSPRenameProcessor"
order="first"/> order="first"/>
<!-- needed for folding support --> <!-- needed for folding support -->
<lang.foldingBuilder language="Zig" <lang.foldingBuilder language="Zig"
implementationClass="com.falsepattern.zigbrains.zig.ide.ZigFoldingRangeProvider" implementationClass="com.falsepattern.zigbrains.zig.ide.ZigFoldingRangeProvider"
id="LSPFoldingRangeProvider" id="ZBLSPFoldingRangeProvider"
order="first"/> order="first"/>
<!-- needed for documentation --> <!-- needed for documentation -->
@ -126,7 +126,7 @@
<!-- needed for find references --> <!-- needed for find references -->
<action class="com.falsepattern.zigbrains.lsp.actions.LSPReferencesAction" <action class="com.falsepattern.zigbrains.lsp.actions.LSPReferencesAction"
id="LSPFindUsages"> id="ZBLSPFindUsages">
<keyboard-shortcut first-keystroke="shift alt F7" <keyboard-shortcut first-keystroke="shift alt F7"
keymap="$default"/> keymap="$default"/>
</action> </action>