Skip to content

Comment/Uncomment broken #3513

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

Closed
probonopd opened this issue Jul 12, 2015 · 3 comments
Closed

Comment/Uncomment broken #3513

probonopd opened this issue Jul 12, 2015 · 3 comments
Assignees
Labels
Component: IDE user interface The Arduino IDE's user interface
Milestone

Comments

@probonopd
Copy link
Contributor

Steps to reproduce:

  • Open a new sketch, it has a // put your setup code here, to run once:line
  • Put the cursor into that line
  • Select "Comment/Uncomment" from the menu

Expected result:
put your setup code here, to run once:
Actual result:
// // put your setup code here, to run once:

Also it would be nice if Comment/Uncomment and Auto Format would work nicely together. Right now, using Comment/Uncomment, then Auto Format, and then Comment/Uncomment again breaks it.

I am using bildschirmfoto 2015-07-12 um 12 52 37 on OS X 10.9.

@per1234
Copy link
Collaborator

per1234 commented Jul 12, 2015

It only happens with indented comments.

@probonopd
Copy link
Contributor Author

Correct. It also happens that Auto Format indents comments.

@facchinm facchinm added the Component: IDE user interface The Arduino IDE's user interface label Jul 13, 2015
@ffissore
Copy link
Contributor

ffissore commented Sep 8, 2015

Fixed. Autoformat keeps on formatting comments. This can be easily disabled editing file formatter.conf and saving a copy into your own Arduino15 folder

@ffissore ffissore added this to the Release 1.6.6 milestone Sep 8, 2015
sandeepmistry pushed a commit to sandeepmistry/Arduino that referenced this issue Sep 29, 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
Projects
None yet
Development

No branches or pull requests

4 participants