Skip to content
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

Idea: VS Code Extension #157

Open
bbrewington opened this issue Oct 29, 2024 · 3 comments
Open

Idea: VS Code Extension #157

bbrewington opened this issue Oct 29, 2024 · 3 comments

Comments

@bbrewington
Copy link

No description provided.

@alexpovel
Copy link
Owner

Thanks for the idea.

For context: srgn could be an extension for VSCode, sitting next to regular search and enhancing it with e.g. dropdown menus, like "Only Python classes", and then regular search only works inside those scopes, like the CLI extension. It would also hook well into "Search and replace" functionality, again like the CLI. srgn is also a library, so could look into WASM.

I am not much of a VSCode extension developer, but the idea is nice, so I'll just leave this open for now!

@bbrewington
Copy link
Author

This VS Code issue received enough upvotes as of Dec 2024 and it has been added to the official backlog: microsoft/vscode#230337

Here's description of that issue:

We want to extend clangd-vscode with an AST search engine besides regex and plain text search, unfortunately it looks like, that VSCode does not support to extend the global and lokal search.
It would be very useful, if one could just add a search engine. Currently we have to add a new separate view, but that is unintentional.

Optionally it would be good to also support a pop-up dialog, with the ability to modify specific search options and a larger search field with semantic linting.

@alexpovel
Copy link
Owner

Very cool! Thanks for the heads-up, I wasn't aware of that issue. AST-aware search would be great to have in VSCode. The UX around that seems very hard to get right though, 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