ChristianKohler / PathIntellisense

Visual Studio Code plugin that autocompletes filenames
https://marketplace.visualstudio.com/items?itemName=christian-kohler.path-intellisense
MIT License
426 stars 47 forks source link

Path hint without "/" on begin #150

Open vertisan opened 4 years ago

vertisan commented 4 years ago

Hi,
Currently we need to use / on start to show hints for files/directories.
Is it possible to "disable" this / on begin? I want to show hints when I start to type any letter.

BananaAcid commented 4 years ago

btw. if you mean css/main.css the common way of writing this in html and linux is ./css/main.css - same as ./ for current directory... maybe this could help

v-iashin commented 3 years ago

I can second the request of @vertisan

This is pretty annoying not only when you just start typing a path e.g. css... (no autosuggestion) but also when you try to change parts of the path e.g.

  1. /root/dataset1/images/
  2. /root//images/
  3. /root/dataset2/images/ (no autosuggestion when typing dataset2)
ChristianKohler commented 3 years ago

Thx for the input. I see your point. I can enable it for more characters. I'd have to play around to see how well it works from a UX perspective and how it affects the performance.

plashenkov commented 2 years ago

Yes, that's sad that autocompletion triggers only on slash.

For example: you write slash (autocompletion triggers), than you type first letters (to highlight the necessary option), but you make a typo, autocomplete dropdown closes, and now you have to delete all the characters including slash to type it again to trigger autocomplete. This situation is very common and this is a pain.

Or, as @v-iashin noted, you need to change something inside path and autocompletion simply doesn't happen.

I tried to change the default VS code path autocompletion behavior by installing this plugin but it works the same.

As far as I remember, WebStorm has polished UX here. It triggers path autocompletion when you type anything, not only slashes.

Zhen3r commented 1 year ago

Can we add an "Activation Events" to trigger path hint? So that it's possible to use some keyboard shortcuts to trigger (instead of typing "/")

ChristianKohler commented 1 year ago

@Zhen3r I don‘t thing this is possible.