You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2020/05/04 14:56:59 UTC
[tomcat] 01/04: Improve IDE support for IntelliJ IDEA
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit 0fdb892ebf07908c6285e175692dc715a79fca28
Author: Lars Grefer <la...@materna.de>
AuthorDate: Thu Apr 23 18:33:03 2020 +0200
Improve IDE support for IntelliJ IDEA
Move IntelliJ specific files to res/ide-support
---
res/ide-support/idea/codeStyles/Project.xml | 13 +++++++++++++
res/ide-support/idea/codeStyles/codeStyleConfig.xml | 5 +++++
res/ide-support/idea/externalDependencies.xml | 12 ++++++++++++
res/ide-support/idea/inspectionProfiles/Project_Default.xml | 11 +++++++++++
4 files changed, 41 insertions(+)
diff --git a/res/ide-support/idea/codeStyles/Project.xml b/res/ide-support/idea/codeStyles/Project.xml
new file mode 100644
index 0000000..54fe072
--- /dev/null
+++ b/res/ide-support/idea/codeStyles/Project.xml
@@ -0,0 +1,13 @@
+<component name="ProjectCodeStyleConfiguration">
+ <code_scheme name="Project" version="173">
+ <codeStyleSettings language="JAVA">
+ <option name="RIGHT_MARGIN" value="100" />
+ <option name="WRAP_ON_TYPING" value="0" />
+ </codeStyleSettings>
+ <codeStyleSettings language="XML">
+ <indentOptions>
+ <option name="INDENT_SIZE" value="2" />
+ </indentOptions>
+ </codeStyleSettings>
+ </code_scheme>
+</component>
\ No newline at end of file
diff --git a/res/ide-support/idea/codeStyles/codeStyleConfig.xml b/res/ide-support/idea/codeStyles/codeStyleConfig.xml
new file mode 100644
index 0000000..79ee123
--- /dev/null
+++ b/res/ide-support/idea/codeStyles/codeStyleConfig.xml
@@ -0,0 +1,5 @@
+<component name="ProjectCodeStyleConfiguration">
+ <state>
+ <option name="USE_PER_PROJECT_SETTINGS" value="true" />
+ </state>
+</component>
\ No newline at end of file
diff --git a/res/ide-support/idea/externalDependencies.xml b/res/ide-support/idea/externalDependencies.xml
new file mode 100644
index 0000000..eade272
--- /dev/null
+++ b/res/ide-support/idea/externalDependencies.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="ExternalDependencies">
+ <plugin id="AntSupport" />
+ <plugin id="Git4Idea" />
+ <plugin id="HtmlTools" />
+ <plugin id="Tomcat" />
+ <plugin id="com.intellij.java" />
+ <plugin id="com.intellij.javaee" />
+ <plugin id="com.intellij.jsp" />
+ </component>
+</project>
\ No newline at end of file
diff --git a/res/ide-support/idea/inspectionProfiles/Project_Default.xml b/res/ide-support/idea/inspectionProfiles/Project_Default.xml
new file mode 100644
index 0000000..38495a4
--- /dev/null
+++ b/res/ide-support/idea/inspectionProfiles/Project_Default.xml
@@ -0,0 +1,11 @@
+<component name="InspectionProjectProfileManager">
+ <profile version="1.0">
+ <option name="myName" value="Project Default" />
+ <inspection_tool class="AutoBoxing" enabled="true" level="WARNING" enabled_by_default="true">
+ <option name="ignoreAddedToCollection" value="false" />
+ </inspection_tool>
+ <inspection_tool class="AutoUnboxing" enabled="true" level="WARNING" enabled_by_default="true" />
+ <inspection_tool class="UnnecessaryBoxing" enabled="false" level="WARNING" enabled_by_default="false" />
+ <inspection_tool class="UnnecessaryUnboxing" enabled="false" level="WARNING" enabled_by_default="false" />
+ </profile>
+</component>
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org