chore: Small tidying
This commit is contained in:
parent
6537bc6153
commit
9438d8052f
5 changed files with 16 additions and 4 deletions
|
@ -18,6 +18,9 @@ Changelog structure reference:
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
### Changed
|
||||
- Updated the LSP backend, it should be more resilient now
|
||||
|
||||
### Added
|
||||
|
||||
#### Zon
|
||||
|
|
|
@ -7,6 +7,8 @@ Yet another attempt at bringing zig to the IntelliJ world.
|
|||
Go to `Settings` -> `Languages & Frameworks` -> `Zig` -> `ZLS path` -> select your `zls` executable
|
||||
|
||||
## Feature tracker:
|
||||
|
||||
### .zig files:
|
||||
- Working:
|
||||
- Code completion
|
||||
- Code folding
|
||||
|
@ -19,6 +21,13 @@ Go to `Settings` -> `Languages & Frameworks` -> `Zig` -> `ZLS path` -> select yo
|
|||
- Go to implementations / find usages
|
||||
- Workspace Symbols
|
||||
|
||||
### .zon files:
|
||||
- Syntax highlighting
|
||||
- Formatting and indentation
|
||||
- Code completion
|
||||
- Brace folding
|
||||
- Automatic brace and quote pairing
|
||||
|
||||
## The motivation
|
||||
The other existing Zig language plugins for IntelliJ rely a lot on the PSI tree.
|
||||
This seems correct in theory, until
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.falsepattern.zigbrains.zon.braces;
|
||||
package com.falsepattern.zigbrains.zon.pairing;
|
||||
|
||||
import com.falsepattern.zigbrains.zon.psi.ZonTypes;
|
||||
import com.intellij.lang.BracePair;
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.falsepattern.zigbrains.zon.braces;
|
||||
package com.falsepattern.zigbrains.zon.pairing;
|
||||
|
||||
import com.falsepattern.zigbrains.zon.psi.ZonTypes;
|
||||
import com.intellij.codeInsight.editorActions.MultiCharQuoteHandler;
|
|
@ -92,7 +92,7 @@
|
|||
<colorSettingsPage implementation="com.falsepattern.zigbrains.zon.highlight.ZonColorSettingsPage"/>
|
||||
|
||||
<lang.braceMatcher language="Zon"
|
||||
implementationClass="com.falsepattern.zigbrains.zon.braces.ZonBraceMatcher"/>
|
||||
implementationClass="com.falsepattern.zigbrains.zon.pairing.ZonBraceMatcher"/>
|
||||
|
||||
<completion.contributor language="Zon"
|
||||
implementationClass="com.falsepattern.zigbrains.zon.completion.ZonCompletionContributor"/>
|
||||
|
@ -101,7 +101,7 @@
|
|||
implementationClass="com.falsepattern.zigbrains.zon.formatter.ZonFormattingModelBuilder"/>
|
||||
|
||||
<lang.quoteHandler language="Zon"
|
||||
implementationClass="com.falsepattern.zigbrains.zon.braces.ZonQuoteHandler"/>
|
||||
implementationClass="com.falsepattern.zigbrains.zon.pairing.ZonQuoteHandler"/>
|
||||
|
||||
<lang.foldingBuilder language="Zon"
|
||||
implementationClass="com.falsepattern.zigbrains.zon.folding.ZonFoldingBuilder"/>
|
||||
|
|
Loading…
Add table
Reference in a new issue