Skip to content

Commit 5417483

Browse files
committed
Update README.md
1 parent 9218562 commit 5417483

1 file changed

Lines changed: 24 additions & 8 deletions

File tree

README.md

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,7 @@ This linter plugin for [SublimeLinter](https://github.com/SublimeLinter/SublimeL
77
SublimeLinter 3 must be installed in order to use this plugin. If SublimeLinter 3 is not installed, please follow the instructions [here](https://github.com/SublimeLinter/SublimeLinter.github.io/wiki/Installation).
88

99
### Linter installation
10-
Before using this plugin, you must ensure that `java` is installed on your system. To install `java`, do the following:
11-
12-
1. Install Other.
13-
14-
1. Install `java` by typing the following in a terminal:
15-
```
16-
<package manager> install java
17-
```
10+
Before using this plugin, you must ensure that `java` is installed on your system.
1811

1912
Once java is installed, you can proceed to install the SublimeLinter-java plugin if it is not yet installed.
2013

@@ -28,6 +21,29 @@ To install via Package Control, do the following:
2821
1. When the plugin list appears, type `java`. Among the entries you should see `SublimeLinter-java`. If that entry is not highlighted, use the keyboard or mouse to select it.
2922

3023
## Settings
24+
SublimeLinter-java use project settings (*.sublime-project files) to define classpath:
25+
26+
```
27+
{
28+
"folders":
29+
[
30+
...
31+
],
32+
"SublimeLinter": {
33+
"linters": {
34+
"java": {
35+
"classpath": [
36+
"$ANDROID_SDK/platforms/android-19/android.jar",
37+
"$PROJECT_PATH/src"
38+
]
39+
}
40+
}
41+
}
42+
}
43+
44+
```
45+
46+
3147
For general information on how SublimeLinter works with settings, please see [Settings](https://github.com/SublimeLinter/SublimeLinter.github.io/wiki/Settings). For information on generic linter settings, please see [Linter Settings](https://github.com/SublimeLinter/SublimeLinter.github.io/wiki/Linter-Settings).
3248

3349
In addition to the standard SublimeLinter settings, SublimeLinter-java provides its own settings. Those marked as “Inline Setting” or “Inline Override” may also be [used inline](https://github.com/SublimeLinter/SublimeLinter.github.io/wiki/Settings#inline-settings).

0 commit comments

Comments
 (0)