Confirm project formatting settings
See original GitHub issueFollow-up from https://github.com/flutter/flutter-intellij/pull/2439#discussion_r198508474.
@quangson91 and I differ on how auto-format treats:
for (String s : new ArrayList<String>()) {
}
Could someone chime in with there results?
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Code style schemes | IntelliJ IDEA Documentation - JetBrains
To configure a scheme for new projects, go to File | New Projects Setup | Settings/Preferences for New Projects | Editor | Code...
Read more >Identify the project format | Microsoft Learn
Check the project format in Visual Studio · Right-click the project in Solution Explorer and select Edit myprojectname.csproj. · From the Project ......
Read more >How to enforce a consistent coding style in your projects
The EditorConfig project consists of a file format for defining coding styles and a collection of text editor plugins that enable editors to ......
Read more >Java formatting and linting - Visual Studio Code
Language Support for Java™ by Red Hat also provides formatting settings. ... (Google's or Sun's Check) or your own customized files for your...
Read more >Working with Project Settings in the AWS Cloud9 Integrated ...
Code and formatting behaviors for programming languages such as JavaScript, PHP, Python, and Go. The types of configurations to use when running and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m using Android Studio developer settings. It adds the space before the colon if I delete it. I’m pretty sure I have always (since Eclipse days) put a space before and after the colon in for-each statements. Sorry, but I don’t currently have the Flutter or Dart projects configured to easily check the formats they use. Also see: https://google.github.io/styleguide/javaguide.html#s4.6-whitespace
Aha! That must be it. I’m on EAP 2018.2 and I’m guessing it’s a new setting that defaults to
false
. Thanks for tracking that down!