-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
Support for search engines #230337
Comments
Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines. Happy Coding! |
Can you reopen this, or explain how your extension will cover this issue? The thing is, that we don't want to change anything with the current ways of searching. A future extension would also be, to provide a rich semantic checking UI, where only valid matchers can be concatenated. |
Okay, I can add this as a feature request candidate for adding new ways of searching to the UI. |
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
I think to clarify what @Febbe is saying, we actually want to add two things
@Febbe can you clarify which one hits request is for? I think we could accomplish 1. today by adding a custom TreeView in a sidebar, but there's no good way to do 2. (custom finding within the open file) currently. If I understand correctly, this request is about a better/cleaner/more fully integrated way of performing 1. ? |
Actually both, I believe that both search view bars are implemented similar or even with the same code. So we need in both bars a way to add our button 'AST' just next to regex (will later add some pictures and modify the base post).
|
Cool, yep that's exactly what I was hoping for as well. This will need to probably add an LSP extension as well eventually, right? |
Yes clangd will need an LSP extension, since it should also serve as a search engine provider. But technically a LS and a search engine may be completely independent. |
This Rust-powered tree-sitter based search tool might be good to consider: https://github.com/alexpovel/srgn I'm going to drop a feature request issue in that repo for VS Code Extension, but thought I'd leave this note as well |
This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
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.
The text was updated successfully, but these errors were encountered: