This repository was archived by the owner on Jan 8, 2025. It is now read-only.
forked from atom/snippets
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Add command property that registers a command name for a snippet
#10
Merged
Spiker985
merged 11 commits into
pulsar-edit:master
from
savetheclocktower:add-command-property
Feb 23, 2023
Merged
Changes from 9 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
29deddc
Add eslint
savetheclocktower d944225
Add ability to assign a snippet to a command name
savetheclocktower 8133849
Add tests.
savetheclocktower e8c3495
Update README.md.
savetheclocktower 34bd7ff
Fix failing test
savetheclocktower 5bf4a85
Debounce the user-snippets-file-changed handler
savetheclocktower d4835d8
Testing a branch of action-pulsar-dependency
savetheclocktower 159459f
Workflow attempt 2
savetheclocktower 6410899
Fix spec failure on Windows
savetheclocktower 8f87140
Apply suggestions from code review
savetheclocktower 91076f5
Update .github/workflows/pulsar_test.yml
Spiker985 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| *.pegjs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| { | ||
| "parserOptions": { | ||
| "sourceType": "module", | ||
| "ecmaVersion": 2022 | ||
| }, | ||
| "rules": { | ||
| "indent": ["error", 2], | ||
| "linebreak-style": ["error", "unix"], | ||
| "object-curly-spacing": ["error", "never"], | ||
| "space-before-function-paren": ["error", "always"], | ||
| "semi": ["error", "never"] | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,11 +14,17 @@ jobs: | |
| - name: Checkout the Latest Package Code | ||
| uses: actions/checkout@v3 | ||
| - name: Setup Pulsar Editor | ||
| uses: pulsar-edit/[email protected] | ||
| with: | ||
| package-to-test: "snippets" | ||
| uses: pulsar-edit/action-pulsar-dependency@s985-update-win-path-registration | ||
| - name: Install dependencies (Windows) | ||
| if: ${{ runner.os == 'Windows' }} | ||
| # Currently the Pulsar process starts, but unlike *nix doesn't wait for ppm to finish, probably because pulsar.cmd needs updated | ||
| # So we'll fallback to ppm (still named apm) instead | ||
| run: apm install | ||
| - name: Install dependencies (*nix) | ||
| if: ${{ runner.os != 'Windows' }} | ||
| run: pulsar --package install | ||
| - name: Run the headless Pulsar Tests | ||
| uses: GabrielBB/xvfb-action@v1 | ||
| uses: GabrielBB/xvfb-action@v1.6 | ||
savetheclocktower marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| with: | ||
| run: yarn start --test spec | ||
| working-directory: ./pulsar | ||
| run: pulsar --test spec | ||
| # working-directory: ./pulsar | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.