Repository navigation
feat: add rename symbol within <script> tags - #111644
Conversation
|
The Did you try to use that? |
6162881 to
94b2772
Compare
|
OK~I try to use ts.LanguageService and it work. Martin Aeschlimann (@aeschli) |
|
Vwry cool. We shoud also add a test. I think https://github.com/microsoft/vscode/blob/master/extensions/html-language-features/server/src/test/folding.test.ts#L19 is a good template. Just create a new file rename.test.ts based on that and test the outputs of the rename. |
|
OK~let me see how do we do that |
|
Martin Aeschlimann (@aeschli) Please take a look at the test case I wrote and the code has been updated a bit |
|
I don't know why CI/monaco fail.I tried to run it locally, and it was successful |
|
Change looks good, thanks! |
|
OK~ thanks for your advice |
|
If possible, please merge this PR. I'm afraid there may be conflicts after a long time Martin Aeschlimann (@aeschli) |
|
Thanks for the work, chenjg88 (@chenjigeng) ! |
This PR fixes #85411