Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>jump-stackNew to Visual Studio Code? Get it now.
jump-stack

jump-stack

gngshn

|
86 installs
| (1) | Free
jump-stack for code jump. You can do any commands after push current jump position
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Jump Stack Extension

A simple Jump stack for vscode, inspired by vscode-goto-symbol-stack, but can execute any command with jump stack. This extension supports push the current code position to stack, or pop code position from stack, and optionally executing commands after push. Its push and pop functions are similar to vim's tag stack. If you're looking for an extension similar to vim's jump stack, you might want to try it.

The code for this extension is hosted at: jump-stack

Features

This extension provides three commands:

  • pushStack push the current posision to jump stack

  • popStack pop and jump to a position from jump stack

  • pushStackDoCommands push the current posision to jump stack, then do some commands, and optionally check discard this push

Shortcut config example

The checkPosition option is used to discard the push action if cursor position is not change after the commands executing.

{
  "key": "ctrl+shift+f",
  "command": "extension.jump-stack.pushPositionDoCommands",
  "args": {
    "commands": ["workbench.action.findInFiles"]
  }
},
{
  "key": "ctrl+f",
  "command": "extension.jump-stack.pushPositionDoCommands",
  "when": "editorFocus || editorIsOpen",
  "args": {
    "commands": ["actions.find"]
  }
},
{
  "command": "extension.jump-stack.pushPositionDoCommands",
  "key": "alt+d",
  "args": {
    "commands": ["editor.action.revealDefinition"]
  }
},
{
  "command": "extension.jump-stack.popPosition",
  "key": "alt+s"
}

A more advanced config can be:

{
  "command": "extension.jump-stack.pushPositionDoCommands",
  "key": "hotkey",
  "args": {
    "commands": [
      {
        "command": "vscodecommand0",
        "args": {
          "args00": "args00-value",
          "args01": "args01-value"
        }
      },
      {
        "command": "vscodecommand1",
        "args": {
          "args10": "args10-value",
          "args11": "args11-value"
        }
      }
    ],
    "checkPosition": true
  }
}

Extension Settings

There is none settings now

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft