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
- LSP
- The registry IDs of some of the LSP handlers were colliding with the Rust intellij plugin
- Zig
- Indent support for function parameters and struct initializers

View file

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