Commit Graph
276415 Commits
Author SHA1 Message Date
Anna Kozlova c2ec0c2e78 java redundant cast: forbid changing of substitutor if cast is removed (IDEA-184330)
this way neighbour functional expressions can't be broken

GitOrigin-RevId: c13823eca79157030f3dde53fa6a6d496be9c2b7
2020-05-05 21:49:48 +00:00
Sergei Vorobyov 1ad48d35aa IDEA-238573 removed cyclic update of UI components that bound with properties
GitOrigin-RevId: 424aab4a0c8f9fccadac8af1747ace360d5e82eb
2020-05-05 20:54:00 +00:00
Sergei Vorobyov ef2778333c IDEA-228482 replaced all mentions about project [re]import by project reload
GitOrigin-RevId: edf23532be3daf75737bf14fb96d27f6b6fbc0ba
2020-05-05 20:54:00 +00:00
Sergei Vorobyov 840b326d48 [auto-reload] smoothed auto-reload
long delay before refresh
show auto-reload notification only for disabled part
don't auto-reload changes during project reload

GitOrigin-RevId: 5b75b0ddc2f0086bba43c3663f03100d20516eb5
2020-05-05 20:54:00 +00:00
Sergei Vorobyov 2604c5a552 IDEA-238567 added 3 state auto-reload option
IDEA-238228 added storing of auto-reload option in workspace.xml

GitOrigin-RevId: 0a4ce55c040f553fc65ef1e957ed281e2f4a46c6
2020-05-05 20:54:00 +00:00
Alexandr Suhinin 8ca9c829a1 extract method: enable new implementation by default
GitOrigin-RevId: 2b30af5c5325d598939cab07e9ccf317aa779d82
2020-05-05 19:17:50 +00:00
Alexandr Suhinin 69ecf39941 IDEA-236333: fus options of extract method refactoring
GitOrigin-RevId: f9d8b0a1e305b34bdcbd627a47c221e790a26e8d
2020-05-05 18:44:54 +00:00
Alexandr Suhinin 87a0b51610 extract method: proper error messages & problem elements highlighting
GitOrigin-RevId: 0c303e15e47ea8f521e557ac9a39654fbd820f8c
2020-05-05 18:44:54 +00:00
sergey.vasiliev af31d6f44c dynamic plugins: removed unused dom UI components
GitOrigin-RevId: 73b43da392e6b242a1f4d206bb5a5385ca4e9b34
2020-05-05 18:44:54 +00:00
Rustam Vishnyakov 6f62608074 Don't use stateful AsyncComputation to check provider equivalence
GitOrigin-RevId: 2b2d51e7fc770d1160000aaa7da57c907faf26c4
2020-05-05 17:30:06 +00:00
Yuriy Artamonov 3335fdde2c IDEA-CR-62296 IDEA-235191 UAST: speed up reference contributors
GitOrigin-RevId: 2a4041f508a2d81f4725446875d108280b82103b
2020-05-05 16:26:40 +00:00
Eugene Zhuravlev 3e854219fb mark compilerSettingsFactory dynamic (IDEA-238274)
GitOrigin-RevId: bde2efeb4cedbe9939898d601c7f00490d8e55e4
2020-05-05 16:10:52 +00:00
Alexander Zolotov 48a671016e [java] skip errors and empty elements while checking whether semicolon is needed to be completed
GitOrigin-RevId: b049999e082df5c42b6f3faa6a86b7849afaa24c
2020-05-05 15:33:32 +00:00
Tagir Valeev ca5c55d746 NotNull annotations (IDEA-CR-62327)
GitOrigin-RevId: aa4b828f3d87accdc94da8be872e788abd121911
2020-05-05 15:13:30 +00:00
Nikita Eshkeev 92d15819de [codeInsight] IDEA-113640 Provide intention to combine System.out.println(String.format(...)) into System.out.printf
This patch uses the ReferenceNameElement element of a PsiMethodExpressionCall to bind the highlighting as per the code review's request

Signed-off-by: Nikita Eshkeev <nikita.eshkeev@jetbrains.com>

GitOrigin-RevId: 490d3e29898b4c21622595ca5d94cd07e7928fde
2020-05-05 15:13:30 +00:00
Konstantin Bulenkov dfb0cde3f7 ToolkitBugsProcessor is outdated
GitOrigin-RevId: df508be2f489480507bdbfa2c82293cba3176186
2020-05-05 12:48:59 +00:00
Mikhail Mazurkevich c3b5b5c325 [jps-cache] Remove publication of JSON files
GitOrigin-RevId: 2487642bfb072741b3360fbd8bd0ff298c744178
2020-05-05 12:33:11 +00:00
Sergey Stoyanovsky d77a60e8a7 [ml-completion] Increase number of recently opened files taken in account by ngram_recent_files feature
GitOrigin-RevId: f82765fc63d5d44aa3bc23e31bcdad1dcae1f258
2020-05-05 12:10:12 +00:00
Evgeniy.Stepanov 712d218016 Validation for module structure in installers for thin client
GitOrigin-RevId: ad2203d6e2e31fce707eb78c20121bd6d3cbd235
2020-05-05 12:10:12 +00:00
Alexey Kudravtsev ffc61a9296 Do not use random encoding while compiling scratch files from external process, use the project-supplied one for that to fix IDEA-200826 IDEA Scratch File (java) seems cannot handle Chinese code
GitOrigin-RevId: 7a77208c3d7777eb57a75f6392db8271d26223c5
2020-05-05 11:43:16 +00:00
Anna Kozlova 349c96eaee java redundant cast: allow warnings in poly conditional when target type remains the same
GitOrigin-RevId: f953fc42882a1eaad0b0a8c65d1e94236f0ec99e
2020-05-05 11:29:06 +00:00
Anna Kozlova b4993721fb java redundant cast: parenthesis (IDEA-218757)
GitOrigin-RevId: e1854c1cca7d9fef6aabf3a25ee2fe8597a2dbec
2020-05-05 11:29:06 +00:00
Anna Kozlova 2832d5f81c java redundant cast: keep same conditional expression type based on cast type & opposite operand (IDEA-235896)
GitOrigin-RevId: 7e454f0db256ad843c7abb890953c8d264af0257
2020-05-05 11:29:06 +00:00
Anna Kozlova 0ed0e007ee testdata for IDEA-157926
GitOrigin-RevId: 0227aa27f1329ae64011e737291f27338ed5a825
2020-05-05 11:29:06 +00:00
Konstantin Bulenkov 06d5a740c0 change popup menu to action popup when clicking on ActionButton
GitOrigin-RevId: 8c07375a8089c577fcce41cb6cfb758d34ac0a57
2020-05-05 11:29:06 +00:00
Dmitriy.Panov 6c2b21529f JPS caches: upload everything to AWS to fix missing files
GitOrigin-RevId: 53e0a25f773fb00a1a98f39f47ffd3e291396411
2020-05-05 10:40:25 +00:00
Dmitriy.Panov 7d7fa55beb JPS caches: rename argument for clarity
GitOrigin-RevId: 21fd8305657e44f803fd0daf0ce0acb6900a86e2
2020-05-05 10:40:25 +00:00
Sergey Simonchik 209a312681 terminal: simplify code
GitOrigin-RevId: 87f687a247f2c79890cff0599d3a4ebb9c6314f3
2020-05-05 09:57:19 +00:00
Leonid Mashinskiy 91be078f10 cidr: update lldbkit dependency
GitOrigin-RevId: 86e8cc28e31cb9bd8466263618c1c7c6422cdf05
2020-05-05 09:57:19 +00:00
Yann Cébron db551d0aac IDEA-240030 "Navigate to Test Data" must not take precedence over Run/Debug
GitOrigin-RevId: dd24a271bed376008350a4fd0d7d37588c643acc
2020-05-05 08:50:45 +00:00
Tagir Valeev e1b282d364 Warnings fixed
GitOrigin-RevId: 43e324ef2f032fa735b53809409f975d6590918e
2020-05-05 08:39:37 +00:00
Tagir Valeev f050885adb Suppress cast to incompatible interface warning
GitOrigin-RevId: 8df5f2a715864435e218d407b57a0aa0eb33a04d
2020-05-05 07:50:14 +00:00
Tagir Valeev 33043c8160 FacetAndType: +equals/hashCode
GitOrigin-RevId: 01a19f51150f2edfc06e2c8e699de79fb1edd570
2020-05-05 07:41:51 +00:00
Tagir Valeev 467ac38954 checkAnchor fixed
GitOrigin-RevId: 39e945e0c9ebfe4eea57893be2f20b130c422603
2020-05-05 07:41:51 +00:00
Tagir Valeev d27f8b5a29 Cast to incompatible interface: do not report under compatible instanceof
Reuse InstanceOfUtils.findPatternCandidate for this purpose

GitOrigin-RevId: 7c0c40467347ee25f84b3d1b58f7f124f81fe6d5
2020-05-05 07:41:51 +00:00
Tagir Valeev 0c2a4c4ad6 Fix Suspicious collections method calls warnings
GitOrigin-RevId: eb47bdeee28a94beda83bfc2ee4223ea2c5f0bf2
2020-05-05 07:15:24 +00:00
Tagir Valeev e813c64ce2 Refactor InconvertibleTypesChecker
GitOrigin-RevId: e2833d187bf6ce3c3ebd49e7efaaa30bef8a099d
2020-05-05 07:15:24 +00:00
Anna Kozlova 462856d81c java: ensure that lambda parameters are available inside lambdabody.copy() (IDEA-222542)
GitOrigin-RevId: b31c6c8484d8e77e96dfad104b08ce13631ddeaa
2020-05-05 07:04:28 +00:00
Tagir Valeev c7cfd81bc2 Positive test added (IDEA-CR-62158)
GitOrigin-RevId: bafc04a87dd7b52f54938dc6dcb3a76cc32ee732
2020-05-05 05:11:19 +00:00
Tagir Valeev 39ca5a8e57 IDEA-227219 Dataflow to here: filter by target value
GitOrigin-RevId: 4509bbb852b61262ac4160bebe31fd93976da286
2020-05-05 04:30:49 +00:00
Tagir Valeev c54b3f79b3 HardcodedContracts: fix for elements without containing file
Fixes EA-231494 - IAE: InjectedLanguageManagerImpl.$$$reportNull$$$

GitOrigin-RevId: 710ffc56f2eb5e039505714e4d9769feced3011d
2020-05-05 04:30:49 +00:00
Tagir Valeev cd2d0306b8 BindToExistingBeanStep: fix assertion
GitOrigin-RevId: 420f3bbf9113294b5e9bb570025fb555a535b350
2020-05-05 04:30:49 +00:00
Tagir Valeev 4a70521e1d Removed unused collection
GitOrigin-RevId: 1995a506a2d60a1add59cdad22fce0806829a1f6
2020-05-05 04:30:49 +00:00
Tagir Valeev e39a654356 Fix redundant collection operations & some other warnings
GitOrigin-RevId: 92ea4a931aefd529d8f8a81ff07e06e1294d8608
2020-05-05 04:30:49 +00:00
Tagir Valeev 78ea5f2606 BaseAnalysisActionDialog: i18n
GitOrigin-RevId: ca71e33f46f6ea300775298c2e012d3f5943e1aa
2020-05-05 04:30:49 +00:00
Vassiliy.Kudryashov 835a550b16 IDEA-238261 Make com.intellij.favoriteNodeProvider EP dynamic
GitOrigin-RevId: 0ee465bb7c6c473244848509399315f2daa9cd69
2020-05-04 23:22:38 +00:00
Nikita Eshkeev 68f1da981c [codeInsight] IDEA-113640 Provide intention to combine System.out.println(String.format(...)) into System.out.printf
This patch removes StringUtil.isEmpty("%n") from RedundantStringFormatCallInspection#joinWithNewlineToken as it is always true. In addition to that it also includes:
- inlining the getMethodNameRange method since the createProblemDescriptor method accepts a nullable parameter
- moving RedundantStringFormatCallInspection#joinWithNewlineToken inside of StringFormatToPrintfQuickFix to reduce its visibility scope

Signed-off-by: Nikita Eshkeev <nikita.eshkeev@jetbrains.com>

GitOrigin-RevId: e70f0b6be7eb158910016ac2bb31bb5667186c91
2020-05-04 23:13:31 +00:00
Sergey Stoyanovsky 374bb1b021 IDEA-239003 Fix PIEAE in NGram IDEA-CR-62219
Use SmartPsiElementPointer in NGramFileListener to survive reparsing

GitOrigin-RevId: c21626d554c550d6f8db5c8cf3a43d8a93e5b8d2
2020-05-04 21:40:56 +00:00
Roman Shevchenko 02a0da5198 [ui] postponing system health notifications until app UI is ready (IDEA-239832)
GitOrigin-RevId: 1b1e36ba898c9e017197418754f43ef020c98ff1
2020-05-04 20:49:32 +00:00
Anna Kozlova 026e917bb9 java redundant cast: check for inference problems when test against expected by parent type (IDEA-215022)
GitOrigin-RevId: a33a36e76da7fc49284e93903158e9257b66a97c
2020-05-04 20:49:32 +00:00