Skip to content

Commit 40ba22c

Browse files
committed
V 0.0.1, demo?
1 parent 544f0ea commit 40ba22c

File tree

3 files changed

+97
-34
lines changed

3 files changed

+97
-34
lines changed

.github/workflows/publish.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
release:
6+
types:
7+
- created
8+
9+
jobs:
10+
build:
11+
strategy:
12+
matrix:
13+
os: [ubuntu-latest]
14+
runs-on: ${{ matrix.os }}
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v3
18+
- name: Install Node.js
19+
uses: actions/setup-node@v3
20+
with:
21+
node-version: 18.x
22+
- run: npm install
23+
- name: Publish
24+
run: npm run deploy
25+
env:
26+
VSCE_PAT: ${{ secrets.VSCE_PAT }}

README.md

Lines changed: 49 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,67 @@
1-
# booker README
1+
# Booker
22

3-
This is the README for your extension "booker". After writing up a brief description, we recommend including the following sections.
3+
## WIP
44

5-
## TODOS
6-
7-
- [ ] delete mark
8-
- [ ] ORDER MARKS
9-
- [ ] figure out when to change saved position for the mark
10-
- [ ] figure out how to use vscode datastorge to store information for the extension per workspace
11-
- [ ] search can we make generic commands like for example send index with the command(deal with the command as function)
5+
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 simply move between files with the lsp then return to the important ones -without fuzzy finder- again blazingly fast!
126

137
## Features
148

15-
Describe specific features of your extension including screenshots of your extension in action. Image paths are relative to this README file.
9+
- marks per workspace
1610

17-
For example if there is an image subfolder under your extension project workspace:
11+
- mark active file `booker.mark.add`
1812

19-
\!\[feature X\]\(images/feature-x.png\)
13+
- remove the mark from active file `booker.mark.remove`
2014

21-
> Tip: Many popular extensions utilize animations. This is an excellent way to show off your extension! We recommend short, focused animations that are easy to follow.
15+
- show all marked files through vscode quickPick `booker.mark.show`
2216

23-
## Requirements
17+
- hard coded jumps
2418

25-
If you have any requirements or dependencies, add a section describing those and how to install and configure them.
19+
- jump to file at index 0 `booker.mark.jump1`
2620

27-
## Extension Settings
21+
- jump to file at index 0 `booker.mark.jump2`
22+
23+
- jump to file at index 0 `booker.mark.jump3`
24+
25+
## TODOS
2826

29-
Include if your extension adds any VS Code settings through the `contributes.configuration` extension point.
27+
- [x] delete mark
3028

31-
For example:
29+
- [ ] user should be able to reoreder the marks through some UI
3230

33-
This extension contributes the following settings:
31+
- [x] figure out how to use vscode datastorge to store information for the extension per workspace
32+
33+
- [ ] global marks
34+
35+
## Requirements
36+
37+
If you have any requirements or dependencies, add a section describing those and how to install and configure them.
38+
39+
## Extension Settings
3440

35-
- `myExtension.enable`: Enable/disable this extension.
36-
- `myExtension.thing`: Set to `blah` to do something.
41+
### vscodevim keybindings example
42+
43+
```json
44+
{
45+
"before": ["<leader>", "a"],
46+
"commands": ["booker.mark.add"]
47+
},
48+
{
49+
"before": ["<leader>", "r"],
50+
"commands": ["booker.mark.remove"]
51+
},
52+
{
53+
"before": ["<leader>", "1"],
54+
"commands": ["booker.mark.jump1"]
55+
},
56+
{
57+
"before": ["<leader>", "2"],
58+
"commands": ["booker.mark.jump2"]
59+
},
60+
{
61+
"before": ["<leader>", "3"],
62+
"commands": ["booker.mark.jump3"]
63+
}
64+
```
3765

3866
## Known Issues
3967

package.json

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
{
22
"name": "booker",
33
"displayName": "booker",
4-
"description": "move FAST",
4+
"description": "move between files in vscode BLAZINGLY FAST",
55
"version": "0.0.1",
6+
"repository": {
7+
"type": "git",
8+
"url": "https://github.com/nagy-nabil/booker"
9+
},
10+
"publisher": "nagy-nabil",
611
"engines": {
712
"vscode": "^1.77.0"
813
},
@@ -14,28 +19,32 @@
1419
"contributes": {
1520
"commands": [
1621
{
17-
"command": "booker.mark.append",
18-
"title": "append position"
22+
"command": "booker.mark.add",
23+
"title": "booker: add mark at current active editor"
24+
},
25+
{
26+
"command": "booker.mark.remove",
27+
"title": "booker: remove mark from current active editor"
1928
},
2029
{
21-
"command": "booker.mark.jump",
22-
"title": "jump to saved position"
30+
"command": "booker.mark.show",
31+
"title": "booker: show quick pick for all marked files"
2332
},
2433
{
25-
"command": "booker.marks.show",
26-
"title": "show all marked files"
34+
"command": "booker.mark.jump1",
35+
"title": "booker: jump to first mark"
2736
},
2837
{
29-
"command": "booker.mark.jump-fir",
30-
"title": "jump to first mark"
38+
"command": "booker.mark.jump2",
39+
"title": "booker: jump to second mark"
3140
},
3241
{
33-
"command": "booker.mark.jump-sec",
34-
"title": "jump to second mark"
42+
"command": "booker.mark.jump3",
43+
"title": "booker: jump to third mark"
3544
},
3645
{
37-
"command": "booker.mark.jump-thrd",
38-
"title": "jump to third mark"
46+
"command": "booker.ui.toggle",
47+
"title": "booker: show booker ui"
3948
}
4049
]
4150
},

0 commit comments

Comments
 (0)