Microsoft/TypeScript
Ver no GitHubctrl+click on an existing asset with a querystring
Open
#54.993 aberto em 12 de jul. de 2023
Experience EnhancementHelp WantedSuggestion
Métricas do repositório
- Stars
- (48.455 stars)
- Métricas de merge de PR
- (Mesclagem média 6d 17h) (9 fundiu PRs em 30d)
Description
Does this issue occur when all extensions are disabled?: Yes/No
- VS Code Version: 1.80.0
- OS Version: macOS latest
Steps to Reproduce:
- write
import foo from './existing-file.js?some-query-string' - ctrl+click on the file path
Expected
VSCode opens the file as if there was no querystring
Actual
Either:
- VSCode complains with:
cannot find module './existing-file.js?some-query-string' or its corresponding type declarations - if there's a
.d.tswithdeclare module '*?some-query-string' {}, VSCode will navigate to this particular declaration block