qJump is a Visual Studio Code extension that allows you to quickly jump to any label or line number in your code. With qJump, you can navigate large files effortlessly, jumping directly to specific words or line numbers with a simple command.
I took inspiration from a well known and loved NeoVim plugin Hop Neovim by smoka7, so that is the basis of the plugin!
Features
Jump to Labels: Automatically generates labels for words within the visible range of the editor, allowing you to quickly jump to them by typing their label.
Jump to Line Number: Directly jump to any line number by typing it in the input box.
Dynamic Label Generation: Labels are generated based on the content of the visible range in the editor, allowing quick navigation in large files.
Automatic Update: Labels are updated when scrolling stops, ensuring you always see the correct labels for the visible content.
Keyboard Shortcut: Default keybinding is Ctrl+Shift+J (Windows and macOS) for easy access to the jump command.
How to Use
Open a file in the editor.
Press the keyboard shortcut (Ctrl+Shift+J).
An input box will appear at the top. You can:
Type a label: Enter the label corresponding to the word you want to jump to (e.g., "A", "B", etc.).
Enter a line number: Directly jump to a specific line by entering its number.
Press Enter to jump to the specified label or line.
Extension Settings
This extension does not contribute any additional settings.
Keybindings
Ctrl+Shift+J (Windows and macOS): Activates the quick jump command.
Known Issues
The extension currently generates labels only for words in the visible range of the editor. If you scroll or resize the editor, labels will be updated automatically.
Limited to generating labels for alphanumeric words (including underscores).