Skip to content

F2 stopped working properly after recent update #84356

@Avivhdr

Description

@Avivhdr
  • VSCode Version: 1.40.0 (user setup)
  • OS Version: Microsoft Windows 10 Enterprise

Steps to Reproduce:

  1. Putting the cursor on a variable inside a function
  2. pressing F2
  3. Renaming the variable in the input that apears.
  4. Pressing Enter.

Expected results:

  1. All appearances of the variable in the scoop will be renamed
  2. No error should appear.
  3. I could preform the same action again (on the same variable or on another one).

Actual Results:

  1. All appearances of the variable in the scoop were renamed.
  2. I got the following error message:
    image
  3. When trying F2 for the second time i got the following message and the input in which i should enter the new name didn't appear:
    (I was pressing F2 when the cursor was on "channel_index") :
    image.

Does this issue occur when all extensions are disabled?:
No, when the extension is disabled, pressing F2 doesn't trigger any reaction.

The extension is called "TypeScript and JavaScript Language Features".
The error indicates a TypeScript issue.
I don't use typescript at all so i do not need it's features.

Restarting vscode and disabling & enabling the extension didn't help,

Thanks a lot!

Metadata

Metadata

Assignees

Labels

info-neededIssue requires more information from posterjavascriptJavaScript support issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions