Microsoft/vscode

[html] Filter <link> path suggestion by file type

Open

#242,999 opened on Mar 9, 2025

View on GitHub
 (1 comment) (0 reactions) (1 assignee)TypeScript (74,848 stars) (10,221 forks)batch import
feature-requesthelp wantedhtml

Description

It would be really helpful for IntelliSense to understand what file type I want to import based on the language I am writing in. For example, when using the <link rel="stylesheet" href=""> tag, IntelliSense should narrow the autocomplete suggestions down to the CSS files in my project to use in the href field. If filtering isn't a good solution, putting all appropriate (in this case CSS) files on top of the suggestion list would be a really nice feature.

Contributor guide