-
Notifications
You must be signed in to change notification settings - Fork 581
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
Is there any editorconf settings for the IDEs? #12
Comments
👍 |
1 similar comment
👍 |
I need |
I think we should provide this too. Will look into it. |
👍 IntelliJ - was going to do this meself |
@pcleary00 if you do create one, please submit a pull request here too. Thanks! |
Please share style configs for IntelliJ |
@pcleary00 please share style configs |
Any update? |
👍 |
Sorry everyone, have not been updating any status here. Kinda sad but I haven't done anything here. I found scalafmt and kinda just ran with it. |
For IntelliJ, here's a couple of settings that I've manually set for my Databricks-styled Scala projects: To prevent IntelliJ from vertically-aligning wrapped method parameter lists, uncheck the "Align when multiline" option for "method declaration parameters" in the Scala code style configuration: To fix comment formatting to use Javadoc-style formats instead of Scaladoc, uncheck the "Use scaladoc indent for leading asterisk" option in the ScalaDoc settings: For imports: IntelliJ's configuration mechanism can't perfectly capture our import ordering convention (it sometimes gets confused by sorting within certain import groups), but it's possible to get close such that automatic imports don't continually break the code style. For Scala, use the following configuration: For Java: |
Most of the settings like indentation, method naming and all can we put together in a editorconf file so that everyone can use that, if possible ?
The text was updated successfully, but these errors were encountered: