You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enable both javascript.preferGoToSourceDefinition and typescript.preferGoToSourceDefinition
Have a vite project with sassDts enabled.
Have a My.module.scss with a class .myClass
Have a file My.js
Have the line import styles from "./My.module.scss";
sassDts generates a .d.ts file for the My.module.scss, called My.module.scss.d.ts
In My.js, add styles.myClass
Hit F12
The definitions popup now opens the .d.ts by default, which is useless. It should've opened the .scss file (which it also suggests, but there's no way to make this the default).
The text was updated successfully, but these errors were encountered:
Does this issue occur when all extensions are disabled?: Yes
Version: 1.95.1 (system setup)
Commit: 65edc4939843c90c34d61f4ce11704f09d3e5cb6
Date: 2024-10-31T05:14:54.222Z
Electron: 32.2.1
ElectronBuildId: 10427718
Chromium: 128.0.6613.186
Node.js: 20.18.0
V8: 12.8.374.38-electron.0
OS: Windows_NT x64 10.0.20348
Steps to Reproduce:
import styles from "./My.module.scss";
styles.myClass
The text was updated successfully, but these errors were encountered: