Skip to content

Commit ce17c46

Browse files
author
Saiya
committed
chore: fix typos & release
1 parent 893962d commit ce17c46

File tree

2 files changed

+15
-8
lines changed

2 files changed

+15
-8
lines changed

README.md

+15-8
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Search bookmarks in SourceTree and launch them via Alfred.
77

88
## Features
99
1. support fuzzy search
10-
2. can open repo in your code editor directly by press <kbd>cmd</kbd> + <kbd>enter</kbd>, using VS Code by default, you can [custom it](#custom-your-perferred-code-editor)
10+
2. can open repo in your code editor directly by press <kbd>cmd</kbd> + <kbd>enter</kbd>, using VS Code by default, you can [custom it](#custom-your-preferred-code-editor)
1111
3. can reveal repo in find by press <kbd>option</kbd> + <kbd>enter</kbd>
1212

1313

@@ -30,8 +30,8 @@ Promotion: using [sourcetree-custom-actions](https://github.com/oe/sourcetree-cu
3030

3131
launch alfred then input `st` and `keyword` separated with a space to search bookmarks, press enter to launch the bookmark in SourceTree.
3232

33-
additionnal:
34-
> select a bookmark, press `cmd` + `enter` to open the repo in your favorite code editor, see [how to custom code editor](#custom-your-perferred-code-editor)
33+
Additionally:
34+
> select a bookmark, press `cmd` + `enter` to open the repo in your favorite code editor, see [how to custom code editor](#custom-your-preferred-code-editor)
3535
> select a bookmark, press `option` + `enter` to reveal the repo in Finder
3636
3737

@@ -45,20 +45,25 @@ You can follow the following steps to compile the workflow script to binary to s
4545
If you are using Apple Silicon Macs(like M1, M1 Pro), you can also compile the workflow for better performance
4646

4747

48-
## Custom your perferred code editor
48+
## Custom your preferred code editor
4949
1. Open Alfred Preferences panel
50-
2. find and click the `SourceTree` in **Wokflows** list
50+
2. find and click the `SourceTree` in **Workflows** list
5151
3. click `Configure Workflow...` button bellow the workflow name
5252
4. change the value of `Code Editor Config`, , multiple values can be set depending on the file extensions in the folder.
5353

5454
Example:
5555
```sh
56+
# configuration format:
57+
# [editor cli name]=[extension1, extension2,...]
58+
# extension case does not matter
59+
# example, using Xcode for XCode projects
5660
xed=.xcodeproj,.xcworkspace,package.swift
57-
studio=.gradle
61+
62+
# using vscode for default
5863
code=*
5964
```
6065

61-
The order of the list matters, once a match has been found the script will continue and not check the other options.
66+
The order of the list is important, the first one that matches will be used.
6267

6368
Here are some common editors' cli names:
6469

@@ -68,7 +73,9 @@ If you are using Apple Silicon Macs(like M1, M1 Pro), you can also compile the w
6873
4. `webstorm` for WebStorm
6974
5. `idea` for IntelliJ IDEA
7075

71-
Tips: if your preferred editor not available in CLI, make sure you've append it's binary file's directory to the `PATH`
76+
Tips:
77+
1. If your preferred editor not available in CLI, make sure you've append it's binary file's directory to the `PATH`
78+
2. You may need to authorize Alfred to access the folders containing the repos., see [here](https://www.alfredapp.com/help/getting-started/permissions/)
7279

7380
5. click `save` button to save variable settings
7481
6. click the bug 🐞 icon in the top right to show the debug log

SourceTree.alfredworkflow

77 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)