Jump Stack ExtensionA 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 FeaturesThis extension provides three commands:
Shortcut config exampleThe checkTimeout option is used to set the check delay time, default is 500(ms). VSCode has a delay when calling the language server to pop up a peek view and when switching from peek view to the final editor. You can use this option to configure the timeout of actual check of whether the new file position is the same as before. If it's the same position, the previously pushed position will be popped out. For example, after executing a command, if it jumps to the same position or the peek view is directly closed.
A more advanced config can be:
Extension SettingsThere is none settings now Enjoy! |