Browse Source

Add custom class member ordering.

Netbeans wants to put static methods between static fields and
instance fields by default. Do not want.

Change-Id: I356ce7528dd0ed8874355faa20f9c1c1c92c8896
Reviewed-on: http://gerrit.dmdirc.com/2764
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager
tags/0.8rc1
Chris Smith 10 years ago
parent
commit
c67eb69d80
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      nbproject/project.properties

+ 1
- 0
nbproject/project.properties View File

@@ -10,6 +10,7 @@ auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.text-limit-width=
10 10
 auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.text-line-wrap=none
11 11
 auxiliary.org-netbeans-modules-editor-indent.CodeStyle.usedProfile=project
12 12
 auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.allowConvertToStarImport=false
13
+auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.classMembersOrder=STATIC_INIT;STATIC FIELD;FIELD;INSTANCE_INIT;CONSTRUCTOR;STATIC METHOD;METHOD;STATIC CLASS;CLASS
13 14
 auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.countForUsingStaticStarImport=1
14 15
 auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.importGroupsOrder=com.dmdirc;com.google;com.palantir;java;javax;lombok;net.miginfocom;org;*;static *
15 16
 auxiliary.org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.separateStaticImports=true

Loading…
Cancel
Save