Skip to content

Auto Format function does not work #194

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
MicSG-dev opened this issue Mar 10, 2021 · 7 comments
Closed

Auto Format function does not work #194

MicSG-dev opened this issue Mar 10, 2021 · 7 comments
Labels
conclusion: duplicate Has already been submitted topic: language server Related to the Arduino Language Server type: imperfection Perceived defect in any part of project

Comments

@MicSG-dev
Copy link

MicSG-dev commented Mar 10, 2021

The Auto Format function, triggered by the shortcut CTRL + T or the Tools -> Auto Format menu, is not working. When triggering Auto Format, nothing happens to the code when it is badly formatted.

IDE Version:

Version: 2.0.0-beta.3
Date: 2021-02-26T10:48:13.025Z
CLI Version: 0.16.1 alpha [76f55490]

@per1234
Copy link
Contributor

per1234 commented Mar 10, 2021

Hi @MicSG-dev. Thanks so much for all your valuable feedback about the beta release of Arduino IDE 2.0.0!

For future issues, please submit them to the new issue tracker:
https://github.com/arduino/arduino-ide/issues
The one you're been using (https://github.com/arduino/Arduino/issues) is only for use when reporting issues with the classic Arduino IDE. I have transferred this and your other issues to the new tracker.

@per1234 per1234 transferred this issue from arduino/Arduino Mar 10, 2021
@kittaakos
Copy link
Contributor

This issue a duplicate of #83. Closing. @MicSG-dev, let me know if you disagree and I am happy to discuss it.

@MicSG-dev
Copy link
Author

MicSG-dev commented Mar 11, 2021

In #83, it says that "Automatic formatting seems to work only on INO files; nothing happens when applied to h or cpp files". But my problem is that automatic formatting for INO files does not work.

I installed the arduino IDE 2.0 by zip.

@kittaakos
Copy link
Contributor

In #83, it says that "Automatic formatting seems to work only on INO files; nothing happens when applied to h or cpp files". But my problem is that automatic formatting for INO files does not work.

I installed the arduino IDE 2.0 by zip.

Thanks for the feedback, you're right. I have linked the incorrect issue. Here is the correct one: #78

@MicSG-dev
Copy link
Author

ok

@kittaakos
Copy link
Contributor

The fix will be part of the next beta release for sure. The changes are all ready for the merge. Please bear with us. Thanks!

@MicSG-dev
Copy link
Author

Don't worry, take as much time as you need. I'm happy to help.

@rsora rsora added the topic: language server Related to the Arduino Language Server label Sep 22, 2021
@per1234 per1234 added the type: imperfection Perceived defect in any part of project label Oct 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: duplicate Has already been submitted topic: language server Related to the Arduino Language Server type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

4 participants