Skip to content

[feature request] change referenceSearchVisible starting point #102

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
lorenzodossi opened this issue Feb 11, 2025 · 5 comments
Open

[feature request] change referenceSearchVisible starting point #102

lorenzodossi opened this issue Feb 11, 2025 · 5 comments

Comments

@lorenzodossi
Copy link

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.

@pucelle
Copy link
Owner

pucelle commented Feb 11, 2025

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
Copy link
Owner

pucelle commented Feb 11, 2025

I have started a discussion here on VSCode: microsoft/vscode-discussions#2537

@lorenzodossi
Copy link
Author

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

pucelle added a commit that referenced this issue Feb 13, 2025
@pucelle
Copy link
Owner

pucelle commented Feb 13, 2025

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.

@lorenzodossi
Copy link
Author

ok got it.. let's see..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants