Microsoft/vscode

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

Open

#242,999 opened on Mar 9, 2025

 (1 comment) (0 reactions) (1 assignee)TypeScript (39,847 forks)batch import
feature-requesthelp wantedhtml

Repository metrics

Stars
 (184,936 stars)
PR merge metrics
 (PR metrics pending)

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