VS Code path auto completion

Hi everyone,
On my old laptop in VS Code I would get autocomplete suggestions when typing in path names like for img src or in css url() for bg img or font etc. However on my new machine I'm not getting that and I have no clue what setting or extension I had setup to enable that. It worked in html, css, js for imports , and for react e.g. img src and imports in tsx, ts, js and jsx file extensions. If anyone knows how to configure to enable this behaviour, I would be very grateful as it was so helpful
13 Replies
ἔρως
ἔρως2w ago
do you have the old laptop? if you do, make sure both have the same extensions and the same configuration
b1mind
b1mind2w ago
This is a good usecase for Profile sync
b1mind
b1mind2w ago
Settings Sync in Visual Studio Code
Synchronize your user settings across all your Visual Studio Code instances.
ἔρως
ἔρως2w ago
it is
clevermissfox
clevermissfox2w ago
I literally just learned about profiles last night but didn’t think there was a way to sync them without exporting/importing a profile . I’m def going to make use of this from here on out. Just don’t have the old install to use I don’t
ἔρως
ἔρως2w ago
maybe it was an extension that did that for example, for sass, there's an extension that does have this functionality
b1mind
b1mind2w ago
I also use an extension to gits sync 😂 anal lol but that way its also avail on my github easy. I'm pretty sure their profiles use github too just not sure where it goes. In the gits I can cherry pick if I need to* too.
clevermissfox
clevermissfox2w ago
Ohh nice ! I know you can export a profile to git gist then import but I like the sound of cherry picking ! Is it called Gits sync ?
b1mind
b1mind2w ago
Settings Sync seems like you get some depricated warning now and telling you to use their 🤣 o wtf it even removed it from mine ... and you cant even install .. WILD so..... nvm https://code.visualstudio.com/docs/editor/profiles#_export I guess this is the best alternative to have a "extra backup" Profiles are a better way than how I used workspaces now too, you can customize them to only have the extensions for what you are working with. also make sure you have "javascript.suggest.paths": true, in your settings
b1mind
b1mind2w ago
No description
clevermissfox
clevermissfox2w ago
Thank you! So from what I understand , I can use the native Settings Sync and export a backup to gh gists, and the extension you referenced for cherry picking is deprecated and disappeared ?
tharun
tharun2w ago
There's an extension called Path Intellisense. This might help you
Want results from more Discord servers?
Add your server