Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nagy-nabil/booker
move between files in vscode BLAZINGLY FAST
https://github.com/nagy-nabil/booker
vscode vscode-extension workspace-management workspaces
Last synced: 24 days ago
JSON representation
move between files in vscode BLAZINGLY FAST
- Host: GitHub
- URL: https://github.com/nagy-nabil/booker
- Owner: nagy-nabil
- Created: 2023-04-16T22:43:41.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-20T05:33:17.000Z (8 months ago)
- Last Synced: 2024-10-11T01:54:53.447Z (about 1 month ago)
- Topics: vscode, vscode-extension, workspace-management, workspaces
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=nagy-nabil.booker
- Size: 733 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Booker
extension inspired by [ThePrimeagen/harpoon](https://github.com/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!
## The Problem
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.
## Features
![demo](./assets/demo.gif)
- 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`
## TODOS
- [ ] add mark to index[the default is at the tail]
- [ ] global marks## Extension Settings
| 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 |### vscodevim keybindings example
```json
{
"before": ["", "a"],
"commands": ["booker.mark.add"]
},
{
"before": ["", "r"],
"commands": ["booker.mark.remove"]
},
{
"before": ["", "1"],
"commands": ["booker.mark.jump1"]
},
{
"before": ["", "2"],
"commands": ["booker.mark.jump2"]
},
{
"before": ["", "3"],
"commands": ["booker.mark.jump3"]
}
```## Release Notes
### 0.99.4
- close the editor when the editor is not active