Nikita Eshkeev
5e222f56a9
[codeInsight] IDEA-238740 Support the jdk.internal.PreviewFeature annotation
...
This patch fixes the problems according to the code review, it includes:
- inlining the trivial wrapper methods checkConstructorPreviewFeature, checkMethodCallPreviewFeatureAnnotation, checkTypePreviewFeatureAnnotation
- applying ObjectUtils#tryCast in HighlightUtil#checkPackagePreviewFeatureAnnotation
- simplifying HighlightVisitorImpl#visitImportStaticStatement by calling directly HighlightUtil#checkPreviewFeatureElement
- generalizing HighlightVisitorImpl#visitReferenceExpression's check if the element is annotated with PreviewFeature
Signed-off-by: Nikita Eshkeev <nikita.eshkeev@jetbrains.com >
GitOrigin-RevId: 954ad1bbb26352d7d98581b3ad95a360569b0636
2020-06-19 14:20:28 +03:00
Tagir Valeev
547ebddae3
Record constructors access level for Java 15 (IDEA-239088)
...
GitOrigin-RevId: b8adab8548bcea21d2053606e058495e888199b7
2020-06-19 14:11:10 +03:00
Denis Konoplev
c074d04b51
IDEA-244009: Minimum viable plugin
...
GitOrigin-RevId: eebc9c3fda4653113195ceaac11098adc54fb1ef
2020-06-19 14:09:12 +03:00
Dmitry Avdeev
457161a0e1
IDEA-236390 Implement new UI for editing run configuration settings
...
enabled as experimental feature
GitOrigin-RevId: 07a219701abfaf6bc6dc9037a76ed7319b881512
2020-06-19 14:01:00 +03:00
Nadya Zabrodina
cd20f03bef
welcome screen: update get from Version Control action text
...
GitOrigin-RevId: bbe0725639710d1b38a293276f5f400260da2aee
2020-06-19 13:55:13 +03:00
Konstantin Nisht
2059bce117
[groovy] Turn off nested DFA processing
...
GitOrigin-RevId: 7a542723e547d04954c8c2497909b1f84288e773
2020-06-19 13:45:16 +03:00
yopox
96a68906ac
SSR: Fix processPatternStringWithFragments literal handling
...
GitOrigin-RevId: a7b0a64a6cbda5fdcf72ec51a79131c2fb468ddf
2020-06-19 13:19:20 +03:00
Dmitry Batkovich
d1c1d33e8a
index: files from project additional indexable set should be re-indexed on their change
...
GitOrigin-RevId: 908d819f2d7bfe0fcec7d9d7e984259b516fe2aa
2020-06-19 13:04:58 +03:00
Dmitry Batkovich
c457e61953
rebuild vfs if experimental options changed
...
GitOrigin-RevId: c11fb1c84c94ef1dcb25b43927c866c9d279fca9
2020-06-19 13:04:57 +03:00
Svetlana.Zemlyanskaya
0ecad55de2
FUS: rename event.log metadata events (IDEA-243823)
...
GitOrigin-RevId: 255bb5dd6d5f28379c165b093697acdbb7bef1d0
2020-06-19 12:54:28 +03:00
Svetlana.Zemlyanskaya
fe2f0119f6
FUS: rename validation error when events scheme cannot be loaded (IDEA-243846)
...
GitOrigin-RevId: 2fbb05e316438b2e193ef03b20902f93f0ba7f2f
2020-06-19 12:54:25 +03:00
Vladimir Krivosheev
5085bd823d
TemporaryDirectory - use unique postfix sortable by timestamp to avoid stale data in VFS and file exists check
...
Also, file is not created at the moment of path generation
GitOrigin-RevId: 004f64ab7d186fff2ea86c3e700393e1b2dabea6
2020-06-19 12:46:07 +03:00
Vladimir Krivosheev
21d0b328e1
cleanup
...
GitOrigin-RevId: 3bd15412f649e61af74046ec6ae9dc5421818408
2020-06-19 12:40:24 +03:00
Vladimir Lagunov
91f5dccb7b
Fix behaviour of PathUtilRt.getFileName when the path ends with several slashes.
...
GitOrigin-RevId: 8b9228f44a33f8f9fde4fa159fdba315ad65a6f6
2020-06-19 11:58:19 +03:00
Vladimir Lagunov
ac4b135478
Rebuild the navigation bar UI when the icon of any element updates.
...
GitOrigin-RevId: 34d3f2b2681d1aee504c712e7523ed5a9baaf425
2020-06-19 11:58:18 +03:00
Dmitry Avdeev
b2b0d958f5
IDEA-236390 Implement new UI for editing run configuration settings
...
enabled for internal users by default
GitOrigin-RevId: df16632a29ae1a3e7f820248a98f285327bbbf68
2020-06-19 11:52:04 +03:00
Nikita Skvortsov
a9a74d6917
[external annotations] fix lookup of bundled annotations list IDEA-243907
...
GitOrigin-RevId: 84dede4686bb93937c8b3e1183e1b123338290dc
2020-06-19 11:41:53 +03:00
Dmitry Jemerov
971216100f
Fix incorrect merge (IDEA-CR-63909)
...
GitOrigin-RevId: ec5ceaabd37aef1cf2d4cb4e589f965f04696c81
2020-06-19 11:38:51 +03:00
Vladislav.Soroka
a18f26e43c
IDEA-CR-1859: license cleanup
...
GitOrigin-RevId: 038357631fa5d8eb4d3b16f7e9222454ad6fc414
2020-06-19 11:19:57 +03:00
Roman.Ivanov
79e5b1e94a
make language level setup local for test
...
GitOrigin-RevId: dcb0fd74d92bec27c86fe41b621306162291358b
2020-06-19 11:18:10 +03:00
Dmitry Jemerov
f865eca72a
Log "Find why ..." actions to FUS
...
GitOrigin-RevId: f54b973046e5d2cada34c657210db1febdb6b3c2
2020-06-19 11:17:39 +03:00
Dmitry Jemerov
40bd98c2dc
Add FUS for "related problems" interactions (FUS-732)
...
GitOrigin-RevId: 4f22319c03b9347b4fdec2c820269794fd274aec
2020-06-19 11:17:38 +03:00
Dmitry Jemerov
cf49f1a3fb
Get rid of no longer existing "broken usages" name
...
GitOrigin-RevId: 4f6493a1ad52a8259b54a727304129fb7d97ca91
2020-06-19 11:17:37 +03:00
Dmitry Jemerov
34c21e1e8f
Distinguish prev/next error actions in FUS reports for inspection widget
...
GitOrigin-RevId: 1dfabed1ad928803c1be6369369d6884272c0325
2020-06-19 11:17:36 +03:00
Vladimir Krivosheev
08c7b9e1fc
cleanup
...
GitOrigin-RevId: 4f6e616d236ebc3c7df77acd9560a861ed82abf6
2020-06-19 11:15:40 +03:00
Vladislav.Soroka
4b03338ba1
IDEA-243817 API for incremental gradle import: models for buildSrc and composite builds are missing
...
GitOrigin-RevId: 981423bd56074978651f7fdbd5c9887ba6db4e25
2020-06-19 11:05:38 +03:00
Artemiy Sartakov
483de39a27
Problems view: show member name in intention description
...
GitOrigin-RevId: 8ba8e2869888bd18c51e5b5085ce17704f43a080
2020-06-19 10:57:37 +03:00
Tagir Valeev
24b54861e9
Tests for updated PsiTypeElementImpl.getReferenceComputable
...
GitOrigin-RevId: f8e98812e958277c7a71f0221b85d80b8b8c4d2d
2020-06-19 10:55:15 +03:00
Vladimir Krivosheev
42cbb72e1e
cleanup
...
GitOrigin-RevId: f3e91b58355e79556aa767ae4a6acc66f6e40b36
2020-06-19 10:17:19 +03:00
Vladimir Krivosheev
1f5cba2ebf
temp file to delete — use Path instead of File
...
GitOrigin-RevId: 1fd95a2937fa1773e9dd046121f0ff97f5279eb9
2020-06-19 10:13:45 +03:00
Tagir Valeev
93dafadf4a
Update Override annotation support for Java 15 records (part of IDEA-239088)
...
GitOrigin-RevId: 16744c263f812eeaf19151fb2f46d95d0f994838
2020-06-19 09:43:18 +03:00
Artemiy Sartakov
0fcaf4e04e
Problems view: do not show problems for current file
...
GitOrigin-RevId: 9a71b33f03e640150c3c93aaadd0ba6f08991cfa
2020-06-19 09:31:42 +03:00
Ilyas Selimov
3c105474e5
IDEA-163195 - ignore creation the fix if it's a batch mode
...
GitOrigin-RevId: 8574fa25c43de38058cd18848d0d77314b5fbfc5
2020-06-19 08:44:41 +03:00
Tagir Valeev
7ef1e04f92
JavaSliceBuilder: avoid decrementing beyond zero
...
Fixes EA-232342 - assert: JavaSliceBuilder.<init>
GitOrigin-RevId: 3f33f778c90199e8b7745d2ac29022d2d4716b06
2020-06-19 08:01:14 +03:00
Tagir Valeev
15e1ca57c9
PsiTypeElementImpl: compute type parameter reference based on parent
...
GitOrigin-RevId: 7c302e763b94e9de7bc014c1a5ab3bd11a886522
2020-06-19 06:56:56 +03:00
Anastasia Ivanova
8af6291573
IDEA-CR-63832: IDEA-243825 rename "toolwindowWhitelist" to "toolWindowAllowlist"
...
GitOrigin-RevId: ca6080c5c040470408f6983ed957d0adb656f46a
2020-06-19 06:15:17 +03:00
Anastasia Ivanova
0f327c9919
IDEA-CR-63832: FUS: ToolWindowCollector should consider ToolWindowWhitelistEP
...
GitOrigin-RevId: a5b400dae4b3b810537ab3001bc7ad98630b20db
2020-06-19 06:15:14 +03:00
Anastasia Ivanova
9bd09723f1
IDEA-CR-63832: IDEA-243825 migrate usages to "notificationAllowlist"
...
GitOrigin-RevId: 17268c6bd8df7c4e6d7a9733ee68ffff8e169dc9
2020-06-19 06:15:12 +03:00
Anastasia Ivanova
4a55694954
IDEA-CR-63832: IDEA-243825 create "notificationAllowlist", deprecate "notificationWhitelist"
...
GitOrigin-RevId: 4226a9c99872c9c621371d6821f6634c2dacfccf
2020-06-19 06:15:11 +03:00
Sergey Malenkov
be94476f0b
Ensure that trees in tests use DefaultTreeUI
...
GitOrigin-RevId: 093b4d1249609412f9c4c4f40d7e13adf272d553
2020-06-19 00:10:50 +03:00
Sergey Malenkov
b45e0df3c8
IDEA-243171: Detected frameworks aren't properly aligned in libraries view
...
GitOrigin-RevId: 7ca70158c3e5099c35f1dbae6a144bebee87f8ae
2020-06-19 00:10:48 +03:00
Adam Hood
f46bd7dfb4
LAB-31: move DumbUtilImpl -> analysis-impl
...
GitOrigin-RevId: 89661f7fda60e1c11492599f1579223f749d6d5b
2020-06-18 23:47:19 +03:00
Roman Shevchenko
b628a64cc1
Cleanup (AppInfo API; unneeded instance checks; warnings)
...
GitOrigin-RevId: 69391abfd6c22b6c3d997608f12e3354770dffb3
2020-06-18 23:41:26 +03:00
Nikita Eshkeev
ef90c9f857
[codeInsight] IDEA-238740 Support the jdk.internal.PreviewFeature annotation
...
This patch fixes the problems according to the code review, it includes:
- moving extractHighlightingFeature to HighlightingFeature and renaming it to fromPreviewFeatureAnnotation
- assuring the PreviewFeature annotation name by calling PsiAnnotation#hasQualifiedName instead of comparing the name by equals
- moving JDK_INTERNAL_PREVIEW_FEATURE to HighlightingFeature
- extracting repeating part of checking the language level to HighlightUtil#checkPreviewFeatureElement
- adding a new case "SEALED_CLASSES" to HighlightFeature#fromPreviewAnnotationName
In addition to that there is also more robust solution to detect invalid contexts in references and static imports. The test data updated accordingly.
Signed-off-by: Nikita Eshkeev <nikita.eshkeev@jetbrains.com >
GitOrigin-RevId: 999d43ec5d9315d0881d08ce9341433707de96a0
2020-06-18 23:18:40 +03:00
Roman Shevchenko
e1e85554b4
[platform] catching early AWT init errors; more diagnostics (IDEA-236262)
...
GitOrigin-RevId: f3abe0b4bb7e42e604aa4caf0fed96a33efb14b8
2020-06-18 22:51:44 +03:00
Mikhail Sokolov
10884998f7
fix leak in ClassSearchEverywhereContributor
...
GitOrigin-RevId: eb85e7ad753c761dc0e7184734b4492d28ee8a0a
2020-06-18 22:20:54 +03:00
Evgeniy.Stepanov
b030aa407f
CWM: Do not perform autoscroll if editor was changed by remote client, fix CWM-280
...
GitOrigin-RevId: eec2448bdf51cacd21738843e514121d38765bac
2020-06-18 21:48:04 +03:00
Peter Gromov
2f27fb90c6
move JSOuterLanguageRangePatcher to the platform, rename to DefaultOuterLanguagePatcher (IDEA-CR-63842)
...
GitOrigin-RevId: 4290eb600b5e39971e2f7bb204e0b24e18a2c648
2020-06-18 21:46:37 +03:00
Mikhail Sokolov
e39f13580b
IDEA-241923 Search Everywhere: Misordering in Results
...
GitOrigin-RevId: f2bbe7b3bd263ff2c43b76bf443ce6c92890b9bb
2020-06-18 21:09:41 +03:00
Mikhail Sokolov
660fe75d8e
IDEA-241923 Search Everywhere: Misordering in Results
...
GitOrigin-RevId: 004bc76e98221824b439c252e6b5da0a7b7242a7
2020-06-18 21:09:40 +03:00