You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be extremely helpful to have a feature that allows users to find all occurrences of a specific variable, function, or keyword and display them in a sidebar or popup. This functionality would significantly enhance code navigation and analysis.
Feature Details:
Purpose: Quickly locate all references to a selected variable, function, or keyword within the current file or project.
Keybinding Suggestion: Assign a keybinding like <leader>vs (for "variable search") to activate this feature.
Sidebar Display: Open a sidebar or floating window listing all occurrences with their context and line numbers.
Expected Features:
Search Scope Options:
Current file.
Entire project.
Clickable Results:
Clicking on an occurrence in the sidebar should jump directly to its location in the file.
Real-Time Updates:
Automatically update the sidebar if changes are made to the file or project.
Language-Aware Search:
Use nvim-treesitter or LSP for precise and language-aware searching of variables or functions.
Benefits:
Greatly improves navigation for debugging or refactoring.
Helps track and manage variable/function usage in large codebases.
Reduces manual effort in finding references or related items.
Implementation Ideas:
Leverage existing plugins like telescope.nvim or trouble.nvim for display and navigation.
Use nvim-treesitter or LSP to gather occurrences accurately.
This feature would be an excellent addition to the configuration, making it more powerful and user-friendly. Looking forward to seeing this implemented! 🚀
The text was updated successfully, but these errors were encountered:
It would be extremely helpful to have a feature that allows users to find all occurrences of a specific variable, function, or keyword and display them in a sidebar or popup. This functionality would significantly enhance code navigation and analysis.
Feature Details:
<leader>vs
(for "variable search") to activate this feature.Expected Features:
Search Scope Options:
Clickable Results:
Real-Time Updates:
Language-Aware Search:
nvim-treesitter
or LSP for precise and language-aware searching of variables or functions.Benefits:
Implementation Ideas:
telescope.nvim
ortrouble.nvim
for display and navigation.nvim-treesitter
or LSP to gather occurrences accurately.This feature would be an excellent addition to the configuration, making it more powerful and user-friendly. Looking forward to seeing this implemented! 🚀
The text was updated successfully, but these errors were encountered: