> Rather than discussing the actual conventions, make sure the IDE can read and 
> apply settings from Eclipse easily and exactly.

Not sure what this means. Just make sure plugins are able to format the code?

Still, NetBeans does provide formatting and coding hints. Both should follow 
/something/ and I assume Wade was wondering what standard to follow.

My angle is that NetBeans, just like Eclipse, *is* a de-facto standard. 

--emi

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On 16 March 2018 6:10 AM, Jaroslav Tulach <[email protected]> wrote:

> Here is my user comment.
> 
> My colleagues at OracleLabs integrated Eclipse formatter into our continuous 
> build. As far as I know it is the only formatter that works in headless mode 
> and is sort of standardized and a bit stable.
> 
> As it is annoying to always reformat from command line, I integrated Benny's 
> excellent formatter 
> http://plugins.netbeans.org/plugin/70382/eclipse-java-code-formatter-eclipse-neon-4-6-1a
>  into our NetBeans projects.
> 
> Rather than discussing the actual conventions, make sure the IDE can read and 
> apply settings from Eclipse easily and exactly.
> 
> My 2 Kč.
> 
> -jt
> 
> 14\. 3. 2018 v 8:22, Emilian Bold [email protected]:
> 
> > The coding conventions NetBeans follows and provides are "as-is". People 
> > that what to customize it have some options to toggle or could use 3rd 
> > party plugins.
> > 
> > Particularly since there is no global Java standard I don't believe we 
> > should be looking for extra work for nothing. For reference, the Google 
> > Java Style Guide is rather good.
> > 
> > Which standardised coding conventions do the Eclipse and IntelliJ IDEs 
> > follow?
> > 
> > --emi
> > 
> > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> > 
> > > On 12 March 2018 7:25 PM, Wade Chandler [email protected] wrote:
> > > 
> > > I noticed that Oracle has not maintained a convention for the Java 
> > > language like other groups have for their ecosystems. This also has not 
> > > materialized from OpenJDK:
> > > 
> > > http://www.oracle.com/technetwork/java/codeconvtoc-136057.html 
> > > http://www.oracle.com/technetwork/java/codeconvtoc-136057.html
> > > 
> > > http://openjdk.java.net/guide/codeConventions.html 
> > > http://openjdk.java.net/guide/codeConventions.html
> > > 
> > > https://wiki.openjdk.java.net/display/OpenJFX/Code+Style+Rules 
> > > https://wiki.openjdk.java.net/display/OpenJFX/Code+Style+Rules
> > > 
> > > http://cr.openjdk.java.net/~alundblad/styleguide/index-v6.html 
> > > http://cr.openjdk.java.net/~alundblad/styleguide/index-v6.html
> > > 
> > > Contrast this to:
> > > 
> > > https://www.python.org/dev/peps/pep-0008/ 
> > > https://www.python.org/dev/peps/pep-0008/
> > > 
> > > https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/inside-a-program/coding-conventions
> > >  
> > > https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/inside-a-program/coding-conventions
> > > 
> > > So, it just seems wrong to follow those links; the Java conventions were 
> > > a great example for years. I think the Google ones seem reasonable myself 
> > > unless we or others in the Java community take that up:
> > > 
> > > https://google.github.io/styleguide/javaguide.html 
> > > https://google.github.io/styleguide/javaguide.html
> > > 
> > > Any thoughts or other information? Am I missing something?
> > > 
> > > Thanks,
> > > 
> > > Wade
> > 
> > To unsubscribe, e-mail: [email protected]
> > 
> > For additional commands, e-mail: [email protected]
> > 
> > For further information about the NetBeans mailing lists, visit:
> > 
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to