idea/community.git
3 years agoMerge branch 'master' into alexandr.suhinin/duplicates-languages
Alexandr Suhinin [Mon, 3 Dec 2018 19:06:35 +0000 (21:06 +0200)]
Merge branch 'master' into alexandr.suhinin/duplicates-languages

3 years agoCPP-14865 GDB: Add internal property to control mi-async mode rubymine/191.2414
Eldar Abusalimov [Mon, 3 Dec 2018 18:23:21 +0000 (21:23 +0300)]
CPP-14865 GDB: Add internal property to control mi-async mode

3 years agoLower ImageInfoReader's logger severity to debug
Vyacheslav Karpukhin [Mon, 3 Dec 2018 18:04:47 +0000 (19:04 +0100)]
Lower ImageInfoReader's logger severity to debug

3 years ago[ui] drops automatic product name linking from update info dialog (IDEA-203240)
Roman Shevchenko [Mon, 3 Dec 2018 17:42:16 +0000 (18:42 +0100)]
[ui] drops automatic product name linking from update info dialog (IDEA-203240)

3 years agomethod duplicates: ignore instance method duplicates in static context (IDEA-203444)
Anna.Kozlova [Mon, 3 Dec 2018 17:39:13 +0000 (18:39 +0100)]
method duplicates: ignore instance method duplicates in static context (IDEA-203444)

3 years agojunit: distinguish before/after class failures for single class runs (IDEA-203356)
Anna.Kozlova [Mon, 3 Dec 2018 16:44:40 +0000 (17:44 +0100)]
junit: distinguish before/after class failures for single class runs (IDEA-203356)

3 years agoIDEA-203054 Thread leaks in tests
Mikhail Sokolov [Mon, 3 Dec 2018 17:16:04 +0000 (20:16 +0300)]
IDEA-203054 Thread leaks in tests

3 years agoIDEA-203475 Hang on dump threads
Egor Ushakov [Mon, 3 Dec 2018 17:11:40 +0000 (20:11 +0300)]
IDEA-203475 Hang on dump threads

3 years agoDon't recreate commonly used CharPatterns on every access
Dmitry Jemerov [Mon, 3 Dec 2018 17:09:07 +0000 (18:09 +0100)]
Don't recreate commonly used CharPatterns on every access

3 years agoadd more flexible TokenSets to avoid JS support eagerly loading element types from...
peter [Mon, 3 Dec 2018 17:08:47 +0000 (18:08 +0100)]
add more flexible TokenSets to avoid JS support eagerly loading element types from the entire universe

3 years agoIDEA-203496 java.lang.IllegalStateException: component cannot be null rubymine/191.2412
Alexander Lobas [Mon, 3 Dec 2018 16:38:01 +0000 (19:38 +0300)]
IDEA-203496 java.lang.IllegalStateException: component cannot be null

3 years ago[groovy] extend GrConstructorInvocationReference from GrConstructorReference
Daniil Ovchinnikov [Mon, 3 Dec 2018 15:55:41 +0000 (18:55 +0300)]
[groovy] extend GrConstructorInvocationReference from GrConstructorReference

and highlight this/super constructor calls with argument mapping.

3 years ago[groovy] highlight enum constructor calls using argument mapping
Daniil Ovchinnikov [Mon, 3 Dec 2018 15:21:13 +0000 (18:21 +0300)]
[groovy] highlight enum constructor calls using argument mapping

3 years ago[groovy] highlight 'new' expressions using argument mapping
Daniil Ovchinnikov [Mon, 3 Dec 2018 15:08:25 +0000 (18:08 +0300)]
[groovy] highlight 'new' expressions using argument mapping

3 years ago[groovy] pass substitutor to applicability check from outside
Daniil Ovchinnikov [Mon, 3 Dec 2018 14:37:47 +0000 (17:37 +0300)]
[groovy] pass substitutor to applicability check from outside

3 years ago[groovy] don't instantiate constructor reference in GrNewExpression if the expression...
Daniil Ovchinnikov [Mon, 3 Dec 2018 10:17:09 +0000 (13:17 +0300)]
[groovy] don't instantiate constructor reference in GrNewExpression if the expression cannot even own it

3 years ago[groovy] split GrConstructorReference, add and use GrEnumConstructorReference
Daniil Ovchinnikov [Mon, 3 Dec 2018 09:57:56 +0000 (12:57 +0300)]
[groovy] split GrConstructorReference, add and use GrEnumConstructorReference

3 years ago[groovy] instantiate NullArgumentMapping only for single required parameter of PsiCla...
Daniil Ovchinnikov [Sat, 1 Dec 2018 12:04:22 +0000 (15:04 +0300)]
[groovy] instantiate NullArgumentMapping only for single required parameter of PsiClassType

3 years ago[groovy] rename EmptyArgumentsMapping -> NullArgumentMapping
Daniil Ovchinnikov [Sat, 1 Dec 2018 12:02:18 +0000 (15:02 +0300)]
[groovy] rename EmptyArgumentsMapping -> NullArgumentMapping

3 years agoprovide proper filename macro (WEB-35838)
Dennis Ushakov [Mon, 3 Dec 2018 16:18:27 +0000 (19:18 +0300)]
provide proper filename macro (WEB-35838)

3 years agodumb-aware folder project templates
Dennis Ushakov [Mon, 3 Dec 2018 16:16:59 +0000 (19:16 +0300)]
dumb-aware folder project templates

3 years agofolder template for new projects WS (WEB-11807)
Dennis Ushakov [Mon, 3 Dec 2018 15:07:25 +0000 (18:07 +0300)]
folder template for new projects WS (WEB-11807)

3 years agoterminal: accept directory single content root only (IDEA-CR-40739)
Sergey Simonchik [Mon, 3 Dec 2018 15:53:08 +0000 (18:53 +0300)]
terminal: accept directory single content root only (IDEA-CR-40739)

3 years ago[tests] makes not-null instrumenter test compatible with TC test runner
Roman Shevchenko [Mon, 3 Dec 2018 15:50:15 +0000 (16:50 +0100)]
[tests] makes not-null instrumenter test compatible with TC test runner

3 years agoIG: update inspection for Java 12 switch expressions and rule cases (IDEA-203454)
Bas Leijdekkers [Mon, 3 Dec 2018 14:15:00 +0000 (15:15 +0100)]
IG: update inspection for Java 12 switch expressions and rule cases (IDEA-203454)

for "'switch' statement with too low of a branch density" inspection

3 years agoRetype: fix exceptions on session termination, use direct type() calls in tests
Dmitry Jemerov [Mon, 3 Dec 2018 15:46:02 +0000 (16:46 +0100)]
Retype: fix exceptions on session termination, use direct type() calls in tests

3 years agoIDEA-CR-40674: FUS-196 Add shortcut context to actions collector: report key code
Svetlana.Zemlyanskaya [Fri, 30 Nov 2018 17:21:16 +0000 (18:21 +0100)]
IDEA-CR-40674: FUS-196 Add shortcut context to actions collector: report key code

(cherry picked from commit 1e1c5a19c5bcec1e651d98bada6cfb533ad63bd2)

3 years agoIDEA-CR-40674: FUS-196 Add shortcut context to actions collector
Svetlana.Zemlyanskaya [Thu, 29 Nov 2018 13:14:47 +0000 (14:14 +0100)]
IDEA-CR-40674: FUS-196 Add shortcut context to actions collector

(cherry picked from commit d182428b5de31e12ab0288971b742415ac7fdc28)

3 years agoMinor: make output more verbose - print test name idea/191.2406
Vitaliy.Bibaev [Mon, 3 Dec 2018 14:01:13 +0000 (17:01 +0300)]
Minor: make output more verbose - print test name

3 years agoMinor: do not log if items to replace were not found
Vitaliy.Bibaev [Mon, 3 Dec 2018 13:41:21 +0000 (16:41 +0300)]
Minor: do not log if items to replace were not found

3 years agoRetyping: Keep active even in unit test mode
Alex Plate [Mon, 3 Dec 2018 15:22:41 +0000 (18:22 +0300)]
Retyping: Keep active even in unit test mode

3 years agoterminal: do not set misleading "PROJECT_DIR => $PROJECT_DIR$" by default
Sergey Simonchik [Mon, 3 Dec 2018 15:11:06 +0000 (18:11 +0300)]
terminal: do not set misleading "PROJECT_DIR => $PROJECT_DIR$" by default

Macros are still expanded, just the predefined example is removed.

3 years agoIJI-9: changes staging yet another fix
Dmitriy.Panov [Mon, 3 Dec 2018 15:09:29 +0000 (18:09 +0300)]
IJI-9: changes staging yet another fix

3 years agofix testdata appcode/191.2402 clion/191.2401 rubymine/191.2403
Anna.Kozlova [Mon, 3 Dec 2018 14:27:44 +0000 (15:27 +0100)]
fix testdata

3 years agoanalyze dependencies: display lib root name (IDEA-203484)
Anna.Kozlova [Mon, 3 Dec 2018 14:19:11 +0000 (15:19 +0100)]
analyze dependencies: display lib root name (IDEA-203484)

3 years agooverload resolution: erase type of parameter when site substitutor is raw (IDEA-203450)
Anna.Kozlova [Mon, 3 Dec 2018 13:33:04 +0000 (14:33 +0100)]
overload resolution: erase type of parameter when site substitutor is raw (IDEA-203450)

similar to erasure of call type when inferred substitutor is raw

3 years agointroduce name suggestions: respect `correctKeywords` (IDEA-203452)
Anna.Kozlova [Mon, 3 Dec 2018 10:36:18 +0000 (11:36 +0100)]
introduce name suggestions: respect `correctKeywords` (IDEA-203452)

3 years agoMerge branch 'master' of ssh://git-hosting.labs.intellij.net/idea-community clion/191.2397
Anton Makeev [Mon, 3 Dec 2018 14:16:35 +0000 (15:16 +0100)]
Merge branch 'master' of ssh://git-hosting.labs.intellij.net/idea-community

3 years agoFix looping over BitSet phpstorm/191.2395
Maxim.Kolmakov [Mon, 3 Dec 2018 14:14:24 +0000 (15:14 +0100)]
Fix looping over BitSet

bs.nextSetBit returns the index of the first bit that is set to true that occurs *on* or after the specified starting index. So +1 should be used.

3 years agoMerge branch 'amakeev/kryo-test'
Anton Makeev [Mon, 3 Dec 2018 14:14:10 +0000 (15:14 +0100)]
Merge branch 'amakeev/kryo-test'

3 years agoIDEA-202248 Color Scheme reverts to Darcula from light color theme after restart...
Kirill Kirichenko [Mon, 3 Dec 2018 13:39:46 +0000 (16:39 +0300)]
IDEA-202248 Color Scheme reverts to Darcula from light color theme after restart if IDE theme is Darcula

3 years ago[uast-java] properly handles `PsiBlockStatement` inside `PsiSwitchLabeledRuleStatemen...
Nicolay Mitropolsky [Mon, 3 Dec 2018 10:40:58 +0000 (13:40 +0300)]
[uast-java] properly handles `PsiBlockStatement` inside `PsiSwitchLabeledRuleStatement`  (IDEA-202555, IDEA-CR-40758)

3 years agoKryo/Objenesis versions conflict.
Anton Makeev [Fri, 23 Nov 2018 16:36:16 +0000 (17:36 +0100)]
Kryo/Objenesis versions conflict.

Objenesis 2.1 was included via Kryo add Objenesis 2.6 explicitly.
They both ended up on classpath and might cause class loading issues.

As a fix Kryo is now does't include Objenesis 2.1 transitively, instead using Objenesis 2.6

CPP-14559 CLion plugin: Kryo Exception in case of reopening project

3 years agoadd .idea recursively, as it was before, for IDEA-CR-40159 rubymine/191.2392
Alexey Kudravtsev [Mon, 3 Dec 2018 12:35:05 +0000 (15:35 +0300)]
add .idea recursively, as it was before, for IDEA-CR-40159

3 years agocleanup
Alexey Kudravtsev [Mon, 3 Dec 2018 12:11:45 +0000 (15:11 +0300)]
cleanup

3 years agofix javadoc typos
Alexey Kudravtsev [Mon, 3 Dec 2018 11:59:37 +0000 (14:59 +0300)]
fix javadoc typos

3 years agoreverted pointless changes for IDEA-CR-40159
Alexey Kudravtsev [Mon, 3 Dec 2018 10:30:38 +0000 (13:30 +0300)]
reverted pointless changes for IDEA-CR-40159

3 years agoGradle stat: report JVM version instead of IDE SDK user name as `gradleJvm` option
Vladislav.Soroka [Mon, 3 Dec 2018 12:34:10 +0000 (15:34 +0300)]
Gradle stat: report JVM version instead of IDE SDK user name as `gradleJvm` option

3 years agoIDEA-203054 Thread leaks in tests
Mikhail Sokolov [Mon, 3 Dec 2018 12:06:56 +0000 (15:06 +0300)]
IDEA-203054 Thread leaks in tests

3 years agoIJI-9: changes staging fix
Dmitriy.Panov [Mon, 3 Dec 2018 12:13:22 +0000 (15:13 +0300)]
IJI-9: changes staging fix

3 years agocleanup appcode/191.2388 clion/191.2387
Vladimir Krivosheev [Mon, 3 Dec 2018 11:59:05 +0000 (12:59 +0100)]
cleanup

3 years agoIDEA-201079 QuickDoc popup is not focused on the second "Ctrl+Q" if it was opened...
Dmitry Batrak [Mon, 3 Dec 2018 11:56:43 +0000 (14:56 +0300)]
IDEA-201079 QuickDoc popup is not focused on the second "Ctrl+Q" if it was opened from autocomplete or Project View

3 years agoProvide fixes for missing branches in switch expression (create 'default', create...
Tagir Valeev [Mon, 3 Dec 2018 11:47:26 +0000 (18:47 +0700)]
Provide fixes for missing branches in switch expression (create 'default', create missing branches)

Fixes IDEA-203071 Switch expressions: provide fix to generate missed branches for enum switches
Fixes IDEA-203449 Switch statement without default branch: provide a quick-fix

3 years agoIDEA-203447 Switch statement without default branch: support Java 12
Tagir Valeev [Mon, 3 Dec 2018 10:08:04 +0000 (17:08 +0700)]
IDEA-203447 Switch statement without default branch: support Java 12

3 years agoIDEA-203227 Switch statement has too many branches: update for Java 12
Tagir Valeev [Mon, 3 Dec 2018 09:57:42 +0000 (16:57 +0700)]
IDEA-203227 Switch statement has too many branches: update for Java 12

3 years agoedutools plugin from Beta channel
Ekaterina Tuzova [Mon, 3 Dec 2018 11:07:13 +0000 (14:07 +0300)]
edutools plugin from Beta channel

3 years agoGradle: simplify `groovy-all` jar pattern match (IDEA-203058)
Vladislav.Soroka [Mon, 3 Dec 2018 11:16:14 +0000 (14:16 +0300)]
Gradle: simplify `groovy-all` jar pattern match (IDEA-203058)

3 years agoFUS-208 Report known releases of linux OS
Svetlana.Zemlyanskaya [Mon, 3 Dec 2018 11:12:14 +0000 (12:12 +0100)]
FUS-208 Report known releases of linux OS

3 years agoensure that content root is directory
Vladimir Krivosheev [Mon, 3 Dec 2018 11:10:31 +0000 (12:10 +0100)]
ensure that content root is directory

3 years agoIDEA-199022 Stream Trace cannot access private class or method phpstorm/191.2383
Vitaliy.Bibaev [Mon, 3 Dec 2018 10:36:46 +0000 (13:36 +0300)]
IDEA-199022 Stream Trace cannot access private class or method

Array types in method signatures were handled as inaccessible. Now they are accessible if and only if the deepest
component type is accessible

3 years agoIDEA-CR-40376: FUS: extend a list of replaced actions
Svetlana.Zemlyanskaya [Thu, 22 Nov 2018 21:14:38 +0000 (22:14 +0100)]
IDEA-CR-40376: FUS: extend a list of replaced actions

(cherry picked from commit 06895f3204c9b261b7eef4e6968d4324b19d6d27)

3 years agodiff: restore API for Upsource plugin
Aleksey Pivovarov [Mon, 3 Dec 2018 10:46:33 +0000 (13:46 +0300)]
diff: restore API for Upsource plugin

follow-up: eeee5b698fd554f0b2d7e30b6fa5eff21fbdba9a

3 years agoFix inferring type of prefix expressions (PY-32927)
Semyon Proshev [Fri, 30 Nov 2018 12:26:05 +0000 (15:26 +0300)]
Fix inferring type of prefix expressions (PY-32927)

Change getReturnType to getCallType so NumpyDocStringTypeProvider could provide corresponding type
Change callable.getCallType to callableType.getCallType so PyUserSkeletonsTypeProvider could provide corresponding skeleton

3 years agoinspection view: allow to have 2 problem descriptor nodes that are indistinguishable...
Dmitry Batkovich [Mon, 3 Dec 2018 10:24:53 +0000 (13:24 +0300)]
inspection view: allow to have 2 problem descriptor nodes that are indistinguishable by InspectionResultsViewComparator

3 years agoUse provided attributes for surrounding text (IDEA-CR-40763)
Dmitry Jemerov [Mon, 3 Dec 2018 10:15:06 +0000 (11:15 +0100)]
Use provided attributes for surrounding text (IDEA-CR-40763)

3 years agofixed IDEA-201013 Disabled icons are dark in main menu on Mac OS
Artem Bochkarev [Mon, 3 Dec 2018 09:48:51 +0000 (16:48 +0700)]
fixed IDEA-201013 Disabled icons are dark in main menu on Mac OS

mac os implementation doesn't use 'disabled'-icons

3 years agofixes for custom action icons: support svg, downscale too large icons
Artem Bochkarev [Thu, 29 Nov 2018 11:18:23 +0000 (18:18 +0700)]
fixes for custom action icons: support svg, downscale too large icons

fixed IDEA-147206 Customizing Icons for HiDPI
fixed IDEA-201348 Cannot use custom hiDPI (@2x) icons for touch bar
fixed IDEA-199441 [MacOs] Throwable when try to set action icon on touch bar

3 years agoCleanup (warnings; formatting)
Roman Shevchenko [Mon, 3 Dec 2018 10:15:02 +0000 (11:15 +0100)]
Cleanup (warnings; formatting)

3 years agofollowup for IDEA-CR-40159
Alexey Kudravtsev [Mon, 3 Dec 2018 10:11:48 +0000 (13:11 +0300)]
followup for IDEA-CR-40159

3 years agoDon't consider `__rshift__` as right operator name (PY-32205)
Semyon Proshev [Tue, 6 Nov 2018 11:49:53 +0000 (14:49 +0300)]
Don't consider `__rshift__` as right operator name (PY-32205)

3 years agoRetyping: update file system during retyping with background file changes rubymine/191.2381
Alex Plate [Mon, 3 Dec 2018 09:26:06 +0000 (12:26 +0300)]
Retyping: update file system during retyping with background file changes

3 years agoRunConfigurationSchemeManager — do not log ProcessCanceledException
Vladimir Krivosheev [Mon, 3 Dec 2018 09:10:11 +0000 (10:10 +0100)]
RunConfigurationSchemeManager — do not log ProcessCanceledException

3 years agocleanup
Alexey Kudravtsev [Fri, 30 Nov 2018 16:12:52 +0000 (19:12 +0300)]
cleanup

3 years agodo not ignore suppressed exceptions
Alexey Kudravtsev [Fri, 30 Nov 2018 16:10:57 +0000 (19:10 +0300)]
do not ignore suppressed exceptions

3 years agoIDEA-194817 Show enum constant usages on mouse middle-click
Alexey Kudravtsev [Fri, 30 Nov 2018 15:58:18 +0000 (18:58 +0300)]
IDEA-194817 Show enum constant usages on mouse middle-click

3 years agosave memory in AnalysisScope by using compact virtual file set
Alexey Kudravtsev [Fri, 30 Nov 2018 15:55:57 +0000 (18:55 +0300)]
save memory in AnalysisScope by using compact virtual file set

3 years agoinspection integration tests: option to run one inspection
Anna.Kozlova [Mon, 3 Dec 2018 08:48:05 +0000 (09:48 +0100)]
inspection integration tests: option to run one inspection

3 years agoformat ordinal numbers after ten correctly (IDEA-202990)
Anna.Kozlova [Fri, 30 Nov 2018 18:48:42 +0000 (19:48 +0100)]
format ordinal numbers after ten correctly (IDEA-202990)

3 years agoEnumSwitchStatementWhichMissesCasesInspection: isDefaultSwitchLabelStatement fixed...
Tagir Valeev [Mon, 3 Dec 2018 08:22:58 +0000 (15:22 +0700)]
EnumSwitchStatementWhichMissesCasesInspection: isDefaultSwitchLabelStatement fixed (IDEA-CR-40700)

3 years agoredundant Gradle daemon launch fix: debug message removed
Dmitriy.Panov [Mon, 3 Dec 2018 08:23:28 +0000 (11:23 +0300)]
redundant Gradle daemon launch fix: debug message removed

3 years agoIJI-9: more logging
Dmitriy.Panov [Sun, 2 Dec 2018 23:38:30 +0000 (02:38 +0300)]
IJI-9: more logging

3 years ago[uast-java] `JavaUExpressionList` no more uses the `lateinit` for expression initiali...
Nicolay Mitropolsky [Fri, 30 Nov 2018 10:39:06 +0000 (13:39 +0300)]
[uast-java] `JavaUExpressionList` no more uses the `lateinit` for expression initialisation

3 years ago[uast-java] Support for converting Java 12 "enhanced" switch expressions (IDEA-202555)
Nicolay Mitropolsky [Fri, 30 Nov 2018 10:06:26 +0000 (13:06 +0300)]
[uast-java] Support for converting Java 12 "enhanced" switch expressions (IDEA-202555)

3 years agoIDEA-CR-40755 API compatibility breakage fix
Vladislav.Soroka [Mon, 3 Dec 2018 07:42:54 +0000 (10:42 +0300)]
IDEA-CR-40755 API compatibility breakage fix

3 years agodon't load all java stub element types when all we need is FILE
peter [Mon, 3 Dec 2018 07:24:53 +0000 (08:24 +0100)]
don't load all java stub element types when all we need is FILE

3 years agoGradle: convert app level delegation settings to IDE level (IDEA-176794, IDEA-173354) rubymine/191.2371
Vladislav.Soroka [Mon, 3 Dec 2018 05:30:33 +0000 (08:30 +0300)]
Gradle: convert app level delegation settings to IDE level (IDEA-176794, IDEA-173354)

3 years agoRUBY-23168: ensure same color experience for non-default schemes appcode/191.2365 clion/191.2364 dbe/191.2362 idea/191.2358 idea/191.2361 phpstorm/191.2360 pycharm/191.2359 pycharm/191.2363 pycharm/191.2369 pycharm/191.2370 rubymine/191.2357 rubymine/191.2367 rubymine/191.2368 webstorm/191.2366
Valentin Fondaratov [Sun, 2 Dec 2018 22:42:52 +0000 (01:42 +0300)]
RUBY-23168: ensure same color experience for non-default schemes

3 years agoIJI-9: gant classpath fix; args fix
Icons_Sync_Robot [Sun, 2 Dec 2018 23:27:04 +0000 (02:27 +0300)]
IJI-9: gant classpath fix; args fix

3 years agoUpdate test data for AnnotatedElementInspection so that references' names are consist... phpstorm/191.2355 rubymine/191.2356
Sergey Patrikeev [Wed, 21 Nov 2018 18:25:42 +0000 (21:25 +0300)]
Update test data for AnnotatedElementInspection so that references' names are consistent with the Deprecation inspection

3 years agoAnnotatedElementInspection refactoring: reuse implementation of "API usage visitor".
Sergey Patrikeev [Wed, 21 Nov 2018 18:23:27 +0000 (21:23 +0300)]
AnnotatedElementInspection refactoring: reuse implementation of "API usage visitor".

3 years agoDeprecationInspection refactoring: generalize PSI visitor implementation for any...
Sergey Patrikeev [Wed, 21 Nov 2018 18:21:54 +0000 (21:21 +0300)]
DeprecationInspection refactoring: generalize PSI visitor implementation for any language.

The implementation of PSI visitor that resolves usages of "interesting" APIs is extracted to a separate base visitor, ApiUsageVisitorBase.

3 years agoCleanup: update copyright and fix code style.
Sergey Patrikeev [Wed, 21 Nov 2018 18:16:12 +0000 (21:16 +0300)]
Cleanup: update copyright and fix code style.

3 years agoDeprecation inspection: update test data.
Sergey Patrikeev [Wed, 21 Nov 2018 18:09:06 +0000 (21:09 +0300)]
Deprecation inspection: update test data.

1) The default constructor is a one not declared in source code. Otherwise this is 'C()'.
2) Make Test class top-level to test ignoreInSameOutermostClass flag properly.

3 years agoDeprecation inspection: new test for default externally deprecated constructor access...
Sergey Patrikeev [Wed, 21 Nov 2018 18:07:12 +0000 (21:07 +0300)]
Deprecation inspection: new test for default externally deprecated constructor accessed in anonymous class creation.

3 years agoAnnotationUtil: add API method to find all annotations, including repeatable ones...
Sergey Patrikeev [Wed, 21 Nov 2018 13:09:08 +0000 (16:09 +0300)]
AnnotationUtil: add API method to find all annotations, including repeatable ones and from several external roots.

3 years agoDon't allow to call "Show History for Selection" in invalid conditions (IDEA-203259) appcode/191.2353 clion/191.2352 phpstorm/191.2351 rubymine/191.2354
Kirill Likhodedov [Sun, 2 Dec 2018 13:45:31 +0000 (16:45 +0300)]
Don't allow to call "Show History for Selection" in invalid conditions (IDEA-203259)

Disable when invisible; make actionPerformed() consistent with update().

3 years agoSupport any number of potential whitespaces in the <br/> separator in mac sheet messages
Kirill Likhodedov [Sun, 2 Dec 2018 13:16:30 +0000 (16:16 +0300)]
Support any number of potential whitespaces in the <br/> separator in mac sheet messages

Relates to: IDEA-179591
Follow-up: ef16ba7
Issue found in IDEA-CR-39304

3 years agoControlFlowAnalyzer: do not add zero-check for constant non-zero divisor appcode/191.2349 clion/191.2348 phpstorm/191.2346 rubymine/191.2347 rubymine/191.2350
Tagir Valeev [Sun, 2 Dec 2018 09:09:35 +0000 (16:09 +0700)]
ControlFlowAnalyzer: do not add zero-check for constant non-zero divisor

3 years agoSwitchExpressionsJava12: test-data fixed
Tagir Valeev [Sun, 2 Dec 2018 08:56:02 +0000 (15:56 +0700)]
SwitchExpressionsJava12: test-data fixed

x % 2 == 1 worked only by chance: we cannot expect currently that x==1 and x==2 states won't be merged

3 years agoWhen overriding PATH/CMDPATH/MANPATH env variables in fish, split them by colon ... appcode/191.2340 appcode/191.2343 clion/191.2335 clion/191.2342 dbe/191.2337 idea/191.2338 idea/191.2339 phpstorm/191.2334 pycharm/191.2333 pycharm/191.2336 rubymine/191.2332 rubymine/191.2344 webstorm/191.2341
Alexander Zolotov [Sat, 1 Dec 2018 22:08:47 +0000 (01:08 +0300)]
When overriding PATH/CMDPATH/MANPATH env variables in fish, split them by colon (GO-6449)

According to the documentation, these variables accepted lists only when setting with `set` function
See http://fishshell.com/docs/current/tutorial.html#tut_path for details