PathIntellisense icon indicating copy to clipboard operation
PathIntellisense copied to clipboard

Path hint without "/" on begin

Open vertisan opened this issue 4 years ago • 6 comments

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.

vertisan avatar Mar 29 '20 10:03 vertisan

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

BananaAcid avatar Apr 24 '20 18:04 BananaAcid

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)

v-iashin avatar Sep 20 '21 12:09 v-iashin

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.

ChristianKohler avatar Sep 28 '21 07:09 ChristianKohler

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.

plashenkov avatar May 28 '22 07:05 plashenkov

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 "/")

Zhen3r avatar Jul 07 '23 06:07 Zhen3r

@Zhen3r I don‘t thing this is possible.

ChristianKohler avatar Jul 23 '23 19:07 ChristianKohler