intellij-syntax-highlighting icon indicating copy to clipboard operation
intellij-syntax-highlighting copied to clipboard

intellij plugin for the lark grammar

Results 9 intellij-syntax-highlighting issues
Sort by recently updated
recently updated
newest added

As the title says, I have a question: is the project maintained and going to be supported? Latest commit was >3 years ago (Feb 1, 2020), but it's still on...

Lark templates currently show up as syntax errors: ![image](https://user-images.githubusercontent.com/59632/149808644-789aab1c-cc24-4ecf-9a54-c246075fa728.png) e.g. ```lark sep{item, delim}: item (delim item)* ```

`Ctrl+/` shortcut to comment/uncomment code does not work when editing .lark files. Nothing happens when the shortcut is pressed.

Given this grammar: ``` start : a start | a_multi a.-1 : "a" a_multi : /a+/ ``` The plugin indicates a syntax error at `-` in the second line: >...

Use this issue to mention all parts where syntax-highlighting is wrong/not as wished/missing in the options menu.

enhancement
help wanted

the ``%override`` syntax doesn't seem to be supported

Hi! I have a Lark file which has terminals like this: `DAY_OF_MONTH : DIGIT ~ 2`, i.e. ["Exactly n instances of item"](https://lark-parser.readthedocs.io/en/latest/grammar.html). Upon running inspections, I get a wavy underline...

As the title states. Note that this PR is _not_ ready yet and may take between a few days and a few months to complete, as I'm not too experienced...

com.intellij.diagnostic.PluginException: At least one pattern should be specified [Plugin: com.lark.syntax] at com.intellij.psi.PsiReferenceProviderBean.createElementPattern(PsiReferenceProviderBean.java:75) at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.createRegistrar(ReferenceProvidersRegistryImpl.java:69) at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708) at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.getRegistrar(ReferenceProvidersRegistryImpl.java:101) at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.doGetReferencesFromProviders(ReferenceProvidersRegistryImpl.java:122) at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.lambda$getReferencesFromProviders$0(ReferenceProvidersRegistry.java:44) at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:173) at com.intellij.psi.impl.AbstractPsiCachedValue.doCompute(PsiCachedValueImpl.kt:21) at com.intellij.util.CachedValueBase.lambda$getValueWithLock$3(CachedValueBase.java:299) at com.intellij.util.CachedValueBase.computeData(CachedValueBase.java:37)...