Skip to content

Commit badd385

Browse files
authored
Add eclipse.ini changes in README.md
See google#991
1 parent bec248b commit badd385

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,17 @@ Drop it into the Eclipse
7272
[drop-ins folder](http://help.eclipse.org/neon/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fmisc%2Fp2_dropins_format.html)
7373
to activate the plugin.
7474

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+
7586
The plugin adds a `google-java-format` formatter implementation that can be
7687
configured in `Window > Preferences > Java > Code Style > Formatter > Formatter
7788
Implementation`.

0 commit comments

Comments
 (0)