Rustam Vishnyakov
67b8c50008
New PsiFile-based JavaFileCodeStyleFacade and factory, deprecate old JavaCodeStyleSettingsFacade
...
GitOrigin-RevId: 341fff7c6f3e13992f9349f9e04984578e1342d2
2020-12-02 11:27:00 +00:00
Tagir Valeev
f4e5972ac5
[java-psi] PsiTypesUtil.classNameEquals
...
rawType() is not quite free, and we can do a quick-check for simple name
GitOrigin-RevId: 7fcee2c8546a1926a23352378a7299ca7a5e8726
2020-12-02 08:31:27 +00:00
Tagir Valeev
2842a558b2
Avoid set.removeAll(list)
...
GitOrigin-RevId: 6ed9b1ee1df87618c9b8c534e328ea89ead9fdc3
2020-12-02 04:49:26 +00:00
Artemiy Sartakov
f4feef1a9e
InconsistentTextBlockIndentInspection: added inspection to detect text blocks with tabs and spaces in indent (IDEA-254690)
...
GitOrigin-RevId: 71721bc908e6226e7d1dfcfcd2b4ab3c435337e2
2020-12-02 04:01:21 +00:00
Bas Leijdekkers
3f0806a4e0
Faster check for Java hash bang script (IDEA-256481)
...
GitOrigin-RevId: 0c492917a3f425753ae3a5b9196d7f7b42d8661b
2020-12-01 14:30:33 +00:00
Andrey.Cherkasov
1a2cdf16e1
Remove property
...
GitOrigin-RevId: 15311108f96c9bb2fc59cdb10ec62ec4c710c6d7
2020-11-30 22:50:14 +00:00
Bart van Helvert
3503a1a464
[UAST] IDEA-254704 Highlight FQ name in dependency inspections
...
Also add more tests to the illegal dependencies inspection.
GitOrigin-RevId: 590c903c60012c72cd4590d4746e12f1fa89c708
2020-11-30 17:47:23 +00:00
Andrey.Cherkasov
95a12db895
IDEA-253512: Fixes after review
...
GitOrigin-RevId: 0c9d42259d6a5169c449b536aa4e7b982446b10a
2020-11-30 15:12:44 +00:00
Tagir Valeev
fe2e4e953d
[java-intention] InitializeFinalFieldInConstructorFix: avoid referencing potentially invalidated elements
...
Fixes EA-246363 - PIEAE: PsiInvalidElementAccessException.createByNode
GitOrigin-RevId: 1b4ec59c96b9661a5ee56ed27a796767f8687a23
2020-11-30 11:02:19 +00:00
Tagir Valeev
a5f2ed9e5a
[java-completion] Disable completion for members that are not valid Java identifiers
...
These members could be declared in non-Java language
Fixes EA-247276 - IOE: PsiUtil.checkIsIdentifier
GitOrigin-RevId: 4f3d9a362a6baf72bf3114ab3a295f300f2e0bb2
2020-11-30 05:18:17 +00:00
Alexey Kudravtsev
67c69e40dd
avoid INRE exception immediately aftre JDK annotations are attached to fix EA-238280 (plugin) - INRE: IndexNotReadyException.create
...
GitOrigin-RevId: 1a11cc43044fd23fe15139e05eb19437e40c2372
2020-11-29 22:50:12 +00:00
Vassiliy.Kudryashov
776f44707b
IDEA-190854 Replace plus icons with modifiers with one plus icon with dropdown
...
GitOrigin-RevId: 38cb2802eca466d38e508c7d66efcc3dbd56be27
2020-11-28 14:45:54 +00:00
Anna Kozlova
4faf0c4cfc
convert to instance method: disable parameter target if parameter is reassigned (IDEA-256096)
...
GitOrigin-RevId: 67d6364217ae9ee02418f4baa5b3b38c43685403
2020-11-26 18:46:48 +00:00
Anna Kozlova
3a646d1f0c
java create local from usage: do not duplicate comments inside variable initializer (IDEA-256107)
...
GitOrigin-RevId: 3f9298e0d38ca0840a57922a7b9eb23c27277668
2020-11-26 12:11:11 +00:00
Anna Kozlova
b30b4c1052
choose annotations root: ensure IJ file chooser which provides explanations what should be configured (IDEA-247548)
...
GitOrigin-RevId: 83d687c88e3c0a361bd050fa3e89f21ed10f0b1e
2020-11-26 12:11:09 +00:00
Anna Kozlova
ee7f5c4b8c
move: ensure refactoring is ready for the uncommitted document after encoding reloading (IDEA-245058)
...
GitOrigin-RevId: 359c0b7bd1c6bc53c089fecdaaad03a5cf3d37c1
2020-11-26 12:11:07 +00:00
Vladimir Krivosheev
b15ed213b6
IDEA-CR-68974 unambiguous names when imported statically
...
GitOrigin-RevId: beed01f4c6a533fa694ec0b4f36e5d305b80874b
2020-11-26 10:48:08 +00:00
Ilyas Selimov
88b3709251
IDEA-224056 - prevent visiting local classes inside methods during launching unused declaration inspection
...
GitOrigin-RevId: 5c6edec3a58e4237e410dc54f9762f9d7149f292
2020-11-26 08:20:59 +00:00
Dmitry Batkovich
9fc2324704
use DumbModeAccessType#ignoreDumbMode() methods instead of old api
...
GitOrigin-RevId: 7d13eaa7b86f2502d6269f8e280e00e441f3ca7f
2020-11-26 07:46:07 +00:00
Dmitry Batkovich
47c58170a6
index: make FileBasedIndex#ignoreDumbMode lambda friendly
...
GitOrigin-RevId: 3009a96ae1013493afd39d93b7ad7ef8fd7956ac
2020-11-25 16:04:40 +00:00
Andrey.Cherkasov
d4dbc49dab
IDEA-253512: Warn about possible O(N^2) in AbstractSet#removeAll calls
...
GitOrigin-RevId: 76f59d4f019482420142cdf760be3f9e4c7f4d1e
2020-11-25 15:18:45 +00:00
Vladimir Krivosheev
3f6b05e173
get rid of div operator functions for File and Path. If you still want to use it — use Kotlin stdlib functions (-Xopt-in=kotlin.io.path.ExperimentalPathApi is added to project compilation options)
...
GitOrigin-RevId: bfbf8077982d86e9bce60b498835055b788aaed3
2020-11-25 13:32:48 +00:00
Ilyas Selimov
12b7de5e77
IDEA-224056 - handle unused local declarations in lambda expressions
...
GitOrigin-RevId: 5861b958e9ca05deec08ec9ae8f271b60a6b8a16
2020-11-25 07:07:07 +00:00
Bart van Helvert
5ec9459a04
[UAST] IDEA-254704 Change Java illegal package dependency highlighting
...
Changes the highlighting for the illegal package dependency in Java from highlighting the full import statement to only highlighting the reference name.
GitOrigin-RevId: f46ab8ad9e0697e726767744afe861f315e3fa12
2020-11-24 23:18:34 +00:00
Kirill Kirichenko
d1fff45726
IDEA-255173 Got It tooltip: add dedicated color keys
...
GitOrigin-RevId: 016b7788b755fba4aa7bcec5bad7cd17ccfe17ce
2020-11-24 15:53:45 +00:00
Yann Cébron
e43f44b669
javadoc: use @see
...
GitOrigin-RevId: 04731e261a955a7b65c743891cac9067dc8d5efc
2020-11-24 15:05:05 +00:00
Tagir Valeev
d35974faf8
[java-inspections] IDEA-255926 Support streams generated by StreamSupport StreamToLoopInspection
...
Only for non-parallel streams
GitOrigin-RevId: 08b517f557f0c376cc504ac654a9353a66ae9014
2020-11-24 04:36:33 +00:00
Tagir Valeev
9000aae461
[java] Use getSourcePsi() instead of getPsi() for UElement
...
GitOrigin-RevId: ca1a848f7f7a498e7ab846f75774599c901d5e5a
2020-11-24 01:57:38 +00:00
Andrey.Cherkasov
8ea2c512ac
Cleanup: rename local variable
...
GitOrigin-RevId: 4670a62b4266b8ead7c0641d7d89648e9d41877b
2020-11-23 23:30:48 +00:00
Bas Leijdekkers
4b18db9bfb
Add quick fix to remove duplicate annotation without parameters (IDEA-249508)
...
GitOrigin-RevId: fea7daeb0bb40724325182d6041a20aa141fbbf2
2020-11-23 21:56:24 +00:00
Sergey Malenkov
f0726e3181
Rewrite node sorting for the Project and Scope views after review IDEA-CR-68989
...
GitOrigin-RevId: 04a857bc126c2d06d906a2da9857daad0f1b9535
2020-11-23 20:30:23 +00:00
Bart van Helvert
dbb236b166
[UAST] IDEA-254704 Convert illegal package dependencies inspection to UAST
...
Converts the illegal package dependencies inspection to an UAST inspection and adds tests for Kotlin and Java.
GitOrigin-RevId: 81fa5e8c4928277f9fd62b57161d2437d2604991
2020-11-23 19:08:11 +00:00
Andrey.Cherkasov
55155f3710
IDEA-173818: Replace "Add to custom tags" quick-fix with "Remove tag" for all known tags in invalid context
...
GitOrigin-RevId: 095032db9e807bc8f76f650582742aacb5b3dc34
2020-11-23 18:48:35 +00:00
Anna Kozlova
994c5d9a60
java inline method: cleanup after review
...
IJ-CR-4157
GitOrigin-RevId: 34d4e8d4710cbc1c795d37b212698b3ab0bd3d6c
2020-11-23 18:21:20 +00:00
Dmitry.Krasilschikov
de665aec80
i18n for PsiFieldNode
...
GitOrigin-RevId: 5d9a2a6353b6e75faa435c487126564502915525
2020-11-23 18:15:51 +00:00
Andrey.Cherkasov
af4734ae91
IDEA-173818: Don't show "Add to customs tag" quick-fix for the @return tag
...
GitOrigin-RevId: 2c2ff8c8c74b8a90be818617c5fcd1c611cdc251
2020-11-23 13:25:12 +00:00
Andrey.Cherkasov
1a75f19cff
Don't warn about missing tag description on void methods
...
GitOrigin-RevId: 7125c41e5adfb4a45f96b6f5c9b6db12a9a0da6d
2020-11-23 13:25:11 +00:00
Vladislav.Soroka
ea5b5de628
Move JPS build issue contributor EP to compile-impl module
...
GitOrigin-RevId: a2ec222e66183c0bb79e54f8726caee73e950b3e
2020-11-23 13:21:44 +00:00
Vladimir Krivosheev
5fed9f63f7
do not export intellij.platform.codeStyle.impl from lang-impl, reduce trove library usage
...
GitOrigin-RevId: 8d1b8100f8c3e2144da8a9057273805469da4454
2020-11-23 10:46:41 +00:00
Anna Kozlova
62bcffea9a
rename collision: find hidden methods with different signature (IDEA-248913)
...
due to the comb rule, class or interface to search determines by the innermost class with the same named member
GitOrigin-RevId: 1b6c3650e3ec49bc5fccc1b72e30019a7ed2f550
2020-11-20 21:44:11 +00:00
Anna Kozlova
8a9a3cd2f9
navigate to package: prefer directory in the same source root as opened file (IDEA-250259)
...
GitOrigin-RevId: 2ff8a8b1cca7d3cb8c52ccfe1463bfeb7da1689c
2020-11-20 21:44:11 +00:00
Anna Kozlova
32241e8d51
move class: conflict if class is moved to the default package but is used outside (IDEA-252248)
...
GitOrigin-RevId: 360dd07f40161de494d09b0a721ead761e7cdcb6
2020-11-20 21:44:10 +00:00
Anna Kozlova
5697a07aae
inline method: allow to inline one liners in loop conditions fixed (IDEA-255057)
...
GitOrigin-RevId: 72c7c6ec9865984b997a05c2b8756771aa388ddb
2020-11-20 09:33:50 +00:00
Anna Kozlova
31680b1da1
refactoring migration: put predefined maps descriptions in resource bundles (IDEA-255474)
...
GitOrigin-RevId: a5ab8b6cb6ed92f96444f0d3c2d3493f9b7877f6
2020-11-20 09:33:48 +00:00
Anna Kozlova
b5617168c3
java inline chained constructors: ensure elements are not invalidated during processing (IDEA-255661)
...
GitOrigin-RevId: e600dbad74bed7eee0e0979bd1e33a2b7e9870bf
2020-11-20 09:33:47 +00:00
Tagir Valeev
56a375c9c1
[java] Resolve lombok extension methods in JavaTargetElementEvaluator
...
GitOrigin-RevId: 47fb6ac1ba4c143bb4c423120c86079b55b135af
2020-11-20 03:05:31 +00:00
Tagir Valeev
9b29124e0a
[java] Convert method name reference injector to UAST (IDEA-CR-68862)
...
GitOrigin-RevId: c3c0e5c81fedd658df657aa686e62d2b8e86365d
2020-11-20 03:05:27 +00:00
Alexey Kudravtsev
b3dc7817a9
EA-246269 - NPE: SliceRootNode.<init>
...
GitOrigin-RevId: a8be6a4626e010dcc6450f4830ba3e8fc24cd427
2020-11-19 23:14:48 +00:00
Sergey Malenkov
cb7fbd7441
Support library weight for sorting in Project View
...
GitOrigin-RevId: 0802580222310fa15e62f7d22c32ae23b940e58e
2020-11-19 19:03:34 +00:00
Yann Cébron
0a3ffc9e6a
JavadocGeneratorRunProfile: javadoc cleanup
...
GitOrigin-RevId: 19985f84fc6350d743010645b5988d45b2757054
2020-11-19 11:12:06 +00:00