14 plugins in category «Inspection»
- No call to ButterKnife.inject
- That a field exists in all layouts or is optional
- That the type of the field matches in all views
The detection for which layouts to check for matching ids is based on the following:
- Each setContentView call in onCreate of an activity
- Each inflate in onCreateView in a Fragment
- Each inflate in each constructor in a View
- Trying to figure out for ViewHolders by data flow analysis and find usages
Runs cppcheck on the fly while you write code.
Highlights lines and displays cppcheck error messages.
Supports passing options to cppcheck.
Install the Cppcheck analysis tool ( not bundled with this plugin).
Install the cppcheck plugin.
File -> Settings -> Other Settings -> cppcheck configuration.
Fill in the absolute path of the cppcheck executable (e.g. C:\Program Files (x86)\Cppcheck\cppcheck.exe, /usr/bin/cppcheck, etc).
Cppcheck is not designed to be run on header files (.h) directly, as must be done for this plugin, and as a result may have false positives.
When run on header files directly, Cppcheck defaults to C as the language, which will generate false positives for C++ projects. C++ projects should append --language=c++ to the cppcheck options.
RedPen is a proofreading tool to help writers or programmers who write technical documents or manuals that need to adhere to a writing standard.
The plugin validates text files with RedPen by adding a 'RedPen' inspection, which is enabled by default after installation.
Some errors can be fixed via quick fixes (Alt + Enter)
Language and variant are autodetected per file, however you can manually override them in IDEA status bar.
RedPen settings can be configured and imported/exported using native RedPen config format. All settings are stored per project.
The following file types are supported (provided you have necessary plugins installed):
- Plain text
Please report any issues on GitHub.