Commit Graph
293928 Commits
Author SHA1 Message Date
Tagir Valeev fdb5a1025d [java-inspections] CodeBlockSurrounder: disable in enum initializers
We could devise something like ((Runnable)() -> {...}).run() but this kind of code looks too ugly.
Fixes IDEA-252688 Assertion error when applying fix to assert not null in enums

GitOrigin-RevId: 6f2122acb60cfcb074cc47e6bc599626fe5547fd
2020-10-14 05:42:27 +00:00
Tagir Valeev 038456e4fd [java-analysis] More diagnostics for EA-238751
GitOrigin-RevId: c3bf85ec0675620c4bcf2e7ceabbf34c469c82c0
2020-10-14 03:27:31 +00:00
Tagir Valeev 99e1658136 [lang] Dataflow to/from here: icon for toolwindows; i18n
GitOrigin-RevId: 728fbbfb31557a0e58742412f1c047f409215605
2020-10-14 02:57:00 +00:00
Tagir Valeev 35c14b4780 'Icon for Analyze Dataflow tool window' from 2236c44e7 from git@github.com:JetBrains/IntelliJIcons.git
GitOrigin-RevId: c43196dc8e5e410c0d65101378f36c26f2c0ed56
2020-10-14 02:37:03 +00:00
Dmitriy.Panov 305cea7563 IDEA-252826 donate notification dropped
GitOrigin-RevId: 80c99e5f0e04f97b4095ca0380e97bd4a5727bf5
2020-10-14 01:00:24 +00:00
Dmitriy.Panov 0e3bc98b3e IDEA-252825 lombok plugin layout for bundling
GitOrigin-RevId: b55e147c5e68d5262b8171e9f3d734dfb97cb284
2020-10-14 01:00:21 +00:00
Dmitriy.Panov fc608c3afb IJ-CR-3357 simple name calculated
GitOrigin-RevId: 369a2e88a640d215e27b277da31c38b1dfb0f8ea
2020-10-14 01:00:20 +00:00
Dmitriy.Panov d534c3380d IDEA-252826 Provide the correct version and description for the bundled Lombok plugin
GitOrigin-RevId: 8de2473b5a5bae8f2283c3f50aa327f365970eac
2020-10-14 01:00:18 +00:00
Dmitriy.Panov 8f5a18250f IJI-460 build.gradle updated to be able to compile sources
GitOrigin-RevId: 175cf232f10297aee8d022b7668f84408a3e3801
2020-10-14 01:00:16 +00:00
Bas Leijdekkers 551f4792bf IG: optimization; try to avoid walking through text-only comment line by line
GitOrigin-RevId: 572ed575a139baed49ef3e7d771576cadd994945
2020-10-13 22:14:36 +00:00
Bas Leijdekkers 6d7d152e48 IG: recognize commented out else branch after if statement
GitOrigin-RevId: bd9aba9697230eebfac151a279b8988897f1bd50
2020-10-13 22:14:35 +00:00
Bas Leijdekkers 5a5af3d99b IG: better recognition of urls in commented out code
GitOrigin-RevId: 11a54b57ad56d62348c809eb352424b45982cc6f
2020-10-13 22:14:33 +00:00
Bas Leijdekkers d89dd608c9 IG: introduce isEndOfLineComment() utility method
GitOrigin-RevId: 8924d089bd8fa6291ff19f9f6946689efcf8c1a7
2020-10-13 22:14:32 +00:00
Vassiliy.Kudryashov cd976665f2 IDEA-202576 Tab pin indicator is hardly visible in many cases
GitOrigin-RevId: b3319766c73f3ab65456b67357db0596a4b57037
2020-10-13 19:59:10 +00:00
Vassiliy.Kudryashov ba6d6ee793 IDEA-202576 Tab pin indicator is hardly visible in many cases
GitOrigin-RevId: 1a4657923e6822baeb44eeae8f7f9983be4da8b3
2020-10-13 19:59:08 +00:00
Julia Beliaeva e0fe4262e3 [git-index] update commit workflow when git staging area setting is changed
GitOrigin-RevId: f92995ed28acb6a52008adfc2efd85848095ba62
2020-10-13 19:27:46 +00:00
Sergey Simonchik 84e29ba93d new project wizard: pass module root directory to project generator (WEB-47809)
GitOrigin-RevId: 5e18db5ec57364fb07ceaa9b044b45b04529ee73
2020-10-13 19:14:44 +00:00
Eugene Petrenko 9d702fa6b2 add getInstance for JrtFileSystem
GitOrigin-RevId: bdfcda4885a755628f804d0a4180eec0eaba33d3
2020-10-13 18:58:40 +00:00
Daniil Ovchinnikov 024d211d18 [i18n] move unused keys from RefactoringBundle to IdeDeprecatedMessagesBundle, remove unused key
GitOrigin-RevId: 169482628ff0c264baf6e9f8b5b77790e7fb5d1d
2020-10-13 18:19:46 +00:00
Eugene Petrenko ff72d54c56 HttpRequests: decompress error responses if GZip content encoding was set, fix jetbrains.team auth logging
GitOrigin-RevId: 4f96c8eb89ab0569513a714ff3e328f2f8b66368
2020-10-13 18:17:59 +00:00
Elena.Korotkova 9db9c5a2f7 Change search field size proportion
GitOrigin-RevId: af837c9cfd1091e07461a706447c284832eb2d3c
2020-10-13 18:08:05 +00:00
Daniil Ovchinnikov 5888af3e0e [i18n] move unused keys from UsageViewBundle to IdeDeprecatedMessagesBundle
GitOrigin-RevId: 19d2e52b76025a7658b9ff21b52d3ce89adf989c
2020-10-13 18:00:08 +00:00
Daniil Ovchinnikov 0e02300b66 IDEA-248297 [groovy] treat list literals as List only in @CompileStatic
GitOrigin-RevId: b107132966d4749a44f02f9b118443a51e463ac5
2020-10-13 18:00:07 +00:00
Daniil Ovchinnikov 3ed75ce0a3 [groovy] eagerly compute list component types
.. otherwise the instantiation of ListLiteralType happens inside one InferenceContext instance,
while component types might be computed in another one, leading to incorrect results/messed caching/SOE.

Example: `org.jetbrains.plugins.groovy.lang.resolve.TypeInferenceTest.testRecursionWithLists`.
Changing list literal type to ArrayList will cause two `DFAType`s in the beginning of a while-loop to become unequal,
then they are joined via LUB (`DFAType.create(DFAType, DFAType, PsiManager)`), type of the `[list]` was instantiated
inside a `PartialContext`, then computation of component types happens outside of `PartialContext`,
which causes unnecessary recursion and disabled caching.

GitOrigin-RevId: 83bc7e0a2fac6f48d30ac55f8c96fca5428b6811
2020-10-13 18:00:05 +00:00
Kirill Likhodedov e822967584 settings: allow to select directory to export settings into: IDEA-252603
Use different FileChooserDescriptors for import and for export, since filtering directories by config directory makes sense only for import.

GitOrigin-RevId: 5e53095aa41254e4b0a7160f2f0cbab6c50f22a7
2020-10-13 17:59:42 +00:00
Kirill Likhodedov 28c93a3a06 settings: cleanup: extract method
GitOrigin-RevId: afdb687e78e7a54ed3599753ddccde671994d6f0
2020-10-13 17:59:41 +00:00
Kirill Likhodedov 7600b900cd settings: cleanup: simplify call
No need to use the cancelled state of the FileChooserConsumer, and convert it to a Premise, since nothing is performed on cancel.

GitOrigin-RevId: cf7ac2f6996081bbb20bbad854156def00c307f1
2020-10-13 17:59:40 +00:00
Elena.Korotkova d3f974cd55 Replace JPopupMenu with ActionPopupMenu in SearchTextField
GitOrigin-RevId: faf1a167570ea58fef8a4a61b82f7403f33a9b02
2020-10-13 17:53:53 +00:00
Dmitriy.Panov 0a61f152be IJI-485 Windows patches: missing files
it seems that the only reason to skip parent directories creation is https://upsource.jetbrains.com/intellij/review/IDEA-CR-14647 which no longer relevant because bundled JBR is mandatory

GitOrigin-RevId: e1c7a3925a80e14e0df4ea8443dae1b2e8efc8d8
2020-10-13 17:32:34 +00:00
Sergey Simonchik a5af84a761 wsl: enable running with wsl.exe by default and use "wsl.exe --exec /bin/sh -c <command>" (IDEA-CR-67382)
Actually, it works fine with escaping.

GitOrigin-RevId: 7fec02377a2100302951484026f20125ca74bb14
2020-10-13 17:14:27 +00:00
Vassiliy.Kudryashov 337f0a55c8 IDEA-252805 Can not resize variables in debug tool window
GitOrigin-RevId: a590641e3ee5d46d2ca94e9e5dc8a8474a1bdfab
2020-10-13 16:50:39 +00:00
Michael Golubev 1c56f6717c IDEA-247683: App servers i8n - unused properties
GitOrigin-RevId: a00d56287c45066352bf8092beb8cfa7132d0768
2020-10-13 16:50:20 +00:00
Alexander Podkhalyuzin 4fcb9ea9a5 Possible optimization for the refresh in indexes:
Plain cycle could be faster than stream on performance critical path.

For #IDEA-245096

GitOrigin-RevId: 79b70fb7185833301fbb5ca6297a1006f8747746
2020-10-13 16:29:23 +00:00
Yann Cébron 62c14902bd [dom] DomImplementationClassEP: add @RequiredElement
GitOrigin-RevId: bfbe8b793cf8198b8b41f5df476f6fc4eafb3cc9
2020-10-13 16:20:43 +00:00
Andrew Kozlov 0fb7b61cf4 [dynamic plugins] minor refactoring #IDEA-246104
GitOrigin-RevId: 9d3b86ceeddb7d06198a9fbc2eb84bc65aabf7fa
2020-10-13 16:18:59 +00:00
Andrew Kozlov 112c860855 [dynamic plugins] required plugins should not be disabled for project #IDEA-246104
GitOrigin-RevId: aa5d1f3dd9e6c9c2305a15148c975d13cabf916f
2020-10-13 16:18:58 +00:00
Andrew Kozlov e7a9defa08 [dynamic plugins] applicationShuttingDown is still required #IDEA-246104
GitOrigin-RevId: 65a917558d890bf358d0e0ba4715cdedd8fd6a63
2020-10-13 16:18:57 +00:00
Aleksey Pivovarov f6297836e4 git-index: fix typo - do not install listeners on wrong documents
This fixes issue with index document being saved at wrong times.

GitOrigin-RevId: 274176553a4f9caa91cd7cafc92f0dfecdff082e
2020-10-13 16:11:48 +00:00
Sergey Simonchik ec6bbab808 update pty4j to 0.10.0
This includes support for preserving process output after process termination (https://github.com/JetBrains/pty4j/pull/94)

GitOrigin-RevId: e29ccf34c8b22b4dc3ba259cd3b3c64e4d9ff1ec
2020-10-13 16:06:36 +00:00
Sergey Malenkov a62d6fcaa1 Fix UnusedPropertyInspectionTest: dragged.item.count @ LangBundle.properties:424
GitOrigin-RevId: e0c5c5c1a8afed6e80d89c18b99db82f119c5c8f
2020-10-13 15:45:38 +00:00
Alexey Utkin 215366cc7a CPP-22446 GTest: Incorrect number of tests is reported in test results
- add Javadoc

GitOrigin-RevId: a292ce75f7aa4b7bd814afc78018fdd82f1e0c20
2020-10-13 15:43:27 +00:00
Alexey Utkin 3723303a25 CPP-22446 GTest: Incorrect number of tests is reported in test results
- API change
- return to suite/test dichotomy from test only approach

GitOrigin-RevId: d867415cc1f97161b5dd3b9153a2547b12cb0616
2020-10-13 15:43:25 +00:00
Yann Cébron 9bd3ca16e1 IDEA-219905 Plugin development: quickfixes to register application/project component should open declaration in plugin.xml
GitOrigin-RevId: 93b5414d9b21148c4d63bb2a77549ba24c64518e
2020-10-13 15:41:05 +00:00
Nikolay Chashnikov 6de5875f8a [workspace model] cleanup: remove todo comment which isn't relevant anymore
GitOrigin-RevId: 1685869c9edcf2be8f1727de769ffa7607cf8c0f
2020-10-13 15:33:12 +00:00
Nikolay Chashnikov 1e8085286d [workspace model] correctly save facets which type is unknown (IDEA-252791)
We should save configuration for such facets and use real type ID instead of 'invalid'.

GitOrigin-RevId: 7a6259c38c7d0dfd4947b83c62682f6848155cf4
2020-10-13 15:33:11 +00:00
Nikolay Chashnikov 4d26927883 [tests] add constructor to MockFacetConfiguration to simplify code
GitOrigin-RevId: 6bdac613dc05731985e150d6886f98589bdb8a05
2020-10-13 15:33:09 +00:00
Egor Ushakov 4d8c6f7322 fixed unused keys
GitOrigin-RevId: 8acc0591f527a59e6afcee4833b5287d866189e7
2020-10-13 15:22:36 +00:00
Kirill Kirichenko ba4ec1948f IDEA-252493 Implement Got it tooltip. Added showCount, javadoc, protection against double opening, fixed layout.
GitOrigin-RevId: 2bd8a7375660332ab0a7f8ba8b96b18218c5e9b7
2020-10-13 14:59:35 +00:00
Rustam Vishnyakov 401e322959 Enable OS file-IDE association feature by default
GitOrigin-RevId: d19b33cbed8c51a3771554e82bbabd94e92e91f1
2020-10-13 14:42:20 +00:00
Rustam Vishnyakov 8dbc64d950 Return a default threshold (5) after which file associations file associations are made only for selected extensions
GitOrigin-RevId: e6fa03449621417d280818e31066928dc2802ecb
2020-10-13 14:42:16 +00:00