Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/digitaldias/navigatetohandler
VSIX Extension for navigating to any public method using the type under the cursor
https://github.com/digitaldias/navigatetohandler
Last synced: 2 days ago
JSON representation
VSIX Extension for navigating to any public method using the type under the cursor
- Host: GitHub
- URL: https://github.com/digitaldias/navigatetohandler
- Owner: digitaldias
- License: mit
- Created: 2022-12-10T20:31:22.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-02T04:54:37.000Z (13 days ago)
- Last Synced: 2024-11-02T05:24:14.564Z (13 days ago)
- Language: C#
- Homepage:
- Size: 73.2 KB
- Stars: 12
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: docs/contributing.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: docs/CODE_OF_CONDUCT.md
- Security: docs/SECURITY.md
Awesome Lists containing this project
README
# NavigateToHandler
VSIX Extension for navigating to a public handler for the variable under the cursorThis initial version solves a particular issue that Visual Studio does not offer: A way to navigate from a `_mediator.Send(something)` call to its corresponding `Handle(something)` method.
The aim of this repository, however, is to reach a state where you can navigate to any public API that utilizes the variable type under the cursor, not only Mediator Handlers.## Usage
To use, simply place your cursor on top of the variable/declaration for which you want to look up handlers. Then, select **EDIT --> Navigate to Handler**, and the extension will open its corresponding handler class.> **TIP**
> It is advised to provide a keyboard shortcut to the command. I've selected **CTRL+ALT+H** for mine.If there is more than one match, an **Output Window** named `Public Handler Results` will display each match, allowing you to double-click to navigate to that handler.
## Testing
The project uses the solution [TestNavigateToHandler](https://github.com/digitaldias/TestNavigateToHandler) for verification.
## Help needed
I am still working on generic type support, as it is not functioning properly. Any help provided is greatly appreciated