Skip to content
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

Outdated readme advice breaks the editor on latest version #220

Closed
dannymcgee opened this issue May 9, 2023 · 4 comments
Closed

Outdated readme advice breaks the editor on latest version #220

dannymcgee opened this issue May 9, 2023 · 4 comments

Comments

@dannymcgee
Copy link

Hi there! There's currently some advice in the README for Windows users that appears to be no longer applicable, and (more importantly) causes the editor to stop functioning normally on the latest 1.78.0 release:

There is an issue on windows with the period key. See Issue ChristianKohler/NpmIntellisense#12

Add this to the keybinding:

{ "key": ".", "command": "" }

Following this advice causes all . keypresses within the editor to trigger a "command '' not found" alert, and prevents the . character from being typed anywhere in the editor. Furthermore, removing the suggested binding doesn't seem to have any adverse consequences (on 1.78.0 and Windows 11, at least) — the extension's path suggestions continue working as expected.

On a related note: Is the extension automatically adding that binding to users' keybindings.json by chance? I took a quick look around and couldn't find anything to that effect, but I was affected by the linked issue and I don't remember ever adding that binding myself. (But I have been using this extension for a long, long time, so it's possible I added it at some point and promptly forgot about it.)

@starball5
Copy link

Apparently the fix can be made on VS Code's side and it will be available in 1.78.2 (source).

@ChristianKohler
Copy link
Owner

Thank you @dannymcgee for reporting the issue and @starball5 for your help.

Is the extension automatically adding that binding to users' keybindings.json by chance?

No. The extension doesn‘t add or change any configuration. Never did, never will :-)

Apparently the fix can be made on VS Code's side and it will be available in 1.78.2 (microsoft/vscode#181469 (comment)).

Thank you. I don‘t have a windows environment to test. Since the issue was resolved with 1.78.2, could you quickly test if it works again and let me know?

@dannymcgee
Copy link
Author

I don‘t have a windows environment to test. Since the issue was resolved with 1.78.2, could you quickly test if it works again and let me know?

I can confirm that adding the { "key": ".", "command": "" } keybind has no apparent adverse effect in 1.78.2, but I can also confirm that Path Intellisense works the same with or without it. 🙂

@ChristianKohler
Copy link
Owner

Great. Thank you for checking @dannymcgee

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants