Skip to content

Commit 5044562

Browse files
authored
Merge pull request #47 from SeeSharpSoft/master
Release 1.8.0
2 parents 934e734 + 387e4ca commit 5044562

File tree

61 files changed

+1086
-429
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+1086
-429
lines changed

.bettercodehub.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
component_depth: 10
2+
languages:
3+
- java

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
[![Plugin version](https://img.shields.io/jetbrains/plugin/d/10037-csv-plugin.svg)](https://plugins.jetbrains.com/plugin/10037-csv-plugin)
22
[![Build Status](https://travis-ci.org/SeeSharpSoft/intellij-csv-validator.svg?branch=master)](https://travis-ci.org/SeeSharpSoft/intellij-csv-validator)
33
[![Coverage Status](https://coveralls.io/repos/github/SeeSharpSoft/intellij-csv-validator/badge.svg?branch=master)](https://coveralls.io/github/SeeSharpSoft/intellij-csv-validator?branch=master)
4+
[![Known Vulnerabilities](https://snyk.io/test/github/SeeSharpSoft/intellij-csv-validator/badge.svg?targetFile=build.gradle)](https://snyk.io/test/github/SeeSharpSoft/intellij-csv-validator?targetFile=build.gradle)
5+
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/97769359388e44bfb7101346d510fccf)](https://www.codacy.com/app/github_124/intellij-csv-validator?utm_source=github.com&utm_medium=referral&utm_content=SeeSharpSoft/intellij-csv-validator&utm_campaign=Badge_Grade)
46

57
# Lightweight CSV Plugin for JetBrains IDE family
68

checkstyle.xml

Lines changed: 185 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,185 @@
1+
<?xml version="1.0"?>
2+
<!DOCTYPE module PUBLIC
3+
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
4+
"https://checkstyle.org/dtds/configuration_1_3.dtd">
5+
6+
<!--
7+
8+
Checkstyle configuration that checks the sun coding conventions from:
9+
10+
- the Java Language Specification at
11+
http://java.sun.com/docs/books/jls/second_edition/html/index.html
12+
13+
- the Sun Code Conventions at http://java.sun.com/docs/codeconv/
14+
15+
- the Javadoc guidelines at
16+
http://java.sun.com/j2se/javadoc/writingdoccomments/index.html
17+
18+
- the JDK Api documentation http://java.sun.com/j2se/docs/api/index.html
19+
20+
- some best practices
21+
22+
Checkstyle is very configurable. Be sure to read the documentation at
23+
http://checkstyle.sf.net (or in your downloaded distribution).
24+
25+
Most Checks are configurable, be sure to consult the documentation.
26+
27+
To completely disable a check, just comment it out or delete it from the file.
28+
29+
Finally, it is worth reading the documentation.
30+
31+
-->
32+
33+
<module name="Checker">
34+
35+
<module name="SuppressWarningsFilter" />
36+
37+
<!--
38+
If you set the basedir property below, then all reported file
39+
names will be relative to the specified directory. See
40+
http://checkstyle.sourceforge.net/5.x/config.html#Checker
41+
42+
<property name="basedir" value="${basedir}"/>
43+
-->
44+
45+
<property name="fileExtensions" value="java, properties, xml"/>
46+
47+
<!-- Checks that a package-info.java file exists for each package. -->
48+
<!-- See http://checkstyle.sf.net/config_javadoc.html#JavadocPackage -->
49+
<!--<module name="JavadocPackage"/>-->
50+
51+
<!-- Checks whether files end with a new line. -->
52+
<!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile -->
53+
<!--<module name="NewlineAtEndOfFile"/>-->
54+
55+
<!-- Checks that property files contain the same keys. -->
56+
<!-- See http://checkstyle.sf.net/config_misc.html#Translation -->
57+
<module name="Translation"/>
58+
59+
<!-- Checks for Size Violations. -->
60+
<!-- See http://checkstyle.sf.net/config_sizes.html -->
61+
<module name="FileLength"/>
62+
63+
<!-- Checks for whitespace -->
64+
<!-- See http://checkstyle.sf.net/config_whitespace.html -->
65+
<module name="FileTabCharacter"/>
66+
67+
<!-- Miscellaneous other checks. -->
68+
<!-- See http://checkstyle.sf.net/config_misc.html -->
69+
<module name="RegexpSingleline">
70+
<property name="format" value="\s+$"/>
71+
<property name="minimum" value="0"/>
72+
<property name="maximum" value="0"/>
73+
<property name="message" value="Line has trailing spaces."/>
74+
</module>
75+
76+
<!-- Checks for Headers -->
77+
<!-- See http://checkstyle.sf.net/config_header.html -->
78+
<!-- <module name="Header"> -->
79+
<!-- <property name="headerFile" value="${checkstyle.header.file}"/> -->
80+
<!-- <property name="fileExtensions" value="java"/> -->
81+
<!-- </module> -->
82+
83+
<module name="TreeWalker">
84+
85+
<module name="SuppressWarningsHolder" />
86+
87+
<!-- Checks for Javadoc comments. -->
88+
<!-- See http://checkstyle.sf.net/config_javadoc.html -->
89+
<!--<module name="JavadocMethod"/>-->
90+
<!--<module name="JavadocType"/>-->
91+
<!--<module name="JavadocVariable"/>-->
92+
<!--<module name="JavadocStyle"/>-->
93+
94+
<!-- Checks for Naming Conventions. -->
95+
<!-- See http://checkstyle.sf.net/config_naming.html -->
96+
<module name="ConstantName"/>
97+
<module name="LocalFinalVariableName"/>
98+
<module name="LocalVariableName"/>
99+
<module name="MemberName"/>
100+
<module name="MethodName"/>
101+
<module name="PackageName"/>
102+
<module name="ParameterName"/>
103+
<module name="StaticVariableName"/>
104+
<module name="TypeName"/>
105+
106+
<!-- Checks for imports -->
107+
<!-- See http://checkstyle.sf.net/config_import.html -->
108+
<!--<module name="AvoidStarImport"/>-->
109+
<module name="IllegalImport"/> <!-- defaults to sun.* packages -->
110+
<module name="RedundantImport"/>
111+
<module name="UnusedImports">
112+
<property name="processJavadoc" value="false"/>
113+
</module>
114+
115+
<!-- Checks for Size Violations. -->
116+
<!-- See http://checkstyle.sf.net/config_sizes.html -->
117+
<module name="LineLength">
118+
<property name="max" value="180"/>
119+
</module>
120+
<module name="MethodLength"/>
121+
<module name="ParameterNumber"/>
122+
123+
<!-- Checks for whitespace -->
124+
<!-- See http://checkstyle.sf.net/config_whitespace.html -->
125+
<module name="EmptyForIteratorPad"/>
126+
<module name="GenericWhitespace"/>
127+
<module name="MethodParamPad"/>
128+
<module name="NoWhitespaceAfter"/>
129+
<module name="NoWhitespaceBefore"/>
130+
<module name="OperatorWrap">
131+
<property name="option" value="eol"/>
132+
</module>
133+
<module name="ParenPad"/>
134+
<module name="TypecastParenPad"/>
135+
<module name="WhitespaceAfter">
136+
<property name="tokens" value="COMMA, SEMI, LITERAL_IF, LITERAL_ELSE, LITERAL_WHILE, LITERAL_DO, LITERAL_FOR, DO_WHILE" />
137+
</module>
138+
<module name="WhitespaceAround"/>
139+
140+
<!-- Modifier Checks -->
141+
<!-- See http://checkstyle.sf.net/config_modifiers.html -->
142+
<module name="ModifierOrder"/>
143+
<module name="RedundantModifier"/>
144+
145+
<!-- Checks for blocks. You know, those {}'s -->
146+
<!-- See http://checkstyle.sf.net/config_blocks.html -->
147+
<module name="AvoidNestedBlocks"/>
148+
<module name="EmptyBlock"/>
149+
<module name="LeftCurly"/>
150+
<module name="NeedBraces"/>
151+
<module name="RightCurly"/>
152+
153+
<!-- Checks for common coding problems -->
154+
<!-- See http://checkstyle.sf.net/config_coding.html -->
155+
<!--<module name="AvoidInlineConditionals"/>-->
156+
<module name="EmptyStatement"/>
157+
<module name="EqualsHashCode"/>
158+
<module name="HiddenField"/>
159+
<module name="IllegalInstantiation"/>
160+
<module name="InnerAssignment"/>
161+
<module name="MagicNumber"/>
162+
<module name="MissingSwitchDefault"/>
163+
<module name="SimplifyBooleanExpression"/>
164+
<module name="SimplifyBooleanReturn"/>
165+
166+
<!-- Checks for class design -->
167+
<!-- See http://checkstyle.sf.net/config_design.html -->
168+
<!--<module name="DesignForExtension"/>-->
169+
<module name="FinalClass"/>
170+
<module name="HideUtilityClassConstructor"/>
171+
<module name="InterfaceIsType"/>
172+
<module name="VisibilityModifier">
173+
<property name="protectedAllowed" value="true"/>
174+
</module>
175+
176+
<!-- Miscellaneous other checks. -->
177+
<!-- See http://checkstyle.sf.net/config_misc.html -->
178+
<module name="ArrayTypeStyle"/>
179+
<!--<module name="FinalParameters"/>-->
180+
<module name="TodoComment"/>
181+
<module name="UpperEll"/>
182+
183+
</module>
184+
185+
</module>

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# https://www.jetbrains.com/intellij-repository/snapshots
44

55
name='CSV Plugin'
6-
pluginVersion=1.7.0
6+
pluginVersion=1.8.0
77
javaVersion=1.8
88
javaTargetVersion=1.8
99
downloadIntellijSources=false

intellij-csv-validator.iml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<module external.linked.project.id="intellij-csv-validator" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="net.seesharpsoft.intellij.plugins" external.system.module.version="1.7.0" relativePaths="true" type="JAVA_MODULE" version="4">
2+
<module external.linked.project.id="intellij-csv-validator" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="net.seesharpsoft.intellij.plugins" external.system.module.version="1.8.0" relativePaths="true" type="JAVA_MODULE" version="4">
33
<component name="NewModuleRootManager" inherit-compiler-output="true">
44
<exclude-output />
55
<content url="file://$MODULE_DIR$">

src/main/java/net/seesharpsoft/intellij/plugins/csv/CsvAnnotator.java

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)