Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat: Auto-completion of @-attributes for the language server #5846
base: master
Are you sure you want to change the base?
Feat: Auto-completion of @-attributes for the language server #5846
Changes from 12 commits
52e506e
92dc32f
db4cbe8
18792b6
56fd979
3f24148
9e3f1de
357b0ac
9c22929
c1fe17c
2988e9c
76d3e2e
ccb30b2
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be filtered to the part of the attribute that is already typed? Or are you only providing code completion upon writing the @, but not afterwards?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm only providing instant code completion upon writing the @, not afterwards. The IDE will then filter the list according to what is being typed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These look more like unfinished PR todos rather than planned improvements for the next iteration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm actually going to create a new PR for these todos and added empty details for now, and just attribute name to be inserted. The inserted name is probably not going to change since I don't know how to instruct VSCode to place the caret inside parentheses. But the details about showing up argument names, types and default value is much more complicated than I though (e.g. for fuel, the high fuel should be low fuel + 1 by default) and needs to be thoroughly tested. Let's do one thing at a time.
This file was deleted.