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:
|
Feature tracker:
|
||||||
- Working:
|
- Working:
|
||||||
- Code completion
|
- Code completion
|
||||||
|
- Code folding
|
||||||
- Syntax highlighting
|
- Syntax highlighting
|
||||||
- Go to definition
|
- Go to definition
|
||||||
- Rename symbol
|
- Rename symbol
|
||||||
|
|
|
@ -26,8 +26,11 @@ repositories {
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly(libs.annotations)
|
compileOnly(libs.annotations)
|
||||||
//TODO Switch back to upstream once https://github.com/ballerina-platform/lsp4intellij/pull/331 is merged.
|
//TODO Switch back to upstream once:
|
||||||
implementation("com.github.FalsePattern:lsp4intellij:41c9341dc9")
|
// - 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 {
|
intellij {
|
||||||
|
|
|
@ -45,6 +45,10 @@
|
||||||
<renamePsiElementProcessor implementation="org.wso2.lsp4intellij.contributors.rename.LSPRenameProcessor"
|
<renamePsiElementProcessor implementation="org.wso2.lsp4intellij.contributors.rename.LSPRenameProcessor"
|
||||||
id="LSPRenameProcessor" order="first"/>
|
id="LSPRenameProcessor" order="first"/>
|
||||||
|
|
||||||
|
<!-- needed for folding support -->
|
||||||
|
<lang.foldingBuilder language="Zig"
|
||||||
|
implementationClass="org.wso2.lsp4intellij.contributors.LSPFoldingRangeProvider" id="LSPFoldingRangeProvider" order="first" />
|
||||||
|
|
||||||
<!-- endregion LSP4IntelliJ -->
|
<!-- endregion LSP4IntelliJ -->
|
||||||
|
|
||||||
<fileType name="Zig File"
|
<fileType name="Zig File"
|
||||||
|
|
Loading…
Add table
Reference in a new issue