主页
IDEs Support (IntelliJ Platform) | JetBrains
联系支持服务
社区
登录
Peter Gromov
活动总数
2258
最后的活动
2023年05月09日 12:44
成员加入日期
2008年07月25日 18:59
关注
0 名用户
关注者数
1 名用户
投票数
0
订阅数
739
活动概览
文章(0)
帖子(3)
评论(1516)
按最近的活动排序
最近的活动
投票数
创建于
2019年07月12日 15:13
If you want your completion to work after $, you need to write a pattern for the bad character that comes after a $, because CompletionParameters#getPosition will return this bad character.
社区
IntelliJ IDEA Open API and Plugin Development
Code Completion With Special Characters
0 票
创建于
2019年07月12日 11:50
If you don't know what MultiplePsiFilesPerDocumentFileViewProvider is, you' probably aren't using it :) So, if "h" is parsed as a bad character, how is "e" parsed then?
社区
IntelliJ IDEA Open API and Plugin Development
Code Completion With Special Characters
0 票
创建于
2019年07月10日 19:43
The second rule seems correct. How would "$hello" be lexed/parsed with it? Do you use MultiplePsiFilesPerDocumentFileViewProvider?
社区
IntelliJ IDEA Open API and Plugin Development
Code Completion With Special Characters
0 票
创建于
2019年07月05日 16:06
Sorry, this is too unspecific, I can't understand what you mean by "this also works for any other character" (what's "this", what's "works for", where the characters are), "I only want to to comple...
社区
IntelliJ IDEA Open API and Plugin Development
Code Completion With Special Characters
0 票
创建于
2019年07月01日 13:37
There's probably a memory snapshot generated in IDE bin or user home directory, you can try to understand the reasons from it. In addition, OOM could be caused by stack overflow, so a stacktrace of...
社区
IntelliJ IDEA Open API and Plugin Development
Code Completion With Special Characters
0 票
创建于
2019年06月19日 15:12
What do you mean by "expected"? Expected by whom for which purpose? The parser should produce some tree for every text, including the one with a dummy identifier IntellijIdeaRulezzz. In completion,...
社区
IntelliJ IDEA Open API and Plugin Development
Code Completion With Special Characters
0 票
创建于
2019年06月19日 14:41
The parser surely can mark this as an error, but it still should produce some PSI for it that your completion would be able to analyze, and generate suggestions based on that PSI structure.
社区
IntelliJ IDEA Open API and Plugin Development
Code Completion With Special Characters
0 票
创建于
2019年06月19日 14:31
Yes, IntellijIdeaRulezzz is the dummy identifier, and your parser should be prepared to it, as any other text.
社区
IntelliJ IDEA Open API and Plugin Development
Code Completion With Special Characters
0 票
创建于
2019年06月19日 09:57
By default, autopopup completion is only started when letters or digits are typed. You can add your own TypedHandlerDelegate and handle $ there. The part about element types is hard to understand w...
社区
IntelliJ IDEA Open API and Plugin Development
Code Completion With Special Characters
0 票
创建于
2019年06月19日 09:01
Is getVariantsFromContributors called during explicit completion?
社区
IntelliJ IDEA Open API and Plugin Development
Code Completion With Special Characters
0 票
«
第一页
‹
上一页
下一页
›
最后
»