主页
IDEs Support (IntelliJ Platform) | JetBrains
联系支持服务
社区
登录
Gregory Shrago
活动总数
512
最后的活动
2023年08月14日 18:03
成员加入日期
2007年01月16日 18:03
关注
0 名用户
关注者数
1 名用户
投票数
0
订阅数
214
活动概览
帖子(3)
评论(295)
按最近的活动排序
最近的活动
投票数
创建于
2013年01月30日 20:13
Is it possible for you to create a screencast to demonstrate the problem?BAD_CHARACTER highlighting means that the JFlex lexer returns BAD_CHARACTER tokenTypes for the tokens.Possible answer:Using ...
社区
IntelliJ IDEA Open API and Plugin Development
Syntax Highlighting gets stuck
0 票
创建于
2013年05月09日 14:36
The problem is that lexer highlighting pass works on a VirtualFile (file text) level.This happens before any parsing takes place if ever.(For example for large files no parsing is performed at all....
社区
IntelliJ IDEA Open API and Plugin Development
Token mapped with PsiBuilder.remapCurrentToken still highlighted as original token
0 票
创建于
2013年07月26日 14:34
If I understand you correctly you have something like:class moduleName.className { .. }where moduleName implicitly defines the "module".I don't think this should be solved on a grammar level.The on...
社区
IntelliJ IDEA Open API and Plugin Development
Macros support in custom language
0 票
创建于
2013年08月19日 17:07
{ tokens = [ string = 'regexp:\"([^\\\"]|\\.)+\"' id = 'regexp:[\d|\w]+' ]}root ::= expr *expr ::= id '=' string ';' { pin=2; recoverUntil=recover }recover ::= !(id '=')Here's m...
社区
IntelliJ IDEA Open API and Plugin Development
Help me with grammar kit plz
0 票
创建于
2013年09月23日 17:35
1. Grammar-Kit parser expects lexer to emit tokens defined in (generated to)com.qq.coqide.syntax.parser.CoqTokenTypesYou can always check these kind of problems using debugger by placing breakpoint...
社区
IntelliJ IDEA Open API and Plugin Development
Parser not reducing expressions
0 票
创建于
2013年10月21日 20:11
The one to the left is just a synonym for PsiBuilder.getLatestDoneMarker().In terms of BNF this refers (usually) to any non-private-rule-to-the-left in a sequence.Consider after parsing some my_rul...
社区
IntelliJ IDEA Open API and Plugin Development
What does Grammar Kit's "inner" and "left" rule modifiers do?
0 票
创建于
2013年12月03日 21:56
You can always create new marker before the token, advance lexer and then close it via error(..) call thus keeping the "rule marker" intact.I don't know any other way on the parser level.
社区
IntelliJ IDEA Open API and Plugin Development
error squiggly red underline off-by-one in parser
0 票
创建于
2013年12月03日 23:06
You can get WS into the parser by returning empty TokenSet in your ParserDefinition#getWhitespaceTokens() (same applies to comments).Even when WS are skipped it is possible to use PsiBuilder#rawXXX...
社区
IntelliJ IDEA Open API and Plugin Development
error squiggly red underline off-by-one in parser
0 票
创建于
2014年01月29日 00:45
You're doing good :)However there're 2 problems: The main one: the "flat structure" of file ("solFile" rule). IntelliJ often tries to get the current (the deepest) PsiElement at some file position ...
社区
IntelliJ IDEA Open API and Plugin Development
Problems with performance in custom language plugin
0 票
创建于
2014年02月04日 16:55
Glad you got it working.For the records:Void methods are the result of the missing/incorrect psiImplUtilClass discussed here https://github.com/JetBrains/Grammar-Kit/issues/24Pins & recoverWhile ar...
社区
IntelliJ IDEA Open API and Plugin Development
Problems with performance in custom language plugin
0 票
«
第一页
‹
上一页
下一页
›
最后
»