Home
IDEs Support (IntelliJ Platform) | JetBrains
Contact Support
Community
Sign in
Gregory Shrago
Total activity
512
Last activity
August 14, 2023 18:03
Member since
January 16, 2007 18:03
Following
0 users
Followed by
1 user
Votes
0
Subscriptions
214
Activity overview
Posts (3)
Comments (295)
Sort by recent activity
Recent activity
Votes
Created
October 21, 2013 14:48
There's no need to repeat the work of other authors. One can read about PEG and IntelliJ parsing architecture somewhere else and then discover Grammar-Kit which just combines all the above.https://...
Community
IntelliJ IDEA Open API and Plugin Development
Grammar kit tutorial(s)
0 votes
Created
October 24, 2013 23:23
There're different levels of problem reporting: lexer errors, parser errors and annotators/inspections reports.String literal contents related problems belong to 1.lexer level or 2.semantic level, ...
Community
IntelliJ IDEA Open API and Plugin Development
Parsing strings and other various basic types
0 votes
Created
December 03, 2013 12:04
I've checked the plugin sources on github. Not sure (I haven't run them) but..PsiErrorElements are created when PsiBuilder.error() or PsiBuilder.Marker.error() methods are used. The difference is t...
Community
IntelliJ IDEA Open API and Plugin Development
error squiggly red underline off-by-one in parser
0 votes
Created
January 08, 2014 13:44
You need an Annotator for that.Here's the explanation: Syntax Highlighting and Error Highlighting
Community
IntelliJ IDEA Open API and Plugin Development
BNF Rule Syntax Highlighting for Custom Language
0 votes
Created
January 28, 2014 13:40
You seem to put too much of syntax logic into your lexer.IntelliJ IDEA platform assumes lexers are fast and uses them very often.Solution: decouple lexer & parser logic as it is usually done: Make ...
Community
IntelliJ IDEA Open API and Plugin Development
Problems with performance in custom language plugin
0 votes
Created
February 21, 2014 16:04
#auto recover predicates as well as token PSI accessors are supported in the latest Grammar-Kit version only. Unfortunately (or luckily) most fixes and new features are always available in the late...
Community
IntelliJ IDEA Open API and Plugin Development
Grammar-Kit and Identifier
0 votes
Created
February 26, 2014 15:55
Just comment the recoverWhile(".+Declaration")="#auto" line.I thought you would put several declarations in a file, with just one declaration there's no need in recovering.
Community
IntelliJ IDEA Open API and Plugin Development
Grammar-Kit and Identifier
0 votes
Created
August 15, 2014 12:26
Hi Liudmila!Thanks for mentioning. There is indeed a bug in LiverPreviewParser which is now fixed in 1.1.10_1 release.The generated parser doesn't suffer from this: I've included your sample in Gra...
Community
IntelliJ IDEA Open API and Plugin Development
Grammar-kit : psi tree for prefix expressions
0 votes
Created
September 05, 2014 23:25
Here's my workflow:1. I use "regexp:" tokens mostly for quick language prototyping with "Live Preview" mode which doesn't involve any project and code generation.The main language structure first a...
Community
IntelliJ IDEA Open API and Plugin Development
Case-insensitive Grammar-Kit tokens?
0 votes
Created
November 19, 2014 12:24
Just tweak ElixirTokenType#toString() as you like: @Override public String toString() { return "ElixirTokenType." + super.toString(); }
Community
IntelliJ IDEA Open API and Plugin Development
Overriding token name in PsiErrorElement
0 votes
«
First
‹
Previous
Next
›
Last
»