Mobile/Fennec/Android/Static analysis/checkstyle-idea: Difference between revisions

Replace link to checkstyle.xml with link to raw version (previous link goes to html mxr page, which the plugin can't handle)
(Replace link to checkstyle.xml with link to raw version (previous link goes to html mxr page, which the plugin can't handle))
 
(One intermediate revision by one other user not shown)
Line 13: Line 13:


=== Adding the config file ===
=== Adding the config file ===
* Click the "+" in the Configuration File box
* Open the preferences
* Open the preferences
* Go to (or search for) "Checkstyle" menu item (it's under "Other Settings")
* Go to (or search for) "Checkstyle" menu item (it's under "Other Settings")
* Click the plus at the bottom of the "Configuration file" box
* Click the plus at the bottom of the "Configuration file" box
* Add a description (e.g. "mozilla")
* Add a description (e.g. "mozilla")
* Add the path to the checkstyle configuration: <pre>http://mxr.mozilla.org/mozilla-central/source/mobile/android/app/checkstyle.xml</pre>
* Add the path to the checkstyle configuration: <pre>http://mxr.mozilla.org/mozilla-central/source/mobile/android/app/checkstyle.xml?raw=1</pre>
* Accept
* Accept
* Click the "Active" checkbox next to the new configuration
* Click the "Active" checkbox next to the new configuration
* Hit "OK" to close the preferences
* Hit "OK" to close the preferences
46

edits