Mikhail Pyltsin
c2d7c558ee
[java-highlighting] IDEA-378880 False compilation error in a compact source file
...
- disable correction by scope for classes inside compact source files
GitOrigin-RevId: 44831301a6c14f60d26ae4715df18c4cd24e1ee8
2025-09-09 12:11:34 +00:00
Mikhail Pyltsin
d8261beaf9
[java-highlighting] IDEA-372969 Support JEP 512: Compact Source Files and Instance Main Methods
...
- set language levels for features
- fix tests
- new tests for new language levels
GitOrigin-RevId: 5259088ac10962f8f9373fbea29e01adb2bf7333
2025-06-24 23:04:26 +00:00
Mikhail Pyltsin
68d1490dbf
IJPF-CR-29151 [java] IDEA-374204 JEP 512: use 'Compact Source Files' for implicitly declared classes
...
- fix naming
GitOrigin-RevId: 91c2c095f5ca3b2ac3d6fc6de8d85b4f7205cfe7
2025-06-24 23:04:26 +00:00
Mikhail Pyltsin
19096c38a1
[java-highlighting] WIP IDEA-372968 Support JEP 511: Module Import Declarations
...
- nothing changed in jep, more tests
GitOrigin-RevId: 03e655a19855acdfe1f7983b25c6aa7158b73393
2025-06-24 23:04:26 +00:00
Mikhail Pyltsin
c96660523e
[java] IDEA-374204 JEP 512: use 'Compact Source Files' for implicitly declared classes
...
GitOrigin-RevId: e77a013fa84cbafbfec866f6489147115532f656
2025-06-20 09:50:41 +00:00
Mikhail Pyltsin
e842105580
[java-highlighting] IJ-CR-165049 IDEA-374019 Don't show error about 'main' method if there is an error with braces
...
- highlight for java 21 duplicated classes
GitOrigin-RevId: 31a935297e6b2dcb843cfd5ce1d10acb78774df1
2025-06-10 22:18:37 +00:00
Mikhail Pyltsin
708f2a6328
[java-highlighting] IJ-CR-165049 IDEA-374019 Don't show error about 'main' method if there is an error with braces
...
- don't highlight if there is package statement
- skip duplicated nested class for implicit classes
GitOrigin-RevId: eadb287b7e52bfedd04340b8841597b9d6839ee5
2025-06-09 13:40:12 +00:00
Mikhail Pyltsin
dc8ca06f05
[java-highlighting] IDEA-374019 Don't show error about 'main' method if there is an error with braces
...
GitOrigin-RevId: 38e303a7ace428d45c6e869fce3acc655dba1a6d
2025-06-05 16:28:21 +00:00
Tagir Valeev
48649890c5
[java-highlighting] class.implicit.invalid.file.name: fix spelling
...
GitOrigin-RevId: 13b27c50250208ddd436cfa25980973b902ea2af
2025-01-24 17:35:01 +00:00
Mikhail Pyltsin
c28f1d89cc
[java-highlighting] IDEA-365996 Constructor in an implicitly declared class is not highlighted as error
...
GitOrigin-RevId: 2de45c452608cea2ab314511060ac733259a8c18
2025-01-22 10:29:22 +00:00
Mikhail Pyltsin
9e62b515e2
[java-highlighting] IDEA-363617 Support JEP 494: Module Import Declarations (Second Preview)
...
- support shadowing module imports by package-on-demand
GitOrigin-RevId: 643fc10bcbfee2f1d41ec02e624b30bc3a48e4bb
2024-12-05 01:17:54 +00:00
Mikhail Pyltsin
bff9894b8b
[java-highlighting] IDEA-359527 Class 'MyRecord' must implement abstract method 'value()' in 'MyInterface' in implicit class
...
- incorrect accessibility in implicit records with light members
GitOrigin-RevId: f55453f1c212d785e7b5fde78c4e0fbc4870ce86
2024-09-25 09:24:37 +00:00
Mikhail Pyltsin
eee416a4e8
[java] IDEA-355777 Support implicit imports
...
- Support implicitly imported modules
GitOrigin-RevId: dbf10158847f652936c405a1ad20ce4dd04dbba7
2024-07-17 18:18:57 +00:00
Mikhail Pyltsin
07178b990f
[java-highlighting] IDEA-355777 Support JEP 477: implicit imports
...
- support implicit import for java.io.IO
- reimplement implicit static imports
GitOrigin-RevId: 3e2650128d43b1cff40c21c0539869070c6094d0
2024-07-03 22:08:38 +00:00
Tagir Valeev
ee495db972
[java-intentions] MoveMembersIntoClassFix: improve and revive property test
...
After implicit classes, out-of-class member is parsed. If it was mistakenly put out of the class, it may have many unrelated compilation errors. E.g. extra Override annotation, unresolved reference (to another member of the class), etc. These errors were masking the 'Move member to class' action, because its scope was larger (the whole method).
Now, we put 'feature not available' error specifically to the method/field name identifier, so it's almost always available. Also, action name is more friendly now, and JavaOutOfClassDefinitionPropertyTest is tuned: caret position and language level set correctly.
GitOrigin-RevId: 39917d11fb216be4db3f6fbc9e984ca7378f7302
2024-04-23 10:35:24 +00:00
Mikhail Pyltsin
39b2be10ff
[java-highlighting] IDEA-341371 highlight duplicated classes with implicit classes
...
GitOrigin-RevId: 37e436871498d0c9470f164daaf2edb892082667
2023-12-19 19:44:19 +00:00
Mikhail Pyltsin
fab280de6b
[java-refactoring] IJ-CR-122503 IDEA-340596 Unable to rename file with implicit class
...
- check identifier
GitOrigin-RevId: 143e8d34a9eae594133c3f9ff66b18affa60ed53
2023-12-19 13:34:28 +00:00
Mikhail Pyltsin
257b0938c1
[java-highlighting] IDEA-340048 Incorrect reference highlighting in implicitly declared classes
...
- test is improved
GitOrigin-RevId: 09b79f74426d01c893257d42fe284b0a1b9495bf
2023-12-12 12:25:47 +00:00
Mikhail Pyltsin
9f280818c9
[java-highlighting] IDEA-340048 Incorrect reference highlighting in implicitly declared classes
...
GitOrigin-RevId: ab40db645c83da5c715b4b09ef58c873a7dccfd3
2023-12-11 21:05:52 +00:00
Mikhail Pyltsin
3f86cf9292
[java-highlighting] IDEA-339935 JEP 463
...
- rename unnamed classes to implicitly declared classes
GitOrigin-RevId: 2c6d7f16a1dc6d2371b8f8b5f5675246c9bc99f9
2023-12-11 15:49:28 +00:00