Comments (6)
That looks like the output view. It's a view that's serialized and restored across window sessions. If you close it and don't open it again, it shouldn't be restored automatically. Is that the case?
from git-plus.
That looks like the output view. It's a view that's serialized and restored across window sessions. If you close it and don't open it again, it shouldn't be restored automatically. Is that the case?
Yes. it's the output view, it's restored when you open a new window or when you close and reopen Atom.
It wuold be nice to have a setting to create it or not on startup. I can always click on git+ on the status bar or set a keyboard shortcut to show the output when I need it.
from git-plus.
Since this is really an artifact of how atom serializes and deserializes workspaces, I'd suggest the manual band-aid for now until the setting is added, which is to keep that bottom dock closed and toggle it when you want. The window should only be restored to the way it was before it was torn down. So if the dock was open, it will be open at the next startup of that same set of project folders.
Pull requests are welcome by the way 😄
from git-plus.
I've not been very clear. I meant the split pane's creation (including the toggle arrow) not the closed/open state 😅
I don't even want to see the toggle arrow to open the split pane after Atom startup beacuse for me it's annoying to have it there, so I have to remove the entire pane by clicking on the cross button of the only existing 'Git+' tab.
I updated the issue title and my comments.
from git-plus.
Oh now I see. So atom calls those toggle-able panes, docks, and when I read split-pane, I thought you were saying new tabs are being created in the center of the workspace.
Here's a gif demonstrating the dock serialization behavior I see. If yours is doing something else, then I'd like to know why.
If your dock behavior is the same, then my suggestion to just keep the dock closed and toggle it when you need to should solve your problem for now.
from git-plus.
The problem is that i don't want the dock to be created if destroyed before (i can click on git+ on the status bar if I want to create it) because the toggle arrow annoys me (reason in my 1st post).
If I close the last tab in the dock and the dock is destroyed, I want it to stay destroyed (so no toggle arrow has to be present in the window) after reloading the window.
I think in code the dock's view is OutputViewContainer
. So I would propose to add a setting (like notAutocreateDockAtStartup
) or to check the last state == destroyed (or both), e.g. at creation time:
if (this.outputView === null && GitPlusSettings.notAutocreateDockAtStartup
&& lastOutputViewState === 'destroyed') {
// outputView remains null
} else {
this.outputView = new OutputViewContainer();
}
from git-plus.
Related Issues (20)
- difftool inside submodule
- Is this a bug? HOT 4
- [REQUEST] - Name of the theme / syntax theme in the Gif HOT 1
- [REQUEST] Add command to delete local and remote branches at the same time HOT 4
- Typo in "trigger creatinga a new branch"
- Git diff multiple panels HOT 8
- Unable to create... '.git/index.lock': File exists HOT 2
- [REQUEST] split diff for git log
- Support submodules HOT 1
- Start in a non-git directory takes about 400ms HOT 2
- Uncaught TypeError: Cannot read property 'forEach' of undefined
- Failed to install Git Plus Package in Atom : Windows 10
- atom
- [QUESTION] UNC path fail to work on W10
- No git add option for new files
- New feature HOT 1
- Branch names in folder titles aren't coloring correctly on One Light theme
- "Delete Branch (Local and Remote)" only deletes remote branch
- git plus is depreciated On W10 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-plus.