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
VSCode Version: 1.28 - 1.31
OS Version: Windows 10
Steps to Reproduce:
import a class with a suffix after .js: import Rooms from './components/Rooms.js?2019.01.01'
Go to definition then just brings you to the import.
Does this issue occur when all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered:
OK, I just want to leave a kind of workaround here in case someones find this specific issue : use a search and replace in files...
Easy to do when you only need to update the app version – and this is what I was doing before – but now we need to remove it for development, and re-add a version before deploy, and only for the wanted file extensions, excluding specific words (limit the scope of files searched with the dedicated include / exclude fields). The only limitation I found is that this will only match one file path per line, and only if the line doesn't include a forbidden word, so just use paths on their own lines.
Toggle the regex button and enter in the search field: (change your forbidden words and/or file extensions) ^(?!.*(?:firebase|http))(.*?\.(?:js|css))(?:(?![\w.-])(\?[\d\.]+\w)?)
Then in the replace field, enter either:
$1?YOUR_VERSION before deploying, or
$1 to remove the version for development with intellisense working!
VSCode Version: 1.28 - 1.31
OS Version: Windows 10
Steps to Reproduce:
import a class with a suffix after
.js
:import Rooms from './components/Rooms.js?2019.01.01'
Go to definition then just brings you to the import.
Does this issue occur when all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered: