Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve new editor keyboard shortcuts, especially on mac #3098

Closed
ffissore opened this issue May 7, 2015 · 9 comments
Closed

Improve new editor keyboard shortcuts, especially on mac #3098

ffissore opened this issue May 7, 2015 · 9 comments
Assignees
Labels
Component: IDE user interface The Arduino IDE's user interface OS: OSX Specific to the Mac OS X (macOS) version of the Arduino IDE
Milestone

Comments

@ffissore
Copy link
Contributor

ffissore commented May 7, 2015

Starting from @damellis suggestions: #3019 (comment)

@ffissore ffissore added OS: OSX Specific to the Mac OS X (macOS) version of the Arduino IDE Component: IDE user interface The Arduino IDE's user interface labels May 7, 2015
@ffissore ffissore self-assigned this May 7, 2015
@damellis
Copy link
Contributor

damellis commented May 7, 2015

Three in particular that would be nice to fix:
Alt-Backspace should delete the word preceding the cursor. (This works in 1.6.4).
Command-E should use the current selection for find. (This works in 1.6.4.) Also, Command-F should not use the current selection for find; it should use the previous find text. (This is wrong in 1.6.4, too.)
Command-Up should go to the start of the file; Command-Down to the bottom. (This doesn't work in 1.6.4 either.)

@ffissore
Copy link
Contributor Author

Alt-Backspace restored. Available in next hourly build

@damellis
Copy link
Contributor

Thanks!

@damellis
Copy link
Contributor

Whoops, maybe I spoke too soon... it looks like this is deleting the word in front of the cursor, instead of behind it.

@ffissore
Copy link
Contributor Author

Whoops sorry. I coded that on purpose because I read your comment... Ehm...
Backwards
Il giorno 13/mag/2015 18.47, "David A. Mellis" notifications@github.com
ha scritto:

Whoops, maybe I spoke too soon... it looks like this is deleting the word
in front of the cursor, instead of behind it.


Reply to this email directly or view it on GitHub
#3098 (comment).

@damellis
Copy link
Contributor

I probably wasn't clear. Sorry about that!

ffissore pushed a commit that referenced this issue May 14, 2015
… position, ALT+BACKSPACE deletes previous word. See #3098
@ffissore
Copy link
Contributor Author

Fixes pushed. From your comment I miss only CMD+J: what does it do?

@damellis
Copy link
Contributor

Thanks again!

One minor nitpick: Cmd+E shouldn't open the Find dialog; it just sets the Find text (e.g. for use by subsequent Cmd+G commands).

In the current build, Cmd+J concatenates the next line onto the end of the current line. I find the equivalent behavior (J-key) useful in Vi, but here it seems out of place. Also probably a minor nitpick.

ffissore pushed a commit that referenced this issue May 15, 2015
… the editor has no such feature, CMD+J is disabled on mac. See #3098
@ffissore
Copy link
Contributor Author

Uhm I guess we may leave CMD+E as it is (although it will look a little awkward, it will still implement the feature) and remove CMD+J on macosx (thus avoiding errors).
Closing, as the new editor should now behave as expected

@ffissore ffissore modified the milestone: Release 1.6.5 May 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: IDE user interface The Arduino IDE's user interface OS: OSX Specific to the Mac OS X (macOS) version of the Arduino IDE
Projects
None yet
Development

No branches or pull requests

2 participants