docs: Clarify PSI tree usage in CONTRIBUTING.md
This commit is contained in:
parent
6385be94dc
commit
41ef35d3af
1 changed files with 4 additions and 2 deletions
|
@ -3,5 +3,7 @@ For now this project is still pretty small, but here are some general guidelines
|
|||
- This project ships with a code style config in .idea, your IDE should automatically apply it when you pull the repo.
|
||||
When making pull requests, please try to keep to this style as much as possible.
|
||||
- Use [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/), and scope as much as you can.
|
||||
- One of the core ideas of this project is *not* using the IntellIJ parser/tokenizer. If you want to work with that
|
||||
system, check out [intellij-zig](https://github.com/intellij-zig/intellij-zig).
|
||||
- The project has support for the PSI tree, but try to keep "intelligent" behaviour out of it, all code inspection and
|
||||
other semantics-aware help should come from ZLS where possible.
|
||||
- Generally, if the answer to "Can i write some glue code that can get this info from ZLS?" is YES, do not use the PSI
|
||||
tree.
|
Loading…
Add table
Reference in a new issue