Yaroslav Lepenkin
c1a0af9bf2
[formatter tests] migrated indent detection tests to new test formatting model builder, removed old model
2016-11-29 12:55:16 +03:00
Anna.Kozlova
d3794bcbba
missed testdata
2016-11-28 15:38:48 +01:00
Anna.Kozlova
4749a91268
optimize imports: resolve conflicts with inner classes on-demand imports (IDEA-59199; IDEA-78746)
2016-11-25 19:31:44 +01:00
Anna.Kozlova
4c2b4ed877
testdata for IDEA-132404
2016-11-25 19:31:44 +01:00
Anna.Kozlova
927f3ccaa1
testdata for IDEA-132418
2016-11-25 19:31:44 +01:00
Anna.Kozlova
c45ee97f93
optimize imports: check accessibility before expanding on-demand to single-static-import (IDEA-157833)
2016-11-25 09:56:52 +01:00
Anna.Kozlova
3e13378341
optimize imports: don't collapse into on-demand when result in ambiguity
2016-11-25 09:56:52 +01:00
peter
f1092d42fb
IDEA-164257 Declarations visible from a Java file shouldn't include current package's subpackages
2016-11-23 11:12:09 +01:00
Roman Shevchenko
26313ece97
[java] fixes lambda expressions parsing (IDEA-163871)
2016-11-11 18:22:32 +01:00
Dmitry Batkovich
4010cec385
java functional expressions: last one test-data fixed
2016-10-26 12:24:25 +03:00
Dmitry Batkovich
7b2d0c3d4a
java functional expressions: remove ":" from toString() + fix test data according to 381bbbe
2016-10-25 23:33:11 +03:00
Roman Shevchenko
335c4ab14a
[java] fixes type-annotated parameter index calculation (IDEA-162379)
2016-10-11 19:03:32 +02:00
Roman Shevchenko
fef8babaad
[java] stubs for 'requires' and 'exports' statement
2016-10-07 21:04:01 +02:00
Roman Shevchenko
48ce294241
[java] javadoc in modules
2016-09-12 17:13:22 +03:00
Alexey Kudravtsev
0798a43f7d
Use resolveImaginarySuperCallInThisPlace() instead of enumerating all super class constructors; find usages of overloaded ctr should find only correct implicit super calls
2016-09-01 16:59:57 +03:00
Roman Shevchenko
8c45b1c5e6
[java] class and package name completion in module files
2016-08-30 19:36:12 +03:00
Rustam Vishnyakov
764efac3a3
Command-line formatter code style configuration
2016-07-25 17:49:28 +03:00
Pavel Dolgov
2be74e8c45
Java control flow: Added conditional branch that bypasses assert statement because assertions can be disabled (IDEA-71526)
2016-07-22 14:58:35 +03:00
Roman Shevchenko
506535c1a4
[java] more module parser tests
2016-07-13 18:06:07 +02:00
Roman Shevchenko
25610a8713
[java] module stub, module name index, module-info.class files reading
2016-07-12 18:30:57 +02:00
Rustam Vishnyakov
b327fd7257
Command line formatter (IDEA-99267)
2016-07-11 12:06:41 +03:00
Roman Shevchenko
d430b496df
[java] module-info test data updated
2016-06-30 20:54:18 +03:00
Roman Shevchenko
f22dd502a3
[java] module declaration parsing
2016-06-29 21:02:14 +03:00
Roman Shevchenko
a9fd248583
[java] fixes typed lambda expressions parsing (IDEA-157929)
2016-06-28 17:42:20 +03:00
Roman Shevchenko
d3389198b1
[java] fixes typed lambda expressions parsing (IDEA-157929)
2016-06-28 16:49:37 +03:00
Bas Leijdekkers
fe0824b7e2
more useful parse of broken try-with-resources resource expression (IDEA-157118)
2016-06-10 19:39:18 +03:00
Roman Shevchenko
61a3f45b87
[java] extra commas in annotation array initializers (IDEA-157182)
2016-06-07 20:43:34 +03:00
Roman Shevchenko
be4cc2331c
[java] extra commas in array initializers (IDEA-157182)
2016-06-07 19:45:32 +03:00
Egor.Ushakov
6297690daf
IDEA-156280 Incorrect evaluation inside anonymous class
2016-05-19 15:01:30 +03:00
Roman Shevchenko
8fd03f4731
[java] fixes diamond type parsing (IDEA-155900)
2016-05-12 16:01:20 +02:00
peter
e981c18b88
avoid recursive super class reference resolve
2016-05-02 22:03:38 +02:00
Yaroslav Lepenkin
0042952eaf
Fixed test data
2016-04-22 14:19:42 +03:00
Roman Shevchenko
2a89fd42b6
[java, java-decompiler] type annotations in class files
...
Step 1: add top-level field/method/parameter annotations to stubs; include them in decompiled text.
2016-04-21 21:22:36 +02:00
Anna.Kozlova
24538da80c
navigate and find enum methods by enum constant (IDEA-154781)
2016-04-19 19:05:54 +02:00
Roman Shevchenko
4d2f17ef98
[java] saves the "auto-generated name" property to parameter stubs (IDEA-152903)
2016-03-14 21:40:59 +01:00
Alexey Kudravtsev
710cfa9f36
ported a couple of tests to performance
2016-03-14 14:45:59 +03:00
Roman Shevchenko
1fb58e86b3
[tests] test cases added
2016-03-04 15:32:57 +01:00
Roman Shevchenko
1541fa8e3c
[java] more fool-proof inner class detection
2016-01-13 11:26:20 +01:00
Roman Shevchenko
c4c5651a41
[java] another case of inner class detection
2016-01-08 14:45:23 +01:00
Roman Shevchenko
21f3a61991
[java] inner class detection corrected; early exit added
2016-01-07 15:33:27 +01:00
Roman Shevchenko
d02243ef41
[java] better inner class detection (IDEA-132606)
2016-01-05 13:12:14 +01:00
Yaroslav Lepenkin
5d9ee7fda5
Do not detect indent for single line files (WEB-19403)
2015-12-21 14:37:38 +03:00
Anna Kozlova
c16a53a9fb
do not open capture when method call type is calculated
2015-12-03 12:18:25 +01:00
Alexey Kudravtsev
70290391f9
moved to community
2015-11-16 13:31:16 +03:00
Yaroslav Lepenkin
463239b0b1
Allow to detect indent sizes only for files where 80 percent of lines are indented with spaces (WI-25986)
2015-11-03 16:52:49 +03:00
Yaroslav Lepenkin
6386345f62
Moved formatter tests from idea-tests to java-tests
2015-10-16 11:23:30 +03:00
Yaroslav Lepenkin
c557b7acdf
Renamed test file to case-sensitively match one used in test
2015-09-15 19:29:51 +03:00
Yaroslav Lepenkin
5131b4a55c
[IndentDetector] CONTINUATION_WITHOUT_FIRST indent of the outermost block is treated as CONTINUATION, while the rest are treated as NONE
...
Every null indent retrieved from Block build by FormattingModelBuilder.buildBlocks is converted to CONTINUATION_WITHOUT_FIRST. Nested blocks starts the same offset and are retrieved as first block of it's parent that's why CONTINUATION_WITHOUT_FIRST works in such a case as NONE (because they are literally first blocks, see CWF javadoc)
2015-09-15 16:27:00 +03:00
Yaroslav Lepenkin
a536dc7eeb
Added indent detector test for Kotlin comments case
2015-09-15 16:26:58 +03:00
Yaroslav Lepenkin
86e9a10687
First formatting block found on new line may not be starting it, there could be part of multiline leaf block before, so we should skip it when detecting indent (IDEA-144945)
2015-09-15 16:26:54 +03:00