Comments (10)
It's a bit difficult to find bindings that are relatively obvious and free.
I suggest Ctrl+Enter for "Run" and Ctrl+Backspace for "Clear", ⌘+Enter & ⌘+Backspace on Mac.
from devrel.
Ctrl
+Enter
for "Run" is great but Ctrl
+Backspace
is already taken for "delete word before cursor" (in most text editors and browsers). You could use Ctrl
+Shift
+Backspace
for that.
from devrel.
Not a big fan of a 3 keys combo. What about Ctrl+Esc instead?
from devrel.
Ctrl
+Esc
is at least used by Windows for bringing up the start menu.
from devrel.
+1 to command
+return
on Mac for running -- makes sense and is consistent with other behaviour (like sending this comment). I think sending the focus to the code window after run makes sense.
It's fine If we don't settle on clear for now as cmd
+a
then delete
is a native way to clear the window without having to map anything and it keeps the focus.
from devrel.
Note that "clear" clears both the editor and the console.
from devrel.
I'd be super happy with just the Run shortcut and I'm not sure I would use a Clear shortcut often enough to warrant a shortcut.
from devrel.
Isn't Esc a good "Clear" (console & editor) shortcut?
from devrel.
Ctrl
+Shift
+Backspace
is not uncommon for larger deletes, e.g. in GitHub comment fields it deletes a line.
Isn't
Esc
a good "Clear" (console & editor) shortcut?
Only if a popup asks whether you really want to do that. Otherwise Esc
is too commonly used to have such destructive effects.
from devrel.
I am unsure whether an option to clear the console together with the output is really necessary. After all, the console is cleared anyways when re-running the code.
from devrel.
Related Issues (20)
- [Web Issue]: dev.java/community/ still mentions Java 21 as future release
- [Suggestion]: Add a Preview category to the Examples collection HOT 1
- [Web Issue]: broken inside.java RSS feed HOT 1
- [Epic]: Jupyter notebook functionality for Java HOT 1
- [Bug]: The console output pane has a `charset` of US-ASCII rather than UTF-8 HOT 3
- [Bug]: Dismissing the exception for unsupported operation. HOT 2
- [Request]: Store user created snippets and allow linking to them HOT 1
- [Bug]: Emoji character causes freeze HOT 1
- [Bug]: String display issue when it contains html element HOT 2
- [Bug]: Unexpected String-representation of system stream in formatted output
- [Web Issue]: JEP 464 inside.java link redirects to JEP 436 HOT 2
- [Web]: inside.java Video entry "Java 21 and Beyond: A Roadmap of Innovations" containing invalid iframe HOT 1
- inside.java: blog posts containing links redirect automatically
- [Typo] Minor date typo in "The Arrival of Java 22" article HOT 1
- Document default import
- [Web]: Wrong link in inside.java DOP v1.1 immutably and transparently --> Data and nothing but the Data HOT 1
- [Bug]: double slash in string causes a "string is not properly closed" error
- [Bug]: typo in playground sample name
- [Web]: "When to use Data-Oriented Programming v1.1" is positioned differently
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 devrel.