-
-
Notifications
You must be signed in to change notification settings - Fork 548
Add Auto Format item under the Edit menu #1230
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UPDATE: resolved by 6b32e79
The current menu path is very frequently mentioned by the community members who provide volunteer support to the beginners who invariably share code that is unreadable due to atrocious formatting.
For example, this is the Arduino forum's most important document:
https://forum.arduino.cc/t/how-to-get-the-best-out-of-this-forum/679966
It contains four mentions of the current Tools > Auto Format menu path.
|
I'm with @per1234 on this Please add it to the Edit menu but don't remove from Tools |
273d306 to
6b32e79
Compare
|
I missed the comment of @ubidefeo, here I've restored the
CC: @per1234, @davegarthsimpson. |
arduino-ide-extension/src/browser/contributions/edit-contributions.ts
Outdated
Show resolved
Hide resolved
Co-authored-by: per1234 <accounts@perglass.com>
per1234
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Francesco!
AlbyIanna
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Motivation
Auto Formatshould be placed under theEditmenu according to the design specifications.Change description
A new
registerMenuActionhas been added under theEditmenu with theAuto Formatcommand.Other information
Closes #1229.
Reviewer checklist