aboutsummaryrefslogtreecommitdiff
path: root/src/xdocs
diff options
context:
space:
mode:
authorVikramaditya Kukreja <kukreja.vikramaditya@gmail.com>2017-03-17 19:56:49 +0530
committerrnveach <rveach02@gmail.com>2017-03-18 17:11:40 -0400
commit481b02f82d414e73ce68b93204826620558c39ab (patch)
treed5052a0506a8f0d0e5bda9629c1fa3f870c7ea08 /src/xdocs
parentc2097138c8868cb04255463e1c02b25c23de6733 (diff)
downloadcheckstyle-481b02f82d414e73ce68b93204826620558c39ab.tar.gz
Issue #4030: Update IDEA setup docs to include Disable Auto Indent On Paste
Diffstat (limited to 'src/xdocs')
-rw-r--r--src/xdocs/idea.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/xdocs/idea.xml b/src/xdocs/idea.xml
index e8465cd7c..3594b6ca6 100644
--- a/src/xdocs/idea.xml
+++ b/src/xdocs/idea.xml
@@ -84,5 +84,16 @@
</p>
</section>
+ <section name="Disable Auto Indent On Paste">
+ <p>
+ IDEA has it's own rules of indentation when pasting code and it applies these rules to
+ all the lines of the copied code. This may result in wrong formatting of code in many
+ checkstyle files. A simple solution to this problem is by using the key combinations
+ <code>Ctrl + Shift + Alt + V</code> or <code>Edit | Paste Simple</code>. However it is
+ recommended that this settings be changed by default as shown below
+ <img alt="Disable Auto Indent on Paste" src="images/gui_screenshot_disable_indent_paste_idea.png"/>
+ </p>
+ </section>
+
</body>
</document>