mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 02:07:50 +08:00
grammar_and_parser.md: cleanup
This commit is contained in:
parent
5c0352ae0d
commit
2b8e505ea9
@ -30,9 +30,9 @@ This lets the IDE still recognise incorrectly defined properties and provide cor
|
||||
|
||||
### 3.4. Generate a parser
|
||||
|
||||
Now when the grammar is defined we can generate a parser with PSI classes via *Generate Parser Code* from the context menu or via *⌘⇧G* shortcut on *Simple.bnf* file.
|
||||
The Grammar-Kit will generate a parser and PSI elements in *gen* folder.
|
||||
Mark this folder as a source root and make sure everything is compiled without errors.
|
||||
Now when the grammar is defined we can generate a parser with PSI classes via *Generate Parser Code* from the context menu on *Simple.bnf* file.
|
||||
This will generate a parser and PSI elements in *gen* folder.
|
||||
Mark this folder as *Generated Sources Root* and make sure everything is compiled without errors.
|
||||
|
||||

|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user