vscode-css-navigation icon indicating copy to clipboard operation
vscode-css-navigation copied to clipboard

[feature request] change referenceSearchVisible starting point

Open lorenzodossi opened this issue 11 months ago • 5 comments

First of all, thanks for making this plugin, it's really useful.

current behaviour

Image

what I'd like

Image

Why? Because there's no reason to open referenceSearchVisible in the current file. If I do it, it's because I want to switch files, and right now, I always have to scroll back to the top of the list. If it were already at the top, it would be much faster.

Thanks again for the great work.

lorenzodossi avatar Feb 11 '25 10:02 lorenzodossi

Hi, lorenzodossi, thanks for your suggestion. Your request is reasonable, but is very hard to implement. The problem is: vscode itself has included a CSS service which supports reference feature for own CSS file, recently I haven't find a way to interpolate it. You may disable this plugin you will find there is still one reference existing.

pucelle avatar Feb 11 '25 23:02 pucelle

I have started a discussion here on VSCode: https://github.com/microsoft/vscode-discussions/discussions/2537

pucelle avatar Feb 11 '25 23:02 pucelle

got it, since this would be so useful for me, I can also pay you if you need to spend extra time implementing it

lorenzodossi avatar Feb 12 '25 20:02 lorenzodossi

This discussion has a reply (generate by AI...), but I tried and see it can't work totally. I have prepared a new version v2.3.8, will exclude the selector itself where you started finding reference from reference list, but it doesn't work before finding a way to disable vscode built-in CSS References feature.

pucelle avatar Feb 13 '25 07:02 pucelle

ok got it.. let's see..

lorenzodossi avatar Feb 13 '25 10:02 lorenzodossi

Close since get no response from vscode team and can't implement. Never mind to reopen if have any progress.

pucelle avatar Jul 29 '25 01:07 pucelle