-
Notifications
You must be signed in to change notification settings - Fork 120
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: generate the import declaration for the completion item code ac… #2031
feat: generate the import declaration for the completion item code ac… #2031
Conversation
d057ecd
to
be1a229
Compare
Blocked by PR |
be1a229
to
6950674
Compare
@ivanwonder Looks like the CI is failing, due to the new test:
|
The two new tests depend on the code of the language service PR. I remember there was a snapshot version for every PR before. I want to update the |
d4fe906
to
7e01a79
Compare
@dylhunn I have updated the node version. |
The substance of the change looks good. But I'm also not sure why changing the language-service version has generated the changes to pnpm lock. @atscott Do you know if this is expected? |
Yea, this happens when doing |
b1196a3
to
33b10d1
Compare
…tions In the completion item, the `additionalTextEdits` can only be included the changes about the current file, the other changes should be inserted by the vscode command. For example, when the user selects a component in an HTML file, the extension inserts the selector in the HTML file and auto-generates the import declaration in the TS file.
33b10d1
to
a2cab20
Compare
@ivanwonder Is this ready for merge, or do you want Andrew's review also? If so, I'll tag it to be merged |
Yes, It's ready. It would be better if Andrew had time to take a look. |
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.
Really cool! Great work!
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
…tions
In the completion item, the
additionalTextEdits
can only be included the changes about the current file, the other changes should be inserted by the vscode command.For example, when the user selects a component in an HTML file, the extension inserts the selector in the HTML file and auto-generates the import declaration in the TS file.