Alexandr Suhinin [Mon, 3 Dec 2018 19:06:35 +0000 (21:06 +0200)]
Merge branch 'master' into alexandr.suhinin/duplicates-languages
Eldar Abusalimov [Mon, 3 Dec 2018 18:23:21 +0000 (21:23 +0300)]
CPP-14865 GDB: Add internal property to control mi-async mode
Vyacheslav Karpukhin [Mon, 3 Dec 2018 18:04:47 +0000 (19:04 +0100)]
Lower ImageInfoReader's logger severity to debug
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)
Anna.Kozlova [Mon, 3 Dec 2018 17:39:13 +0000 (18:39 +0100)]
method duplicates: ignore instance method duplicates in static context (IDEA-203444)
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)
Mikhail Sokolov [Mon, 3 Dec 2018 17:16:04 +0000 (20:16 +0300)]
IDEA-203054 Thread leaks in tests
Egor Ushakov [Mon, 3 Dec 2018 17:11:40 +0000 (20:11 +0300)]
IDEA-203475 Hang on dump threads
Dmitry Jemerov [Mon, 3 Dec 2018 17:09:07 +0000 (18:09 +0100)]
Don't recreate commonly used CharPatterns on every access
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
Alexander Lobas [Mon, 3 Dec 2018 16:38:01 +0000 (19:38 +0300)]
IDEA-203496 java.lang.IllegalStateException: component cannot be null
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.
Daniil Ovchinnikov [Mon, 3 Dec 2018 15:21:13 +0000 (18:21 +0300)]
[groovy] highlight enum constructor calls using argument mapping
Daniil Ovchinnikov [Mon, 3 Dec 2018 15:08:25 +0000 (18:08 +0300)]
[groovy] highlight 'new' expressions using argument mapping
Daniil Ovchinnikov [Mon, 3 Dec 2018 14:37:47 +0000 (17:37 +0300)]
[groovy] pass substitutor to applicability check from outside
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
Daniil Ovchinnikov [Mon, 3 Dec 2018 09:57:56 +0000 (12:57 +0300)]
[groovy] split GrConstructorReference, add and use GrEnumConstructorReference
Daniil Ovchinnikov [Sat, 1 Dec 2018 12:04:22 +0000 (15:04 +0300)]
[groovy] instantiate NullArgumentMapping only for single required parameter of PsiClassType
Daniil Ovchinnikov [Sat, 1 Dec 2018 12:02:18 +0000 (15:02 +0300)]
[groovy] rename EmptyArgumentsMapping -> NullArgumentMapping
Dennis Ushakov [Mon, 3 Dec 2018 16:18:27 +0000 (19:18 +0300)]
provide proper filename macro (WEB-35838)
Dennis Ushakov [Mon, 3 Dec 2018 16:16:59 +0000 (19:16 +0300)]
dumb-aware folder project templates
Dennis Ushakov [Mon, 3 Dec 2018 15:07:25 +0000 (18:07 +0300)]
folder template for new projects WS (WEB-11807)
Sergey Simonchik [Mon, 3 Dec 2018 15:53:08 +0000 (18:53 +0300)]
terminal: accept directory single content root only (IDEA-CR-40739)
Roman Shevchenko [Mon, 3 Dec 2018 15:50:15 +0000 (16:50 +0100)]
[tests] makes not-null instrumenter test compatible with TC test runner
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
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
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)
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)
Vitaliy.Bibaev [Mon, 3 Dec 2018 14:01:13 +0000 (17:01 +0300)]
Minor: make output more verbose - print test name
Vitaliy.Bibaev [Mon, 3 Dec 2018 13:41:21 +0000 (16:41 +0300)]
Minor: do not log if items to replace were not found
Alex Plate [Mon, 3 Dec 2018 15:22:41 +0000 (18:22 +0300)]
Retyping: Keep active even in unit test mode
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.
Dmitriy.Panov [Mon, 3 Dec 2018 15:09:29 +0000 (18:09 +0300)]
IJI-9: changes staging yet another fix
Anna.Kozlova [Mon, 3 Dec 2018 14:27:44 +0000 (15:27 +0100)]
fix testdata
Anna.Kozlova [Mon, 3 Dec 2018 14:19:11 +0000 (15:19 +0100)]
analyze dependencies: display lib root name (IDEA-203484)
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
Anna.Kozlova [Mon, 3 Dec 2018 10:36:18 +0000 (11:36 +0100)]
introduce name suggestions: respect `correctKeywords` (IDEA-203452)
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
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.
Anton Makeev [Mon, 3 Dec 2018 14:14:10 +0000 (15:14 +0100)]
Merge branch 'amakeev/kryo-test'
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
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)
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
Alexey Kudravtsev [Mon, 3 Dec 2018 12:35:05 +0000 (15:35 +0300)]
add .idea recursively, as it was before, for IDEA-CR-40159
Alexey Kudravtsev [Mon, 3 Dec 2018 12:11:45 +0000 (15:11 +0300)]
cleanup
Alexey Kudravtsev [Mon, 3 Dec 2018 11:59:37 +0000 (14:59 +0300)]
fix javadoc typos
Alexey Kudravtsev [Mon, 3 Dec 2018 10:30:38 +0000 (13:30 +0300)]
reverted pointless changes for IDEA-CR-40159
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
Mikhail Sokolov [Mon, 3 Dec 2018 12:06:56 +0000 (15:06 +0300)]
IDEA-203054 Thread leaks in tests
Dmitriy.Panov [Mon, 3 Dec 2018 12:13:22 +0000 (15:13 +0300)]
IJI-9: changes staging fix
Vladimir Krivosheev [Mon, 3 Dec 2018 11:59:05 +0000 (12:59 +0100)]
cleanup
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
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
Tagir Valeev [Mon, 3 Dec 2018 10:08:04 +0000 (17:08 +0700)]
IDEA-203447 Switch statement without default branch: support 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
Ekaterina Tuzova [Mon, 3 Dec 2018 11:07:13 +0000 (14:07 +0300)]
edutools plugin from Beta channel
Vladislav.Soroka [Mon, 3 Dec 2018 11:16:14 +0000 (14:16 +0300)]
Gradle: simplify `groovy-all` jar pattern match (IDEA-203058)
Svetlana.Zemlyanskaya [Mon, 3 Dec 2018 11:12:14 +0000 (12:12 +0100)]
FUS-208 Report known releases of linux OS
Vladimir Krivosheev [Mon, 3 Dec 2018 11:10:31 +0000 (12:10 +0100)]
ensure that content root is directory
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
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)
Aleksey Pivovarov [Mon, 3 Dec 2018 10:46:33 +0000 (13:46 +0300)]
diff: restore API for Upsource plugin
follow-up:
eeee5b698fd554f0b2d7e30b6fa5eff21fbdba9a
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
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
Dmitry Jemerov [Mon, 3 Dec 2018 10:15:06 +0000 (11:15 +0100)]
Use provided attributes for surrounding text (IDEA-CR-40763)
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
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
Roman Shevchenko [Mon, 3 Dec 2018 10:15:02 +0000 (11:15 +0100)]
Cleanup (warnings; formatting)
Alexey Kudravtsev [Mon, 3 Dec 2018 10:11:48 +0000 (13:11 +0300)]
followup for IDEA-CR-40159
Semyon Proshev [Tue, 6 Nov 2018 11:49:53 +0000 (14:49 +0300)]
Don't consider `__rshift__` as right operator name (PY-32205)
Alex Plate [Mon, 3 Dec 2018 09:26:06 +0000 (12:26 +0300)]
Retyping: update file system during retyping with background file changes
Vladimir Krivosheev [Mon, 3 Dec 2018 09:10:11 +0000 (10:10 +0100)]
RunConfigurationSchemeManager — do not log ProcessCanceledException
Alexey Kudravtsev [Fri, 30 Nov 2018 16:12:52 +0000 (19:12 +0300)]
cleanup
Alexey Kudravtsev [Fri, 30 Nov 2018 16:10:57 +0000 (19:10 +0300)]
do not ignore suppressed exceptions
Alexey Kudravtsev [Fri, 30 Nov 2018 15:58:18 +0000 (18:58 +0300)]
IDEA-194817 Show enum constant usages on mouse middle-click
Alexey Kudravtsev [Fri, 30 Nov 2018 15:55:57 +0000 (18:55 +0300)]
save memory in AnalysisScope by using compact virtual file set
Anna.Kozlova [Mon, 3 Dec 2018 08:48:05 +0000 (09:48 +0100)]
inspection integration tests: option to run one inspection
Anna.Kozlova [Fri, 30 Nov 2018 18:48:42 +0000 (19:48 +0100)]
format ordinal numbers after ten correctly (IDEA-202990)
Tagir Valeev [Mon, 3 Dec 2018 08:22:58 +0000 (15:22 +0700)]
EnumSwitchStatementWhichMissesCasesInspection: isDefaultSwitchLabelStatement fixed (IDEA-CR-40700)
Dmitriy.Panov [Mon, 3 Dec 2018 08:23:28 +0000 (11:23 +0300)]
redundant Gradle daemon launch fix: debug message removed
Dmitriy.Panov [Sun, 2 Dec 2018 23:38:30 +0000 (02:38 +0300)]
IJI-9: more logging
Nicolay Mitropolsky [Fri, 30 Nov 2018 10:39:06 +0000 (13:39 +0300)]
[uast-java] `JavaUExpressionList` no more uses the `lateinit` for expression initialisation
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)
Vladislav.Soroka [Mon, 3 Dec 2018 07:42:54 +0000 (10:42 +0300)]
IDEA-CR-40755 API compatibility breakage fix
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
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)
Valentin Fondaratov [Sun, 2 Dec 2018 22:42:52 +0000 (01:42 +0300)]
RUBY-23168: ensure same color experience for non-default schemes
Icons_Sync_Robot [Sun, 2 Dec 2018 23:27:04 +0000 (02:27 +0300)]
IJI-9: gant classpath fix; args fix
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
Sergey Patrikeev [Wed, 21 Nov 2018 18:23:27 +0000 (21:23 +0300)]
AnnotatedElementInspection refactoring: reuse implementation of "API usage visitor".
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.
Sergey Patrikeev [Wed, 21 Nov 2018 18:16:12 +0000 (21:16 +0300)]
Cleanup: update copyright and fix code style.
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.
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.
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.
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().
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
Tagir Valeev [Sun, 2 Dec 2018 09:09:35 +0000 (16:09 +0700)]
ControlFlowAnalyzer: do not add zero-check for constant non-zero divisor
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
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