Commit Graph
198707 Commits
Author SHA1 Message Date
peter 365d521519 IDEA-175018 Unwrap if produces red code 2017-07-07 17:53:00 +02:00
Vassiliy.Kudryashov a7ce2856cf IDEA-173369 Tabs limited to 2 when 1 is set 2017-07-07 18:38:05 +03:00
Kirill Kirichenko d4433bc351 IDEA-171869 Win10 LaF Table borders fixed and combobox fixed for fractional HiDPI scale factor 2017-07-07 18:29:43 +03:00
Kirill Kirichenko 72868fa5fa IDEA-175487 No spacing between buttons in inspection result view 2017-07-07 18:29:43 +03:00
peter f52ace89e0 IDEA-174644 Save as Live Template does nothing if block has leading space or tab
check applicability with raw selected interval, trim template text after that
2017-07-07 17:13:12 +02:00
peter 03ddb122a8 IDEA-175510 "Constant conditions & exceptions" inspection provides non-sensical quick fix in some cases 2017-07-07 17:13:12 +02:00
Dmitry Batrak 4402e56003 make ToggleUseSoftWrapsInPreviewAction DumbAware
(following IDEA-CR-21119)
2017-07-07 18:10:18 +03:00
Ilya.Kazakevich 2bc0c8de43 Test fix: disable conda-specific logic when getting list of packages
See PyExecutionFixtureTestTask comment
2017-07-07 17:52:50 +03:00
Roman Shevchenko 8058ccd238 Merge remote-tracking branch 'origin/master' 2017-07-07 16:51:05 +02:00
Roman Shevchenko 0cdc14da54 Merge remote-tracking branch 'origin/master' 2017-07-07 16:49:31 +02:00
Bas Leijdekkers f72be8efae IDEA-175486 (AssertionError in PackageNamingConventionInspection) 2017-07-07 16:48:01 +02:00
Bas Leijdekkers 63cbf2cb9b IDEA-96785 ("Result of object allocation ignored": Allow suppression for certain classes) 2017-07-07 16:48:01 +02:00
Roman Shevchenko 1046417cfb [java] regular Java completion in modules (IDEA-164119) 2017-07-07 16:47:36 +02:00
Roman Shevchenko 5517e5a6f9 [java] correct reference kind in module statements 2017-07-07 16:47:34 +02:00
Roman Shevchenko d39547412a Cleanup (dead code; minor optimization; typos; formatting) 2017-07-07 16:47:34 +02:00
Svetlana.Zemlyanskaya 883c34ac86 Add helper method to merge project usages with IDE level usages
(cherry picked from commit f94090c)
2017-07-07 16:33:27 +02:00
Alexey Kudravtsev c7c0bb92c0 moved test to a more suitable place 2017-07-07 16:48:44 +03:00
Anton Tarasov 8aff053d2f Fix app-icon setting for debug IDE on macOS
JFrame.setIconImages() doesn't work on macOS.
2017-07-07 16:43:21 +03:00
Alexey Kudravtsev 87224d6186 cleanup after review 2017-07-07 16:38:16 +03:00
peter d2aae11660 prevent PsiFileImpl.isValid recursion (IDEA-CR-22738) 2017-07-07 15:22:41 +02:00
peter 07344b750d fix finding groovy class inheritors in local scope 2017-07-07 15:22:41 +02:00
Daniil Ovchinnikov 3719224d87 [project view] give more meaningful names (IDEA-CR-22504)
- rename util class generated to ProjectViewStatistics
- rename function triggerProjectViewPane -> recordProjectViewPaneUsage
2017-07-07 15:35:49 +03:00
Pavel Dolgov 377d21a266 Java: Don't suggest replacing 'equals()' with 'Objects.equals()' for literals and literal constants (IDEA-172070) 2017-07-07 15:32:26 +03:00
Egor.Ushakov 5c3d568132 IDEA-175168 On-demand renderers - unset on-demand by default 2017-07-07 15:22:04 +03:00
Elizaveta Shashkova b9da911974 Handle multiple parameters case as well (PY-14828) 2017-07-07 15:08:09 +03:00
Mikhail Golubev 44b75503a1 PY-25076 Method may be static checks compares only unqualified references with "self" 2017-07-07 14:49:51 +03:00
Mikhail Golubev 12eb2d7cac PY-22091 Consider "self" references in f-strings inside potentially static methods 2017-07-07 14:49:28 +03:00
Daniil Ovchinnikov 677b23301e [groovy] fix Add Return Type at the end of method header (IDEA-175441) 2017-07-07 14:47:56 +03:00
Alexander Zolotov c2bff0d5f6 Increase default since-build 2017-07-07 14:39:02 +03:00
Daniil Ovchinnikov 8fada68b37 [groovy] don't allow to convert methods with invalid names to closures
This fixes IDEA-175405.
2017-07-07 14:34:51 +03:00
Alexander Zolotov 763bdba5df IDEA-175506 Build scripts: download JREs only for platforms for which product is being built
pass targetOs property to gradle task
2017-07-07 14:04:52 +03:00
Anna.Kozlova 4e8a0d2dd8 don't loose type parameter bounds during super substitution (IDEA-175471) 2017-07-07 12:54:58 +02:00
Liana.Bakradze 13a25ce448 fix possible NPE 2017-07-07 13:52:24 +03:00
Ekaterina Tuzova 4bd10ec10d create task/test files in inner directories
(cherry picked from commit 3349991)
2017-07-07 13:50:34 +03:00
Daniil Ovchinnikov eb24a4ab93 [groovy] don't allow to convert empty to slashy string (IDEA-175419) 2017-07-07 13:48:09 +03:00
Daniil Ovchinnikov 24e6769632 [groovy] don't allow to convert constructor to closure (IDEA-175428) 2017-07-07 13:42:29 +03:00
Daniil Ovchinnikov a1fefa9eb0 [groovy] cleanup
- specify default resource bundle for the plugin;
- clean assignment inspections:
- - add group sting to bundle;
- - use group key in plugin.xml;
- - get rid of getGroupDisplayName() and getDisplayName() in classes.
2017-07-07 13:42:29 +03:00
Sergey Karashevich 623b57a2fa [gui-test] project view select & expand fix
Due to last changes in project view tree and project view structure we need to change ProjectViewFixture and reduce usage of deprecated methods, convert NodeFixture actions to AbstractTreeBuilder model actions basis. Also added a pause to getLocation() method to wait when appropriate treeNode appears.
2017-07-07 13:03:32 +03:00
Sergey Karashevich ee1aed6223 [gui-test] find by label multiple result fix
If we are looking for textfield or combobox by label or radiobutton, we may met more than one label with the same text. Let's take only showing on screen labels (components).
And just a small fix for IdeaGuiTestUtil -> don't use old junit
2017-07-07 13:03:31 +03:00
Daniil Ovchinnikov bb3faae641 [groovy] treat no-arg calls of method with a single parameter as valid 2017-07-07 12:55:22 +03:00
Daniil Ovchinnikov 6951947fbb [groovy] don't treat [] as constructor invocation if assigned to j.l.Class 2017-07-07 12:55:21 +03:00
Daniil Ovchinnikov 9cbc654745 [groovy] make closure always assignable to SAM type
Make closure always assignable to SAM type independently of closure
parameter types. This fixes (IDEA-175184)
2017-07-07 12:55:21 +03:00
Daniil Ovchinnikov 22f9148015 [groovy] mark GrClosableBlock.getLBrace() as @NotNull 2017-07-07 12:55:21 +03:00
Egor.Ushakov 6c438ddc44 IDEA-175489 On-demand children expressions in user-renderers 2017-07-07 12:48:18 +03:00
Konstantin Ulitin e5b56114c1 fix Vm leaking (IDEA-CR-22744) 2017-07-07 12:36:52 +03:00
Vladislav.Soroka ec3eb612db Gradle: preserve line separator between group/version properties and other part in the project template 2017-07-07 12:25:14 +03:00
Dmitry Batkovich 1e20662cf0 change implicit IndexId.toString() call to explicit IndexId.getName() 2017-07-07 12:21:08 +03:00
Dmitry Batrak 9ddc1fda18 EA-89894 - Throwable: ExceptionUtil.currentStackTrace
Fixes situation when soft wraps are recalculated while document
listeners are notified, but after listeners in soft wrap model and
editor size manager have been processed (exception stack trace
shows it happened due to available width changed for editor, but
it's hard to say what the exact root cause is)
2017-07-07 11:22:17 +03:00
peter f3e5fe2095 let psi file become invalid when its original file is invalid
because otherwise clients call getOriginalFile and end up with invalid PSI
2017-07-07 08:00:22 +02:00
peter beade7a802 IDEA-175229 PSI changes should be reflected in the corresponding document even if PSI is non-physical 2017-07-07 08:00:21 +02:00