idea/community.git
3 years agounloaded modules: javadocs added appcode/173.125 clion/173.126
nik [Mon, 12 Jun 2017 08:45:22 +0000 (10:45 +0200)]
unloaded modules: javadocs added

3 years agoSearchForUsagesRunnable: names corrected (IDEA-CR-21752)
nik [Mon, 12 Jun 2017 08:30:56 +0000 (10:30 +0200)]
SearchForUsagesRunnable: names corrected (IDEA-CR-21752)

3 years agojavadoc completion: suggest qualified names only with non-empty prefix
peter [Mon, 12 Jun 2017 07:30:59 +0000 (09:30 +0200)]
javadoc completion: suggest qualified names only with non-empty prefix

3 years agofix xml highlighting tests (svg) appcode/173.113 appcode/173.121 clion/173.109 clion/173.117 dbe/173.110 dbe/173.123 idea/173.106 idea/173.122 phpstorm/173.112 phpstorm/173.115 phpstorm/173.119 pycharm/173.107 pycharm/173.111 pycharm/173.116 pycharm/173.118 rubymine/173.108 rubymine/173.120 webstorm/173.114 webstorm/173.124
Konstantin Bulenkov [Sat, 10 Jun 2017 21:21:33 +0000 (23:21 +0200)]
fix xml highlighting tests (svg)

3 years agoMerge remote-tracking branch 'origin/master'
Konstantin Bulenkov [Sat, 10 Jun 2017 21:02:11 +0000 (23:02 +0200)]
Merge remote-tracking branch 'origin/master'

3 years agoSVG: change icon and description
Konstantin Bulenkov [Sat, 10 Jun 2017 21:01:09 +0000 (23:01 +0200)]
SVG: change icon and description

3 years agobuild children in edt to avoid async calculation / interruption problems
Maxim.Mossienko [Sat, 10 Jun 2017 20:44:02 +0000 (22:44 +0200)]
build children in edt to avoid async calculation / interruption problems

3 years agolicense for annotations.jar / rt.jar
Maxim.Mossienko [Sat, 10 Jun 2017 20:11:30 +0000 (22:11 +0200)]
license for annotations.jar / rt.jar

3 years agouse subset of OpenJDK 8 for mock 1.8
Maxim.Mossienko [Sat, 10 Jun 2017 20:10:33 +0000 (22:10 +0200)]
use subset of OpenJDK 8 for mock 1.8

3 years agofix test data due to change in mock jdk 1.4
Maxim.Mossienko [Sat, 10 Jun 2017 20:06:39 +0000 (22:06 +0200)]
fix test data due to change in mock jdk 1.4

3 years agoremove svg.viewer registry property
Konstantin Bulenkov [Sat, 10 Jun 2017 18:33:43 +0000 (20:33 +0200)]
remove svg.viewer registry property

3 years agoSupport Svg editor
Konstantin Bulenkov [Sat, 10 Jun 2017 18:32:48 +0000 (20:32 +0200)]
Support Svg editor

3 years agoTextEditor with Preview initial
Konstantin Bulenkov [Sat, 10 Jun 2017 18:26:23 +0000 (20:26 +0200)]
TextEditor with Preview initial

3 years agoadd layout icons for TextEditorWithPreview controls
Konstantin Bulenkov [Sat, 10 Jun 2017 18:16:16 +0000 (20:16 +0200)]
add layout icons for TextEditorWithPreview controls

3 years agoIG: introduce convenience methods and cleanup
Bas Leijdekkers [Sat, 10 Jun 2017 15:56:27 +0000 (17:56 +0200)]
IG: introduce convenience methods and cleanup

3 years agodon't underline mnemonics under MacOS (IDEA-166288)
Bas Leijdekkers [Sat, 10 Jun 2017 15:48:20 +0000 (17:48 +0200)]
don't underline mnemonics under MacOS (IDEA-166288)

3 years agoIG: rename methods to clarify intent
Bas Leijdekkers [Sat, 10 Jun 2017 11:17:38 +0000 (13:17 +0200)]
IG: rename methods to clarify intent

3 years agocheck consistency after the invariant is restored
Alexey Kudravtsev [Sat, 10 Jun 2017 16:39:39 +0000 (19:39 +0300)]
check consistency after the invariant is restored

3 years agocall removeAdoptedName before array modification, addAdoptedName - after to avoid...
Alexey Kudravtsev [Fri, 9 Jun 2017 15:25:00 +0000 (18:25 +0300)]
call removeAdoptedName before array modification, addAdoptedName - after to avoid consistency breakage when a child can end up in both array and adopted set

3 years agodiagnostics for EA-102923
Alexey Kudravtsev [Fri, 9 Jun 2017 14:17:03 +0000 (17:17 +0300)]
diagnostics for EA-102923

3 years agoName and placement of font configurables according to UI guidelines
Rustam Vishnyakov [Sat, 10 Jun 2017 15:44:28 +0000 (18:44 +0300)]
Name and placement of font configurables according to UI guidelines

3 years agoUse subset of GNU ClassPath project v0.17 for mock jdk 1.4 appcode/173.104 clion/173.105
Maxim.Mossienko [Sat, 10 Jun 2017 14:08:59 +0000 (16:08 +0200)]
Use subset of GNU ClassPath project v0.17 for mock jdk 1.4

3 years agoMerge branch 'password-obfuscation' of https://github.com/jimgoog/intellij-community
Vladislav.Soroka [Sat, 10 Jun 2017 13:41:33 +0000 (16:41 +0300)]
Merge branch 'password-obfuscation' of https://github.com/jimgoog/intellij-community

3 years agoCleanup appcode/173.103 clion/173.102 phpstorm/173.101
Rustam Vishnyakov [Sat, 10 Jun 2017 10:28:49 +0000 (13:28 +0300)]
Cleanup

3 years agoWording changes according to design comments
Rustam Vishnyakov [Sat, 10 Jun 2017 10:28:01 +0000 (13:28 +0300)]
Wording changes according to design comments

3 years agoChange inherit font checkbox to overwrite, invert the logic appcode/173.99 clion/173.98
Rustam Vishnyakov [Sat, 10 Jun 2017 07:25:07 +0000 (10:25 +0300)]
Change inherit font checkbox to overwrite, invert the logic

3 years agoPY-24010: Set module explicitly from context before getTargetForConfig appcode/173.90 clion/173.94 idea/173.95 phpstorm/173.91 pycharm/173.89 pycharm/173.92 rubymine/173.96
Ilya.Kazakevich [Fri, 9 Jun 2017 22:29:38 +0000 (01:29 +0300)]
PY-24010: Set module explicitly from context before getTargetForConfig

To prevent cases like PY-24302 and PY-24010 we should set module
from context.

After module renaming or in case of two modules configuration.module
is wrong. Hence we set it from context.

3 years agoFind In Path: add 'Search in progress' animated icon in top left corner
Vassiliy.Kudryashov [Fri, 9 Jun 2017 20:40:12 +0000 (23:40 +0300)]
Find In Path: add 'Search in progress' animated icon in top left corner

3 years agoAvoid logging passwords in GradleExecutionHelper
Jim S [Fri, 9 Jun 2017 19:48:44 +0000 (12:48 -0700)]
Avoid logging passwords in GradleExecutionHelper

The GradleExecutionHelper was previously logging android keystore
passwords.  This change will obfuscate the values of a parameter
ending in '.password' within the `idea.log` file.

3 years agoIntroduce PyNamedTupleInspection that validates definition of namedtuple.
Semyon Proshev [Tue, 16 May 2017 17:52:10 +0000 (20:52 +0300)]
Introduce PyNamedTupleInspection that validates definition of namedtuple.

Now it raises error when there is a field with default value before a field without default value.

3 years agoAvoid code duplication by using PyTypingTypeProvider.getStringBasedType in PyStdlibTy...
Semyon Proshev [Fri, 12 May 2017 16:55:54 +0000 (19:55 +0300)]
Avoid code duplication by using PyTypingTypeProvider.getStringBasedType in PyStdlibTypeProvider

3 years agoPY-24099 Fixed: False positive: parameter unfilled for NamedTuple with default value
Semyon Proshev [Fri, 5 May 2017 13:21:07 +0000 (16:21 +0300)]
PY-24099 Fixed: False positive: parameter unfilled for NamedTuple with default value

Update PyCallableParameterImpl to be able to store default value and use this in PyNamedTupleType.
Class inherited from typing.NamedTuple passes default values to PyNamedTupleType.

3 years agoUpdate `typing.NamedTuple.__init__` stub to support fields passed through kwargs
Semyon Proshev [Thu, 4 May 2017 17:09:32 +0000 (20:09 +0300)]
Update `typing.NamedTuple.__init__` stub to support fields passed through kwargs

PyArgumentListInspectionTest.testInitializingTypingNamedTuple() fixed.

3 years agoPY-23239 Fixed: NamedTuples aren't getting their types checked
Semyon Proshev [Tue, 2 May 2017 15:57:12 +0000 (18:57 +0300)]
PY-23239 Fixed: NamedTuples aren't getting their types checked
PY-23253 Fixed: NamedTuple subclass inspection

Update PyNamedTupleType and PyNamedTupleStub to store fields' types.
Parameter hints show expected types and PyTypeCheckerInspection verifies them correctly.

3 years agoPY-4344 Fixed: Parameter unfilled: false negatives for named tuples
Semyon Proshev [Fri, 28 Apr 2017 18:23:27 +0000 (21:23 +0300)]
PY-4344 Fixed: Parameter unfilled: false negatives for named tuples
PY-22102 Fixed: NamedTuple class declaration for Python 3.6 not supported by PyCharm
PY-22249 Fixed: Add parameters tooltip to namedtuple constructor
PY-22740 Fixed: Unexpected argument for field names of class inherited from namedtuple

Update PyNamedTupleType to be callable and provide parameters when creating new namedtuple instance.
Update PyStdlibTypeProvider to provide special callable types when creating new namedtuple inheritor instance.
Update PyCallExpressionHelper to check type providers when resolving callee.
Update PyClassImpl to return PyNamedTupleType when class inherits typing.NamedTuple.

Parameter hints and PyArgumentListInspection work correctly with creating new namedtuple instances.

3 years agoPY-17962 Fixed: Incorrect handling of type Callable
Semyon Proshev [Wed, 26 Apr 2017 18:12:31 +0000 (21:12 +0300)]
PY-17962 Fixed: Incorrect handling of type Callable

Support callable type in mapping for PyCallSiteExpression.
PyTypeCheckerInspection is able to process calls on typing.Callable.

3 years agoIntroduce getArguments and getReceiver in PyCallSiteExpression.
Semyon Proshev [Wed, 26 Apr 2017 16:54:36 +0000 (19:54 +0300)]
Introduce getArguments and getReceiver in PyCallSiteExpression.

Take implementation from PyTypeChecker.

3 years agoRemove PyTypeChecker.analyzeCallSite and introduce PyCallExpressionHelper.mapArgument...
Semyon Proshev [Wed, 26 Apr 2017 13:08:58 +0000 (16:08 +0300)]
Remove PyTypeChecker.analyzeCallSite and introduce PyCallExpressionHelper.mapArguments for PyCallSiteExpression that has not been resolved.

3 years agoUpdate mapping in PyCallExpressionHelper to return same result type for PyCallSiteExp...
Semyon Proshev [Wed, 26 Apr 2017 12:24:21 +0000 (15:24 +0300)]
Update mapping in PyCallExpressionHelper to return same result type for PyCallSiteExpression as for PyCallExpression.

3 years agoUpdate PyArgumentListInspection to support nameless parameters.
Semyon Proshev [Tue, 25 Apr 2017 16:12:48 +0000 (19:12 +0300)]
Update PyArgumentListInspection to support nameless parameters.

3 years agoDon't infer weak type for functions with unknown decorator.
Semyon Proshev [Tue, 25 Apr 2017 14:14:50 +0000 (17:14 +0300)]
Don't infer weak type for functions with unknown decorator.

Otherwise PyCallExpressionHelper.markResolveResult will skip them. Consider type of such functions as unknown in PyTypeChecker.isUnknown.
PyArgumentListInspectionTest.testMultiResolveWhenOneResultIsDecoratedFunction() fixed.

3 years agoDon't create union callable type for all overloads.
Semyon Proshev [Tue, 25 Apr 2017 13:06:46 +0000 (16:06 +0300)]
Don't create union callable type for all overloads.

PyCallExpressionHelper.markResolveResult skips such functions so they were not analyzed.
There is no need in such type inference because of multiresolve to all overloads.

3 years agoResolve callee to its type and then to its callable if possible.
Semyon Proshev [Tue, 25 Apr 2017 12:38:28 +0000 (15:38 +0300)]
Resolve callee to its type and then to its callable if possible.

It allows to calculate arguments-to-parameters mapping for types that don't have psi callable (i.e. typing.Callable).
Update PyParameterInfoHandler to work with callable types instead of callables.

3 years agoAdd default implementation for PyCallableType.isCallable and PyCallableType.getParameters
Semyon Proshev [Mon, 24 Apr 2017 17:58:35 +0000 (20:58 +0300)]
Add default implementation for PyCallableType.isCallable and PyCallableType.getParameters

3 years agoPY-19323 Fixed: typing.Callable type without arguments incorrectly warns that it...
Semyon Proshev [Mon, 24 Apr 2017 12:37:21 +0000 (15:37 +0300)]
PY-19323 Fixed: typing.Callable type without arguments incorrectly warns that it is not callable

Update PyTypingTypeProvider to correctly process typing.Callable without type parameters.

3 years agoMove PyUtil.getParameters to PyCallable and make it to return list of PyCallableParam...
Semyon Proshev [Fri, 12 May 2017 17:07:51 +0000 (20:07 +0300)]
Move PyUtil.getParameters to PyCallable and make it to return list of PyCallableParameter that could be non-psi.

Mapping and many others usages were updated to work with them.
Fix nullability and override annotations in some places.

3 years agoadd explicit type arguments intention (IDEA-173960)
Anna Kozlova [Fri, 9 Jun 2017 18:13:09 +0000 (21:13 +0300)]
add explicit type arguments intention (IDEA-173960)

3 years agofix comparator contract
Anna Kozlova [Fri, 9 Jun 2017 17:36:25 +0000 (20:36 +0300)]
fix comparator contract

3 years agoinclude invalidation trace
Anna Kozlova [Fri, 9 Jun 2017 17:12:42 +0000 (20:12 +0300)]
include invalidation trace

EA-85600 - assert: RenameViewDescriptor.<init>

3 years agocheck disposed status
Anna Kozlova [Fri, 9 Jun 2017 16:55:50 +0000 (19:55 +0300)]
check disposed status

EA-102896 - NPE: AbstractProjectViewPane.lambda$doSelectModuleOrGroup$|lambda$null$

3 years ago[gui-test] Allow to get message from underlying Messages
Maxim.Kolmakov [Fri, 9 Jun 2017 16:47:07 +0000 (18:47 +0200)]
[gui-test] Allow to get message from underlying Messages

3 years agoMake UI Inspector better
Vassiliy.Kudryashov [Fri, 9 Jun 2017 16:46:16 +0000 (19:46 +0300)]
Make UI Inspector better

3 years agoBaseRefactoringProcessor simplification: get target elements from UsageViewDescriptor...
nik [Fri, 9 Jun 2017 16:17:49 +0000 (18:17 +0200)]
BaseRefactoringProcessor simplification: get target elements from UsageViewDescriptor (IDEA-CR-21771)

3 years agodon't mix before/after documents when updating persistent range markers (IDEA-174202)
peter [Fri, 9 Jun 2017 16:21:40 +0000 (18:21 +0200)]
don't mix before/after documents when updating persistent range markers (IDEA-174202)

3 years agodon't generate setters for constants during completion (IDEA-CR-21764)
peter [Fri, 9 Jun 2017 16:15:24 +0000 (18:15 +0200)]
don't generate setters for constants during completion (IDEA-CR-21764)

3 years ago[gui-test] Reuse invokeAction from GuiTestCase
Maxim.Kolmakov [Fri, 9 Jun 2017 16:02:34 +0000 (18:02 +0200)]
[gui-test] Reuse invokeAction from GuiTestCase

3 years ago[gui-test] Fix compilation
Maxim.Kolmakov [Fri, 9 Jun 2017 15:55:22 +0000 (17:55 +0200)]
[gui-test] Fix compilation

3 years agoJupyter: update scroll position accurately
Ekaterina Tuzova [Fri, 9 Jun 2017 15:42:07 +0000 (18:42 +0300)]
Jupyter: update scroll position accurately

3 years agoJupyter: update scroll position accurately
Ekaterina Tuzova [Fri, 9 Jun 2017 12:04:58 +0000 (15:04 +0300)]
Jupyter: update scroll position accurately

3 years ago[gui-test] Allow to reuse waitUntilFound in tests
Maxim.Kolmakov [Fri, 9 Jun 2017 15:41:39 +0000 (17:41 +0200)]
[gui-test] Allow to reuse waitUntilFound in tests

3 years ago[gui-test] Invoke action via ID instead of shortcut
Maxim.Kolmakov [Fri, 9 Jun 2017 15:34:25 +0000 (17:34 +0200)]
[gui-test] Invoke action via ID instead of shortcut

3 years ago[gui-test] Add PhpStorm
Maxim.Kolmakov [Fri, 9 Jun 2017 15:33:19 +0000 (17:33 +0200)]
[gui-test] Add PhpStorm

3 years agoEA-102927 - IE: StackCapturingLineBreakpoint.getMatchingDisabledInsertionPoint
Egor.Ushakov [Fri, 9 Jun 2017 15:26:21 +0000 (18:26 +0300)]
EA-102927 - IE: StackCapturingLineBreakpoint.getMatchingDisabledInsertionPoint

3 years agoreplace assignment with comparison for asserts (IDEA-CR-21652)
Anna Kozlova [Fri, 9 Jun 2017 15:29:05 +0000 (18:29 +0300)]
replace assignment with comparison for asserts (IDEA-CR-21652)

3 years agocollect transitive dependant type parameters (IDEA-174194)
Anna Kozlova [Fri, 9 Jun 2017 15:20:27 +0000 (18:20 +0300)]
collect transitive dependant type parameters (IDEA-174194)

3 years agoskip links for description node text (IDEA-141189)
Anna Kozlova [Fri, 9 Jun 2017 14:34:56 +0000 (17:34 +0300)]
skip links for description node text (IDEA-141189)

3 years agojavadoc for UserDataHolderEx.putUserDataIfAbsent clarified
Anton Makeev [Thu, 8 Jun 2017 16:17:23 +0000 (18:17 +0200)]
javadoc for UserDataHolderEx.putUserDataIfAbsent clarified

3 years agodon't match yourkit thread name twice (IDEA-CR-21711)
peter [Fri, 9 Jun 2017 15:15:45 +0000 (17:15 +0200)]
don't match yourkit thread name twice (IDEA-CR-21711)

3 years agoEA-100601 - NPE: DebugProcessEvents.notifySkippedBreakpoints
Egor.Ushakov [Fri, 9 Jun 2017 15:11:10 +0000 (18:11 +0300)]
EA-100601 - NPE: DebugProcessEvents.notifySkippedBreakpoints

3 years agoCleanup (comment) appcode/173.87 clion/173.86
Roman Shevchenko [Fri, 9 Jun 2017 14:55:43 +0000 (17:55 +0300)]
Cleanup (comment)

3 years agoSearchForUsagesRunnable: missing ReadAction added
nik [Fri, 9 Jun 2017 14:44:05 +0000 (16:44 +0200)]
SearchForUsagesRunnable: missing ReadAction added

3 years agohighlighting: do not report elements as unused if they may have usages in unloaded...
nik [Fri, 9 Jun 2017 14:40:07 +0000 (16:40 +0200)]
highlighting: do not report elements as unused if they may have usages in unloaded modules (IDEA-27471)

3 years ago[java] recognizes @index Javadoc tag (IDEA-160185)
Roman Shevchenko [Fri, 9 Jun 2017 14:50:19 +0000 (17:50 +0300)]
[java] recognizes @index Javadoc tag (IDEA-160185)

3 years agoIDEA-174225 For "idea.module.downloadSources = false" when manually loading the sourc...
Vladislav.Soroka [Fri, 9 Jun 2017 14:48:23 +0000 (17:48 +0300)]
IDEA-174225 For "idea.module.downloadSources = false" when manually loading the source code or javadoc, the cache is not used gradle

3 years agoIG: add option to ignore casts from int 128-255 to byte (IDEA-174125)
Bas Leijdekkers [Fri, 9 Jun 2017 10:23:33 +0000 (12:23 +0200)]
IG: add option to ignore casts from int 128-255 to byte (IDEA-174125)

3 years agoadd some notnulls to BaseStream (IDEA-173629)
peter [Fri, 9 Jun 2017 14:41:00 +0000 (16:41 +0200)]
add some notnulls to BaseStream (IDEA-173629)

3 years agoremoved debug code to catch SOE
Maxim.Mossienko [Fri, 9 Jun 2017 14:37:17 +0000 (16:37 +0200)]
removed debug code to catch SOE

3 years agorefactoring: show warning if an element may have usages in unloaded modules (IDEA...
nik [Fri, 9 Jun 2017 14:24:41 +0000 (16:24 +0200)]
refactoring: show warning if an element may have usages in unloaded modules (IDEA-27471)

3 years agoCleanup (formatting)
Roman Shevchenko [Fri, 9 Jun 2017 14:23:38 +0000 (17:23 +0300)]
Cleanup (formatting)

3 years ago[java] recognizes "Launcher-Agent-Class" in manifests
Roman Shevchenko [Fri, 9 Jun 2017 14:21:24 +0000 (17:21 +0300)]
[java] recognizes "Launcher-Agent-Class" in manifests

3 years agoif progress indicator is running then skip building children interruptibly
Maxim.Mossienko [Fri, 9 Jun 2017 14:10:36 +0000 (16:10 +0200)]
if progress indicator is running then skip building children interruptibly

3 years agoPY-23625 Fixed: Incorrect default argument value in print() function
Semyon Proshev [Tue, 30 May 2017 15:19:09 +0000 (18:19 +0300)]
PY-23625 Fixed: Incorrect default argument value in print() function

Escape non-printable characters in parameter's default value.

3 years agosuggest functional interfaces from use scope only (IDEA-174204)
Anna Kozlova [Fri, 9 Jun 2017 13:49:34 +0000 (16:49 +0300)]
suggest functional interfaces from use scope only (IDEA-174204)

3 years agointroduce functional variable: encode this (IDEA-174203)
Anna Kozlova [Fri, 9 Jun 2017 12:52:28 +0000 (15:52 +0300)]
introduce functional variable: encode this (IDEA-174203)

3 years agointroduce functional variable: allow comments (IDEA-174183)
Anna Kozlova [Fri, 9 Jun 2017 12:09:18 +0000 (15:09 +0300)]
introduce functional variable: allow comments (IDEA-174183)

3 years agoupdate icons
Anna Kozlova [Fri, 9 Jun 2017 09:56:22 +0000 (12:56 +0300)]
update icons

3 years agoWI-36008 Frameworks settings: don't resize the main dialog on collapsing/decollapsing
Shaverdova Elena [Fri, 9 Jun 2017 13:45:05 +0000 (15:45 +0200)]
WI-36008 Frameworks settings: don't resize the main dialog on collapsing/decollapsing

3 years agoremove no-op FlyweightCapableTreeStructure#prepareForGetChildren
peter [Fri, 9 Jun 2017 13:39:19 +0000 (15:39 +0200)]
remove no-op FlyweightCapableTreeStructure#prepareForGetChildren

3 years agoIDEA-173726 Generation completion suggests create setter for final field
peter [Fri, 9 Jun 2017 12:13:18 +0000 (14:13 +0200)]
IDEA-173726 Generation completion suggests create setter for final field

3 years agonode: action inside computeWithPreferredProject might not use a specified preferred...
Sergey Simonchik [Fri, 9 Jun 2017 13:32:42 +0000 (16:32 +0300)]
node: action inside computeWithPreferredProject might not use a specified preferred project (EA-102915 - Throwable: NodeModulesDirectoryManager.computeFileIndexExtensionPreventingRecursion)

3 years agoWEB-26895 dbl-click on some nodes expands what should not be expanded: 2
Gregory.Shrago [Fri, 9 Jun 2017 13:27:21 +0000 (16:27 +0300)]
WEB-26895 dbl-click on some nodes expands what should not be expanded: 2

3 years ago[branchPopup]: IDEA-174227 show current branch names for don't sync mode
Nadya Zabrodina [Fri, 9 Jun 2017 13:10:09 +0000 (16:10 +0300)]
[branchPopup]: IDEA-174227 show current branch names for don't sync mode

* if user don't want to track repositories synchronously we have to show
 current branch name as an additional info near each Repo node;
* the same for sync but diverged branch case;

3 years agoEDU-961 Doubled hint for Check Task action: remove shortcuts string from action's...
Valentina Kiryushkina [Fri, 9 Jun 2017 12:55:48 +0000 (15:55 +0300)]
EDU-961 Doubled hint for Check Task action: remove shortcuts string from action's text

3 years agoPY-24659 PY-24398 Change shortcut for Mac: use CTRL instead of CMD
Valentina Kiryushkina [Fri, 9 Jun 2017 12:09:33 +0000 (15:09 +0300)]
PY-24659 PY-24398 Change shortcut for Mac: use CTRL instead of CMD

3 years agoIDEA-167796 dbl-click on some nodes expands what should not be expanded
Gregory.Shrago [Fri, 9 Jun 2017 12:51:00 +0000 (15:51 +0300)]
IDEA-167796 dbl-click on some nodes expands what should not be expanded

3 years agoPY-23623 Fixed: False positive: __getitem__ not being defined for list after isinstan...
Semyon Proshev [Tue, 30 May 2017 13:52:45 +0000 (16:52 +0300)]
PY-23623 Fixed: False positive: __getitem__ not being defined for list after isinstance check

While calculating severity, we infer type for qualifier in `v[0]` subscription expression.
While inferring type for qualifier, we infer type for `test_if_list` function.
While inferring type for `test_if_list` function, we infer `Any` type for `v` in `v[0]` to prevent recursion and resolve `[]` to nothing.
Unresolved `[]` is cached so when we ask for `[]` on `v[0]`, we receive nothing but at this moment we know type of `v` (`List[Any]`).

3 years agoPY-23429 Fixed: False warning about expected type of parameter
Semyon Proshev [Mon, 29 May 2017 18:22:02 +0000 (21:22 +0300)]
PY-23429 Fixed: False warning about expected type of parameter

Update PyTypeChecker to correctly match StructuralType as expected and ModuleType as actual.

3 years agoPY-24364 Fixed: Type inference fails when generator is converted to list, but the...
Semyon Proshev [Wed, 24 May 2017 15:50:51 +0000 (18:50 +0300)]
PY-24364 Fixed: Type inference fails when generator is converted to list, but the variable name is kept.

Don't collect used reassigned parameter's attributes.

3 years agoPY-23057 Fixed: "Statement has no effect" inspection should ignore ellipsis operator
Semyon Proshev [Thu, 25 May 2017 12:48:05 +0000 (15:48 +0300)]
PY-23057 Fixed: "Statement has no effect" inspection should ignore ellipsis operator

PyTypeCheckerInspection, PyStatementEffectInspection and PyUnusedLocalInspection consider `...` as `pass`.

3 years agoEA-102221
Alexander Zolotov [Fri, 9 Jun 2017 12:25:47 +0000 (15:25 +0300)]
EA-102221