https://github.com/ctf0/vscode-scope-jump
https://github.com/ctf0/vscode-scope-jump
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/ctf0/vscode-scope-jump
- Owner: ctf0
- License: gpl-3.0
- Created: 2023-05-02T14:46:51.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-23T11:37:40.000Z (about 3 years ago)
- Last Synced: 2024-10-11T12:19:04.186Z (over 1 year ago)
- Language: TypeScript
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Vscode Scope Jump
> jump/select to start/end of scope on hover.
the extension gets all the file available scopes and add `jump` / `select` buttons to the hover widget

## Notes
the buttons only show
>- at the start/end of the scope
>- on the scopes that span more than one line
>- if the file doesn't have any provided scopes to navigate to, nothing will show up in the hover widget
## Limitations
not all languages provider include comment block inside the scope range, ex.
| language | range | selectionRange |
| -------- | ------------------ | -------------- |
| ts | method only | method only |
| php | method + doc block | method only |
so in-cases like this, hovering over comment blocks in some languages will show the buttons, but in others, it won't.