From 241de84cf0e578af1773673abebbf9934e2a9445 Mon Sep 17 00:00:00 2001 From: Giovanni Magliocchetti Date: Thu, 2 Oct 2025 19:28:04 +0200 Subject: [PATCH 1/2] feat: filter path suggestions by file type in HTML attributes Implements intelligent file filtering for HTML path completion based on tag type and attributes. Files matching the expected type are now prioritized in autocomplete suggestions. Changes: - Add optional 'attributes' field to HtmlAttributeValueContext interface - Pass node attributes to completion participants in htmlCompletion - Implement getExtensionFilter() method in pathCompletion - Use sortText to prioritize matching files (0_) over others (1_) - Support multiple tag/attribute patterns: * prioritizes CSS files * prioritizes image files *