主页
IDEs Support (IntelliJ Platform) | JetBrains
联系支持服务
社区
登录
Ralph
活动总数
53
最后的活动
2022年02月09日 18:31
成员加入日期
2021年01月12日 15:38
关注
0 名用户
关注者数
0 名用户
投票数
0
订阅数
12
活动概览
帖子(12)
评论(29)
按最近的活动排序
最近的活动
投票数
创建于
2021年12月14日 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.
社区
IntelliJ IDEA Open API and Plugin Development
Custom language plugin: How to use more than one lexer (at different times)?
0 票
创建于
2021年12月14日 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?
社区
IntelliJ IDEA Open API and Plugin Development
Custom language plugin: How to use more than one lexer (at different times)?
0 票
创建于
2021年12月14日 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...
社区
IntelliJ IDEA Open API and Plugin Development
Custom language plugin: How to use more than one lexer (at different times)?
0 票
创建于
2021年12月10日 11:34
Yes, I do have to use different FoldingGroups ...
社区
IntelliJ IDEA Open API and Plugin Development
Custom Language Plugin: Folding one range folds all ranges
0 票
创建于
2021年12月08日 16:24
Sorry, here is my code: @Overridepublic FoldingDescriptor @NotNull [] buildFoldRegions(@NotNull PsiElement root, @NotNull Document document, boolean quick) { FoldingGroup group = FoldingGroup.ne...
社区
IntelliJ IDEA Open API and Plugin Development
Custom Language Plugin: Folding one range folds all ranges
0 票
创建于
2021年12月06日 19:40
I did it, but it is not pretty as the other definitions: public MySyntaxHighlighter() { TextAttributes myAttr = new TextAttributes(); myAttr.copyFrom(DefaultLanguageHighlighterColors.KEYWORD....
社区
IntelliJ IDEA Open API and Plugin Development
Create new TextAttributesKey by inheriting from existing one
0 票
创建于
2021年12月06日 19:06
There's a createTempTextAttributesKey but that doesn't work for the Syntax Highlighter.
社区
IntelliJ IDEA Open API and Plugin Development
Create new TextAttributesKey by inheriting from existing one
0 票
创建于
2021年12月06日 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...
社区
IntelliJ IDEA Open API and Plugin Development
Create new TextAttributesKey by inheriting from existing one
0 票
创建于
2021年12月06日 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.
社区
IntelliJ IDEA Open API and Plugin Development
Custom Language Plugin Tutorial, Step 6: virtualFiles collection is empty
0 票
创建于
2021年01月12日 16:18
Ah, right, thanks! I remember marking them many years ago, but totally forgot about the color.
社区
PyCharm
What do the background colors in Project view mean?
0 票
«
第一页
‹
上一页