question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Enhancement] Format existing code

See original GitHub issue

Search before asking

  • I had searched in the issues and found no similar issues.

Description

Currently , there is so many code that isn’t formatted. It will make the review hard.

subtask WIP:

Solution

The solution need to discuss.

- we can format all code at once. - we can format in batches, have priority to format the stable code.

------------------------- update ------------------------------

After I add checkstyle #9089 and fix them once #9113 .

I think we should fix code which can’t be fixed by IDEA-format with checkstyle at first.

So I add some subtask to do this thing.

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
jackwenercommented, Apr 18, 2022

The first thing is we should add a standard fe/checkstyle.xml. Which is need more discuss about what do we need rules.

0reactions
morrySnowcommented, Apr 29, 2022

I want to add style checker to fe step by step. According to discussion in dev list, I’ll do this in six steps.

For detail, you could see: list thread: https://lists.apache.org/thread/yxjplc7v6sb0kzc9jxr1kl1xy2v8ctr3

Read more comments on GitHub >

github_iconTop Results From Across the Web

Source Code Formatter & Beautifier - TextMagic Free Tools
Use our free source code formatter to instantly transform, beautify, and format HTML, XML, CSS, JavaScript, PHP, or JSON code.
Read more >
Automatically format and cleanup code every time you save
How to enable automatic formatting and cleanup · Go to Window > Preferences > Java > Editor > Save Actions. · Select Perform...
Read more >
Clean Code: Formatting (Source code structure) | Nerd For Tech
Conclusion. Code formatting can increase the readability and interpretation of a code. At the start of the project, aim to identify and be ......
Read more >
How do you auto format code in Visual Studio? - Stack Overflow
To format a selection: Ctrl + K , Ctrl + F. To format a document: Ctrl + K , Ctrl + D. See...
Read more >
Formatting Code - Eclipse
To format your whole script: Open the required file. Go to Source | Format Document or press Ctrl+Shift+F. Your code will be automatically...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found