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

Inserting suggestion on dot key #12

Closed
MichalLytek opened this issue Sep 19, 2016 · 7 comments
Closed

Inserting suggestion on dot key #12

MichalLytek opened this issue Sep 19, 2016 · 7 comments

Comments

@MichalLytek
Copy link

MichalLytek commented Sep 19, 2016

When I want to add import/require from my own files, I use relative path starting with .. And the problem is that I got intellisense immediately when I'm opening quotes (" ") and when I press the . key, it enters the first suggestion.

I would be nice to have an option to set accepting suggestion only on enter or tab press

@third774
Copy link

third774 commented Oct 1, 2016

This is supremely annoying, especially working with Angular2.

@ChristianKohler
Copy link
Owner

Look at ChristianKohler/PathIntellisense#9

the solution is to unbind .. Add this to keybindings.json:
{ "key": ".", "command": "" }

@redstrike
Copy link

@ChristianKohler

`the solution is to unbind .. Add this to keybindings.json:
 "key": ".", "command": "" }

I think the solution for this issue should be included in the user guide.
It's lucky for me that there aren't many issues in this project so that I can browse the closed issues.
In fact, it's difficult to search for a similar issue on Github. Even the search engine is smart enough, it still difficult to choose correct keywords to search.

@hfahrudin
Copy link

it still didnt unbind it sadly

@verysame
Copy link

So, from my understanding adding { "key": ".", "command": "" } should allow me to insert images to html files and VSC should add the filename and the file extension as well, i.e. filename.jpg
If that's the case, is still not working, I only get the filename but not the extension.

@ghSP
Copy link

ghSP commented May 1, 2019

I believe you can unbind this by setting editor.acceptSuggestionOnCommitCharacter to false

@samgermain
Copy link

Here's how to find where keybindings.json is located

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

8 participants