extension inspired by ThePrimeagen/harpoon, it gives you the ability to mark files to move between them blazingly fast, so basically move between files with the lsp then return to the important ones -without fuzzy finder- again blazingly fast!
You're implementing some feature so your focus is mainly on two files or so but you need to jump to another file to check something's definition, a new file opened, and another now you need to go back to the main file, What now? fuzzy-finder? file tr*e? we don't want to do that we need the main file under our hands.
How to do this? Mark your important files booker.mark.add
, jump between files with the LS then come back to the main file with booker.mark.jump1
for example and here it's going back to the main file without searching.
-
marks per workspace
-
mark active file
booker.mark.add
-
remove the mark from active file
booker.mark.remove
-
show all marked files through vscode quickPick
booker.mark.show
-
hard coded jumps
-
jump to file at index 1
booker.mark.jump1
-
jump to file at index 2
booker.mark.jump2
-
jump to file at index 3
booker.mark.jump3
-
-
reorder marks order though textEditor as you edit any file
booker.ui.show
- add mark to index[the default is at the tail]
- global marks
Command | Title | Default Shortcut |
---|---|---|
booker.mark.add | booker: add mark at current active editor | TBD |
booker.mark.remove | booker: remove mark from current active editor | TBD |
booker.mark.show | booker: show quick pick for all marked files | TBD |
booker.mark.jump1 | booker: jump to first mark | TBD |
booker.mark.jump2 | booker: jump to second mark | TBD |
booker.mark.jump3 | booker: jump to third mark | TBD |
booker.ui.show | booker: show booker editor ui | TBD |
{
"before": ["<leader>", "a"],
"commands": ["booker.mark.add"]
},
{
"before": ["<leader>", "r"],
"commands": ["booker.mark.remove"]
},
{
"before": ["<leader>", "1"],
"commands": ["booker.mark.jump1"]
},
{
"before": ["<leader>", "2"],
"commands": ["booker.mark.jump2"]
},
{
"before": ["<leader>", "3"],
"commands": ["booker.mark.jump3"]
}
- close the editor when the editor is not active