Ide-Pinturerias / pinturas-app-front

Client App
2 stars 1 forks source link

Ctrl+click navigation not working for aliases in Vite projects in VSCode #44

Closed Squiffles closed 6 months ago

Squiffles commented 6 months ago

Ctrl+click navigation not working for aliases in Vite projects in VSCode

Description:

On this repo, vite is being used with aliases configured to structure and improve module import paths. However, despite setting up aliases correctly in the vite.config.js file, VSCode's Ctrl+click navigation feature doesn't work for aliased imports, resulting in time lost due to the need for manually for manually file searches.

Expected Behavior:

When Ctrl+clicking on an aliased import statement, VSCode should navigate to the corresponding file/module as defined by the alias configuration in vite.config.js.

Actual Behavior:

Ctrl+clicking on an aliased import statement in VSCode does not navigate to the corresponding file/module. Instead, no action is taken.