Home
IDEs Support (IntelliJ Platform) | JetBrains
Contact Support
Community
Sign in
Ralph
Total activity
53
Last activity
February 09, 2022 18:31
Member since
January 12, 2021 15:38
Following
0 users
Followed by
0 users
Votes
0
Subscriptions
12
Activity overview
Posts (12)
Comments (29)
Sort by recent activity
Recent activity
Votes
Created
December 14, 2021 18:47
Never mind. After discussing on Slack, I'll move some of my rules, including the settings check, from the lexer to the parser.
Community
IntelliJ IDEA Open API and Plugin Development
Custom language plugin: How to use more than one lexer (at different times)?
0 votes
Created
December 14, 2021 16:33
No, I cannot pass null into CodeStyleSettings.getInstance. So where do I get the project from in the lexer? Should I use static attributes in CodeStyleSettings?
Community
IntelliJ IDEA Open API and Plugin Development
Custom language plugin: How to use more than one lexer (at different times)?
0 votes
Created
December 14, 2021 16:15
On second thought, I think I can get away with just one lexer, but then use two different states, and check the CodeStyleSettings in the action, e.g., { if (CodeStyleSettings.getInstance(prj).STYLE...
Community
IntelliJ IDEA Open API and Plugin Development
Custom language plugin: How to use more than one lexer (at different times)?
0 votes
Created
December 10, 2021 11:34
Yes, I do have to use different FoldingGroups ...
Community
IntelliJ IDEA Open API and Plugin Development
Custom Language Plugin: Folding one range folds all ranges
0 votes
Created
December 08, 2021 16:24
Sorry, here is my code: @Overridepublic FoldingDescriptor @NotNull [] buildFoldRegions(@NotNull PsiElement root, @NotNull Document document, boolean quick) { FoldingGroup group = FoldingGroup.ne...
Community
IntelliJ IDEA Open API and Plugin Development
Custom Language Plugin: Folding one range folds all ranges
0 votes
Created
December 06, 2021 19:40
I did it, but it is not pretty as the other definitions: public MySyntaxHighlighter() { TextAttributes myAttr = new TextAttributes(); myAttr.copyFrom(DefaultLanguageHighlighterColors.KEYWORD....
Community
IntelliJ IDEA Open API and Plugin Development
Create new TextAttributesKey by inheriting from existing one
0 votes
Created
December 06, 2021 19:06
There's a createTempTextAttributesKey but that doesn't work for the Syntax Highlighter.
Community
IntelliJ IDEA Open API and Plugin Development
Create new TextAttributesKey by inheriting from existing one
0 votes
Created
December 06, 2021 18:46
I must admit I don't really understand that concept. Is this also the reason why createTextAttributesKey with externalName and defaultAttributes is deprecated in favor of using externalName and fa...
Community
IntelliJ IDEA Open API and Plugin Development
Create new TextAttributesKey by inheriting from existing one
0 votes
Created
December 06, 2021 18:15
Thanks for your suggestion. While I cannot vouch for the accuracy of my observation, it seems that References started to work as soon as my Icon path was fixed.
Community
IntelliJ IDEA Open API and Plugin Development
Custom Language Plugin Tutorial, Step 6: virtualFiles collection is empty
0 votes
Created
January 12, 2021 16:18
Ah, right, thanks! I remember marking them many years ago, but totally forgot about the color.
Community
PyCharm
What do the background colors in Project view mean?
0 votes
«
First
‹
Previous