implement code folding
This commit is contained in:
parent
df2f732db9
commit
30552c9000
3 changed files with 10 additions and 2 deletions
|
@ -13,6 +13,7 @@ That's it. (for now)
|
|||
Feature tracker:
|
||||
- Working:
|
||||
- Code completion
|
||||
- Code folding
|
||||
- Syntax highlighting
|
||||
- Go to definition
|
||||
- Rename symbol
|
||||
|
|
|
@ -26,8 +26,11 @@ repositories {
|
|||
|
||||
dependencies {
|
||||
compileOnly(libs.annotations)
|
||||
//TODO Switch back to upstream once https://github.com/ballerina-platform/lsp4intellij/pull/331 is merged.
|
||||
implementation("com.github.FalsePattern:lsp4intellij:41c9341dc9")
|
||||
//TODO Switch back to upstream once:
|
||||
// - https://github.com/ballerina-platform/lsp4intellij/pull/327 (with the extra fixes)
|
||||
// - https://github.com/ballerina-platform/lsp4intellij/pull/331
|
||||
// Are merged.
|
||||
implementation("com.github.FalsePattern:lsp4intellij:f385bbb726")
|
||||
}
|
||||
|
||||
intellij {
|
||||
|
|
|
@ -45,6 +45,10 @@
|
|||
<renamePsiElementProcessor implementation="org.wso2.lsp4intellij.contributors.rename.LSPRenameProcessor"
|
||||
id="LSPRenameProcessor" order="first"/>
|
||||
|
||||
<!-- needed for folding support -->
|
||||
<lang.foldingBuilder language="Zig"
|
||||
implementationClass="org.wso2.lsp4intellij.contributors.LSPFoldingRangeProvider" id="LSPFoldingRangeProvider" order="first" />
|
||||
|
||||
<!-- endregion LSP4IntelliJ -->
|
||||
|
||||
<fileType name="Zig File"
|
||||
|
|
Loading…
Add table
Reference in a new issue