dbslone / git-tabs Goto Github PK
View Code? Open in Web Editor NEWRe-opens tabs based upon current working branch
License: MIT License
Re-opens tabs based upon current working branch
License: MIT License
[Enter steps to reproduce:]
Atom: 1.16.0 x64
Electron: 1.3.13
OS: Ubuntu 16.04.2
Thrown From: git-tabs package 0.1.2
Failed to activate the git-tabs package
At Cannot read property 'getShortHead' of null
TypeError: Cannot read property 'getShortHead' of null
at /packages/git-tabs/lib/tab-manager.js:14:30)
at Object.activate (/packages/git-tabs/lib/git-tabs.js:21:23)
at Package.module.exports.Package.activateNow (/app.asar/src/package.js:218:19)
at /app.asar/src/package.js:190:32
at Package.module.exports.Package.measure (/app.asar/src/package.js:96:15)
at /app.asar/src/package.js:183:26
at Package.module.exports.Package.activate (/app.asar/src/package.js:180:34)
at PackageManager.module.exports.PackageManager.activatePackage (/app.asar/src/package-manager.js:550:34)
at /app.asar/src/package-manager.js:531:29
at Config.module.exports.Config.transactAsync (/app.asar/src/config.js:337:18)
at PackageManager.module.exports.PackageManager.activatePackages (/app.asar/src/package-manager.js:526:19)
at PackageManager.module.exports.PackageManager.activate (/app.asar/src/package-manager.js:508:46)
at /app.asar/src/atom-environment.js:826:28
ariake-dark-syntax 0.1.3
atom-clock 0.1.7
atom-material-syntax 1.0.2
atom-material-ui 1.3.10
context-git 0.15.8
git-commit 1.5.3
git-control 0.9.0
git-controlhub 0.4.0
git-go 1.0.5
git-grep 0.9.0
git-log 0.4.1
git-plus 7.8.0
git-plus-plus 1.1.0
git-projects 1.17.0
git-status 0.3.4
git-tabs 0.1.2
git-tools 0.4.1
Hydrogen 1.12.1
open-git-modified-files 0.2.4
qolor 0.4.1
tree-view-git-branch 0.1.2
tree-view-git-status 1.3.1
On OS X El Capitan, when the Atom application is open, switching branches from the command line (and presumably, anywhere outside of an Atom plugin) causes Atom to take over application focus, opening a new window if necessary.
This behavior is subverted when opting to use the confirmation dialog in the package settings, but ideally the context switch would happen in the background, without wrenching focus: it's annoying to be doing things in my terminal, switch branches and then suddenly find myself back in my text editor when I had no intention of being there.
It would be very useful if this plugin could support multiple panes. As it is now, when I switch to a previously active branch, it will open all my previous files (which is great), but it does so by collecting them all into a single pane - so I have to spend time splitting the window in the ways I had before and putting each of the tabs into the right splits.
Thank you for a great plugin!
Would you also be able to add support to track tabs for when multiple project roots / multiple git repos are open?
Use case: large git repo with separate front-end and back-end repos.
Functionality: changing the branch for one repo will only close the tabs for that project folder and will open the tabs stored for the new branch. Preferably in the same order as the projects are open in the file tree, but I understand if ordering is not possible.
[Enter steps to reproduce:]
Atom: 1.21.1 x64
Electron: 1.6.15
OS: Unknown Windows version
Thrown From: git-tabs package 0.2.0
Failed to activate the git-tabs package
At Illegal argument undefined
Error: Illegal argument undefined
at module.exports (/packages/git-tabs/node_modules/md5/md5.js:152:13)
at TabManager.updateRepo (/packages/git-tabs/lib/tab-manager.js:28:16)
at /packages/git-tabs/lib/tab-manager.js:17:12)
at Object.activate (/packages/git-tabs/lib/git-tabs.js:9:23)
at Package.module.exports.Package.activateNow (~/AppData/Local/atom/app-1.21.1/resources/app/src/package.js:253:25)
at ~/AppData/Local/atom/app-1.21.1/resources/app/src/package.js:225:38
at Package.module.exports.Package.measure (~/AppData/Local/atom/app-1.21.1/resources/app/src/package.js:99:21)
at ~/AppData/Local/atom/app-1.21.1/resources/app/src/package.js:218:32
at Package.module.exports.Package.activate (~/AppData/Local/atom/app-1.21.1/resources/app/src/package.js:215:40)
at PackageManager.activatePackage (~/AppData/Local/atom/app-1.21.1/resources/app/src/package-manager.js:690:42)
at ~/AppData/Local/atom/app-1.21.1/resources/app/node_modules/settings-view/lib/package-manager.js:535:35
at exit (~/AppData/Local/atom/app-1.21.1/resources/app/node_modules/settings-view/lib/package-manager.js:128:22)
at triggerExitCallback (~/AppData/Local/atom/app-1.21.1/resources/app/src/buffered-process.js:338:17)
at ChildProcess.<anonymous> (~/AppData/Local/atom/app-1.21.1/resources/app/src/buffered-process.js:368:17)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
-1:46.6.0 tree-view:show (atom-workspace.workspace.scrollbars-visible-always)
angularjs 0.4.0
angularjs-snippets 0.10.18
api-docs 0.0.6
atom-beautify 0.30.5
atom-bootstrap3 1.2.12
atom-browser 0.53.0
atom-js-console 1.2.2
atom-material-syntax 1.0.7
atom-material-syntax-dark 1.0.0
atom-material-ui 2.0.5
atom-sync-packages 1.1.0
atom-terminal 0.8.0
atom-ternjs 0.18.3
busy-signal 1.4.3
chary-tree-view 0.2.13
clipboard-plus 0.5.1
code-peek 1.4.21
color-picker 2.2.5
color-tabs 0.1.8
css-snippets 1.1.0
directory-color 0.3.0
docblockr 0.11.0
emmet 2.4.3
file-icons 2.1.13
firacode 0.3.0
git-log 0.4.1
git-tabs 0.2.0
git-time-machine 1.5.9
highlight-selected 0.13.1
indent-guide-improved 1.4.13
intentions 1.1.5
linter 2.2.0
linter-csslint 2.0.0
linter-htmlhint 1.3.4
linter-jshint 3.1.6
linter-ui-default 1.6.10
livereload 0.4.4
merge-conflicts 1.4.5
min-ui 0.0.4
minimap 4.29.7
minimap-cursorline 0.2.0
minimap-find-and-replace 4.5.2
minimap-git-diff 4.3.1
minimap-highlight-selected 4.6.1
minimap-pigments 0.2.2
monokai-seti 0.9.0
open-recent 5.0.0
open-terminal-here 2.3.1
pigments 0.40.2
pinned-tabs 1.3.0
platformio-ide-terminal 2.7.0
recent-files-fuzzy-finder 0.3.2
remember-folds 0.3.0
seti-syntax 1.1.3
seti-ui 1.9.0
solarized-seti-ui 0.8.6
sync-settings 0.8.3
todo-show 2.1.0
tree-view-autoresize 2.2.0
tree-view-filter 0.5.3
tree-view-git-status 1.4.0
tree-view-panes 0.3.7
xatom-ui 0.2.0
Atom: 1.17.0 x64
Electron: 1.3.15
OS: Ubuntu 16.04.2
Thrown From: git-tabs package 0.1.3
Uncaught ReferenceError: branchName is not defined
At /home/user/.atom/packages/git-tabs/lib/tab-manager.js:54
ReferenceError: branchName is not defined
at TabManager.onDidChangeStatuses (/packages/git-tabs/lib/tab-manager.js:54:38)
at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom/resources/app/node_modules/event-kit/lib/emitter.js:25:1)
at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app/node_modules/event-kit/lib/emitter.js:129:1)
at Task.callback (/usr/share/atom/resources/app/src/git-repository.js:412:1)
at /usr/share/atom/resources/app/src/task.js:67:1
at /usr/share/atom/resources/app/src/task.js:128:1
at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom/resources/app/node_modules/event-kit/lib/emitter.js:25:1)
at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app/node_modules/event-kit/lib/emitter.js:129:1)
at ChildProcess.<anonymous> (/usr/share/atom/resources/app/src/task.js:80:1)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at process.nextTick (internal/child_process.js:744:12)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
-1:32.2.0 multirow-tabs:toggle (atom-workspace.workspace.scrollbars-visible-always)
-1:32.2.0 tree-view:show (atom-workspace.workspace.scrollbars-visible-always)
-1:26 core:close (div.panels-item)
atom-beautify 0.29.26
atom-npm-outdated 0.11.5
open-project-file 1.1.1
autocomplete-modules 1.6.10
busy-signal 1.4.1
dash 1.7.1
docblockr 0.10.3
editorconfig 2.2.2
file-icons 2.1.6
gist-it 0.9.2
git-tabs 0.1.3
git-time-machine 1.5.9
highlight-selected 0.13.1
hyperclick 0.0.40
hyperlink-hyperclick 1.3.4
intentions 1.1.2
js-hyperclick 1.11.0
language-babel 2.65.0
language-docker 1.1.8
language-terraform 0.8.1
linter 2.1.4
linter-eslint 8.2.1
linter-jsonlint 1.3.0
linter-stylelint 3.10.0
linter-ui-default 1.6.0
markdown-writer 2.6.5
minimap 4.28.2
minimap-highlight-selected 4.6.1
minimap-pigments 0.2.2
node-debugger 1.10.1
open-git-modified-files 0.2.4
open-recent 5.0.0
pigments 0.39.1
prettier-atom 0.31.1
pretty-json 1.6.3
project-manager 3.3.5
rainbow-tabs 2.2.1
require-opener 2.0.3
screen-recorder 1.2.3
todo-show 1.11.0
Just installed git-tabs
and it closed all of my open tabs.
I would expect it to keep all tabs open if there aren't any stored.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.