File tree 1 file changed +11
-0
lines changed
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,17 @@ Drop it into the Eclipse
72
72
[ drop-ins folder] ( http://help.eclipse.org/neon/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fmisc%2Fp2_dropins_format.html )
73
73
to activate the plugin.
74
74
75
+ Paste also these lines to the ` eclipse.ini ` file:
76
+
77
+ ```
78
+ --add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED
79
+ --add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED
80
+ --add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED
81
+ --add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED
82
+ --add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED
83
+ --add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
84
+ ```
85
+
75
86
The plugin adds a ` google-java-format ` formatter implementation that can be
76
87
configured in `Window > Preferences > Java > Code Style > Formatter > Formatter
77
88
Implementation`.
You can’t perform that action at this time.
0 commit comments