Comments (9)
👍 I would really like this feature!
from atom-ruby-test.
I knew this would be brought up sooner or later. As you may know already, you can hide and show the output pane with Cmd+Ctrl+X. For a short while, I allowed ESC to hide the pane. The problem is, when you have one of the Text Search panes open, the ESC key closes that too, and maybe you don't want to close that pane, so you have to open it up again, with either Cmd+F or Cmd-Shift+F, depending on the feature. It starts to get annoying. I'm content using the Cmd+Ctrl+X key binding to show and hide the pane, the same way that Ctrl+/ shows and hides the file navigator pane.
Try modifying Ruby Test so that ESC hides the output pane, and give it a try for a few days. Let me know what you think. If you really want to make ESC close the pane, then someone should make that an optional feature, configurable from the package's settings.
from atom-ruby-test.
At the moment we can only map 'escape' to 'ruby-test:toggle', would it not be nicer to add 'ruby-test:hide' or 'ruby-test:close' for esc and keep Cmd+Ctrl+X for toggling?
from atom-ruby-test.
I didn't know about Cmd+Ctrl+X. I was thinking that the Esc key would close
the 'focused' pane not all of them, maybe that's not possible with Atom's
design.
On Friday, 4 July 2014, Moxley Stratton [email protected] wrote:
I knew this would be brought up sooner or later. As you may know already,
you can hide and show the output pane with Cmd+Ctrl+X. For a short while, I
allowed ESC to hide the pane. The problem is, when you have one of the Text
Search panes open, the ESC key closes that too, and maybe you don't want to
close that pane, so you have to open it up again, with either Ctrl+F or
Ctrl-Shift+F, depending on the feature. It starts to get annoying. I'm
content using the Cmd+Ctrl+X key binding to show and hide the pane, the
same way that Ctrl+/ shows and hides the file navigator pane. Try modifying
Ruby Test so that ESC hides the output pane, and give it a try for a few
days. Let me know what you think. If you really want to make ESC close the
pane, then someone should make that an optional feature, configurable from
the package's settings.—
Reply to this email directly or view it on GitHub
#15 (comment)
.
Adam Malcontenti-Wilson
from atom-ruby-test.
My vote is for keep it how it is. Esc should close find window, but not ruby test.
from atom-ruby-test.
I understand that some people might prefer that esc doesn't close the find panel as well, but I much rather have it closes both the test panel and the find panel than using cmd-alt-x
:(
This could be an optional feature, that doesn't hurt anyone. Why wasn't #66 accepted?
from atom-ruby-test.
Something changed recently? ESC used to close the test panel, and not interfere with the find panel on my system.
- click the test panel, hit ESC, the test panel would close, the find panel would remain if it was open
- click inside the find panel, hit ESC, the find panel would close
This is very intuitive behavior. But something changed within the last few days... ESC no longer closes the test panel.
👍 ESC is the most intuitive way to close the test panel imho.
from atom-ruby-test.
@vanboom Nothing has changed with ruby-test recently. ESC has never closed the ruby-test panel, at least not by design.
from atom-ruby-test.
Regarding the ask for ESC to close the pane, it is not a matter of intuition: ESC is already the key binding for closing the Find pane. By binding ESC to close the ruby-test panel, the Find panel cannot be closed with ESC, ever.
But even if you could fix it so that the Find panel closes with ESC when it's open and also closes ruby-test panel when it's open, what happens when both panes are open? Which one should close? Atom doesn't know which one you wanted closed. Sometimes you want the Find pane closed, sometimes you want the ruby-test pane closed. Maybe you want both. How does Atom decide?
You know, Atom already has a panel that opens and closes with a key binding that is not ESC: the tree view. It toggles open and closed with cmd+\
(on OS X). I use that sucker all the time. Probably like you with ruby-test, I don't want the tree view pane taking up space on my screen when I'm not using it, so I close it, with cmd+\
.
You can toggle the ruby-test pane with cmd-ctrl-x
(OS X) or ctrl-shift-x
(Win/Linux). If you want, you can configure your keymapping file to toggle the ruby-test pane with ESC, breaking the Find pane in the process.
If someone finds a way to bind ESC to the closing of ruby-test without breaking the Find pane, I will accept a code contribution to do so as long as that behavior is configurable, and it is disabled by default.
from atom-ruby-test.
Related Issues (20)
- Overwrites spec files white space if using Whitespace package HOT 1
- Atom 1.17 Docks support HOT 2
- Looking for maintainer HOT 4
- Toggle to the test panel to activate the package: cmd-ctrl-x does not work HOT 2
- Changes required due to TextBuffer.save becoming async in Atom 1.19 HOT 2
- Spring problem, terminal is reopening on each run
- Testing just opens a shell, but doesnt run the tests. HOT 1
- Not have option to zoom/alter the font, is very small. HOT 1
- Uncaught TypeError: Cannot read property 'nodeName' of undefined
- how to test gem
- platformio-ide-terminal no longer supported - how do I reconfigure to use terminus? HOT 3
- not working for win 7 HOT 1
- Closing the test pane leaves a blank bar HOT 2
- Using Atom 1.8.0, the Settings-->Packages widget cant find "Ruby Test" HOT 1
- Spec framework incorrectly identified as minitest when using require_relative spec_helper HOT 1
- Run tests for current code file HOT 2
- Suggestion: Command Prefix HOT 2
- Cancelling doesn't actually cancel. HOT 1
- Update Documentation for running single file test HOT 1
- Focus issue HOT 2
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 atom-ruby-test.