File: README.md
This repo is Archived under Pulsar-Edit. As it's now Bunlded into the Core Editor [PR#314](https://github.com/pulsar-edit/pulsar/pull/314)
Open on GitHub package
Provides commands to quickly view the current file on GitHub.com (The Website).
Usage
When editing a file in Pulsar, use the command palette or keyboard shortcuts to:
- Open the file on github.com alt-g, o
- Open the blame view for the file on github.com alt-g, b
- Open the history view for the file on github.com alt-g, h
- Open the issues view for the repository the file belongs to on github.com alt-g, i
- Open the pull requests view for the repository the file belongs to on github.com alt-g, p
- Open the compare page for the current branch on github.com alt-g, r
- Copy the github.com URL for the currently selected lines alt-g, c
Remote URL detection
The GitHub repository URL is guessed from the current branch and Git remote information. To override the defaults, you can use git config to set the remote and branch name:
git config atom.open-on-github.remote upstream
git config atom.open-on-github.branch some-branchInspired by the GitHub Tools package for Sublime Text 2.
File: CONTRIBUTING.md
File: LICENSE.md
Copyright (c) 2014 GitHub Inc.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
File: package.json
{
"name": "open-on-github",
"version": "1.3.2",
"main": "./lib/main",
"description": "View the active file on github.com",
"repository": "https://github.com/pulsar-edit/open-on-github",
"license": "MIT",
"activationCommands": {
"atom-pane": [
"open-on-github:blame",
"open-on-github:branch-compare",
"open-on-github:copy-url",
"open-on-github:file",
"open-on-github:file-on-master",
"open-on-github:history",
"open-on-github:issues",
"open-on-github:pull-requests",
"open-on-github:repository"
]
},
"engines": {
"atom": "*"
},
"devDependencies": {
"fs-plus": "^3.0.1",
"temp": "^0.8.3"
},
"configSchema": {
"includeLineNumbersInUrls": {
"default": true,
"type": "boolean",
"description": "Include the line range selected in the editor when opening or copying URLs to the clipboard. When opened in the browser, the GitHub page will automatically scroll to the selected line range."
}
}
}
File: spec/fixtures/project/file1.txt
[Empty file]
File: spec/fixtures/project/file2.txt
[Empty file]
File: .github/no-response.yml
Configuration for probot-no-response - https://github.com/probot/no-response
Number of days of inactivity before an issue is closed for lack of response
daysUntilClose: 28
Label requiring a response
responseRequiredLabel: more-information-needed
Comment to post when closing an issue for lack of response. Set to `false` to disable.
closeComment: >
This issue has been automatically closed because there has been no response
to our request for more information from the original author. With only the
information that is currently in the issue, we don't have enough information
to take action. Please reach out if you have or find the answers we need so
that we can investigate further.
File: .github/workflows/ci.yml
name: CI
on: [push]
env:
CI: true
jobs:
Test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
channel: [stable, beta]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- uses: UziTech/action-setup-atom@v2
with:
version: ${{ matrix.channel }}
- name: Install dependencies
run: apm install
- name: Run tests
run: atom --test spec