| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
this allows for the "right-click" contextual menu to show shortcuts for viewing the current
There was a problem hiding this comment.
Would this be better with more specific targets? The context menu gets really cluttered as it is, and underutilised as a consequence. When I add any context menu items to any of my packages I try and make sure they only show up where relevant.
Something like:
'context-menu':
'.tree-view .project-root-header,
.status-bar .git-branch': [
{ label: 'Open On Github', command: 'open-on-github:repository' }
]
'.tree-view .file': [
{ label: 'Open On Github', command: 'open-on-github:file' }
]for example.
Sorry, something went wrong.
|
@danielbayley That wouldn't work since Open on GitHub looks at the active pane item to determine which repo is open. Having the commands on the Tree View would mean that the Tree View would be the active pane item and so nothing would happen. |
Sorry, something went wrong.
|
@50Wliu this would work once #111 is merged |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
this allows for the "right-click" contextual menu to show shortcuts for viewing the current file
[Short description of suggestion]
Steps which explain the enhancement
Current and suggested behavior
this adds easier & maybe faster access to Open On Github functionality
Why would the enhancement be useful to most users
This adds another way to access existing functionality
Atom Version: 1.10.2
OS and Version: OS X 10.11.6