Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Tab TraversalNew to Visual Studio Code? Get it now.

Tab Traversal

Alec Larson

|
58 installs
| (0) | Free
Slightly intelligent text traversal with the Tab key
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-tab-traversal

Slightly intelligent text traversal with the Tab key.


Use the Tab and Shift+Tab shortcuts (or custom keybindings) to traverse through text in a file.

The cursor jumps to whichever of the following is closest:

  • the end of the line
  • the end of the nearest word
  • before a closing bracket / quote

Empty lines are skipped.

Navigation between snippet placeholders and tab completion take precedence over this extension.

Using a code formatter with automatic indentation is recommended, or you can bind "Indent Line" and "Outdent Line" to different keys.

 

Examples

This shows tabbing to the end of a word and before the closing quote of a string.

Screen Recording 2022-10-04 at 12 33 33


This shows tabbing out of ${} within a template literal.

Screen Recording 2022-10-04 at 12 34 22


This shows tabbing out of a destructured object.

Screen Recording 2022-10-04 at 12 35 00


This shows tabbing past the => symbol of an arrow function.

Screen Recording 2022-10-04 at 12 35 32


 

Prior art

https://github.com/donnellythomas/tab-traversal

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft