Skip to content

Add keywords to model#680

Open
vinistock wants to merge 1 commit intomainfrom
03-19-add_keywords_to_model
Open

Add keywords to model#680
vinistock wants to merge 1 commit intomainfrom
03-19-add_keywords_to_model

Conversation

@vinistock
Copy link
Member

@vinistock vinistock commented Mar 19, 2026

We need keywords to provide proper completion. It's also easy to include descriptions so that we can provide documentation on both completion and hover. This PR adds the full list of keywords that we originally had in the LSP.

I went with a sorted list, which we can go through using binary search. There's a small enough number of keywords that I don't think it warrants a hashmap or even putting it inside graph (a constant is enough).

Copy link
Member Author

vinistock commented Mar 19, 2026

@vinistock vinistock added the enhancement New feature or request label Mar 19, 2026 — with Graphite App
@vinistock vinistock self-assigned this Mar 19, 2026
@vinistock vinistock marked this pull request as ready for review March 19, 2026 20:03
@vinistock vinistock requested a review from a team as a code owner March 19, 2026 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants