Commit Graph
17377 Commits
Author SHA1 Message Date
Semyon Proshev e3f371128b PY-21692 Fixed: Return type of sum(List[Decimal]) is 'Any' (should be 'Decimal')
Add skeletons for builtin sum function
2016-11-29 20:32:25 +03:00
Semyon Proshev 60edb30580 Update skeletons for max function 2016-11-29 20:32:25 +03:00
Semyon Proshev c60419eb7e Update skeletons for min function to fit updated type processing of positional and keyword arguments 2016-11-29 20:32:25 +03:00
Ekaterina Tuzova d9806e5387 PY-21447 Jupyter Notebook fails to properly handle IPython.display Markdown 2016-11-29 17:43:59 +03:00
Ekaterina Tuzova cae8ae1d7d show task description in tests files 2016-11-29 17:43:59 +03:00
Vladimir Krivosheev 00c58fd4a8 cleanup — deprecate ModuleRootAdapter 2016-11-29 11:24:16 +01:00
peter c36a7264ac clear read-only status outside write action in Surround With 2016-11-28 21:57:51 +01:00
Elizaveta Shashkova 210218ecc9 Python Console isn't shown if the script was executed very quickly (PY-21496)
Wait for initialization and enable console
2016-11-28 20:16:28 +03:00
Brendan DouglasandAndrey Vlasovskikh 7c3504e185 Add a custom python package identifier extension point
Allows bypassing the default 'is package' check,
giving the option of foregoing __init__.py files
prior to python 3.3
2016-11-28 19:46:21 +03:00
Semyon Proshev 884f5ad959 Won't return empty list if there are no metaclass attributes with specified name. This bug was introduced in PY-19702-related changes. 2016-11-28 19:14:05 +03:00
Liana.Bakradze fa55fbe148 reformat 2016-11-28 18:50:01 +03:00
Liana.Bakradze 80facf731a no need to remove watches 2016-11-28 18:50:01 +03:00
Liana.Bakradze 39d3af24d5 do now show SwitchWatches in edu debugger 2016-11-28 18:50:01 +03:00
Liana.Bakradze fcdf5b928b remove special and builtins groups from edu debugger (moved to PyCharm) 2016-11-28 18:50:01 +03:00
Liana.Bakradze 680ebbd153 do not add folding and start message to edu debug console 2016-11-28 18:50:01 +03:00
Semyon Proshev cb65a7a44b Forget to filter metaclass attributes by name while resolving class type member. This bug was introduced in PY-19702-related changes. 2016-11-28 16:14:40 +03:00
Ilya.Kazakevich 68dbe826fb PY-20307: addParams() can't be null 2016-11-28 16:12:39 +03:00
Elizaveta Shashkova 575801c275 Add IPython variables to Special variables in IPython console and console with "show command line afterwards" option (PY-21641) 2016-11-28 16:08:43 +03:00
Ekaterina Tuzova e059708634 fixed get available private courses 2016-11-28 15:51:04 +03:00
Ekaterina Tuzova 7787a2608e login if we do not have access token 2016-11-28 15:51:04 +03:00
Anna.Kozlova 01bf7bfecd write access for elements which probably differ from the current file 2016-11-28 11:47:06 +01:00
Dmitry Batkovich a9d9485b9a properties: property key text is copied by "Copy Reference" action (PropertiesQualifiedNameProvider) IDEA-164595 2016-11-28 13:37:08 +03:00
Dmitry Trofimov c43ac098e0 Path should be appended other env variables should be overwritten (PY-21613) 2016-11-27 00:24:28 +01:00
Dmitry Trofimov 7ed5add0de Activate condaenv in terminal (PY-21643) 2016-11-27 00:24:28 +01:00
Dmitry Trofimov 4c3578b276 Backup variables should be preserved to be able to deactivate (PY-21560) 2016-11-27 00:22:47 +01:00
Ilya.Kazakevich 2f13c16353 PY-20307: Arguments not passed to tox runner 2016-11-26 01:49:05 +03:00
Ekaterina Tuzova 00e6b440c5 added option to skip running task file on check action 2016-11-25 20:23:18 +03:00
Ekaterina Tuzova b26470ac28 navigate to the next subtask on subtask switch 2016-11-25 19:31:39 +03:00
Ekaterina Tuzova b4503a2aa4 On go to next task open only task file related to the current step 2016-11-25 19:31:39 +03:00
Ekaterina Tuzova 6fc1f46568 open only task file related to the current step 2016-11-25 19:31:39 +03:00
Ekaterina Tuzova d030b5c514 find file in study project generator 2016-11-25 19:31:39 +03:00
Ekaterina Tuzova a72cb7108c scroll to the answer placeholder 2016-11-25 19:31:39 +03:00
Liana.Bakradze 0d6d849c33 EDU-675 Add Course Creation label to Course Node in Project View for Course Creator Mode 2016-11-25 19:30:41 +03:00
Semyon Proshev a9ecefe927 PY-21474 Fixed: Type checking confused by None default argument
PyTypeAssertionEvaluator: Mark reference which is used as condition in PyConditionalExpression as non-None
2016-11-25 19:10:02 +03:00
Semyon Proshev 54a5e386f4 PY-21458 Fixed: Live template hangs PyCharm in some case
Don't analyze implicit imports while searching iterable variable for live template
2016-11-25 19:06:51 +03:00
Semyon Proshev b7fa4c5269 Simplify PyLiveTemplatesContextTest 2016-11-25 19:06:50 +03:00
Semyon Proshev ac662e927d Rename PyLiveTemplatesTest to PyLiveTemplatesContextTest 2016-11-25 19:06:50 +03:00
Semyon Proshev 82e63e7295 Update PyTypeParser to use PyTypeUtil.toPositionalContainerType and PyTypeUtil.toKeywordContainerType while parsing PEP-484 function type comment 2016-11-25 19:02:43 +03:00
Semyon Proshev 45ec95d939 PY-19723 Fixed: Type hinting of arbitrary argument lists and default argument values
Update PyTypeChecker to substitute type vars with types of positional and keyword args (incl. heterogeneous ones)
2016-11-25 19:02:43 +03:00
Semyon Proshev 421655e180 PY-19723 Fixed: Type hinting of arbitrary argument lists and default argument values
Update PyTypeCheckerInspection to handle keyword arguments
2016-11-25 19:02:43 +03:00
Semyon Proshev f8b0121a48 PY-19723 Fixed: Type hinting of arbitrary argument lists and default argument values
Update PyNamedParameterImpl to return collection types with unknown elements instead of tuple and dict.
2016-11-25 19:02:42 +03:00
Semyon Proshev 45e473cac8 PY-19723 Fixed: Type hinting of arbitrary argument lists and default argument values
Update PyDocStringTypeProvider to correctly handle `:type args: T1` and `:type kwargs: T2`, and wrap their types to `Tuple[T1, ...]` and `Dict[str, T2]`.
2016-11-25 19:02:42 +03:00
Semyon Proshev 5e214c4b4a PY-19723 Fixed: Type hinting of arbitrary argument lists and default argument values
Update PyTypingTypeProvider to correctly handle `args: T1` and `kwargs: T2`, and wrap their types to `Tuple[T1, ...]` and `Dict[str, T2]`.
2016-11-25 19:02:41 +03:00
Ekaterina Tuzova eaa6999da6 proper separator for task file path 2016-11-25 18:24:24 +03:00
Ekaterina Tuzova 86cba1b8e1 take into account subtasks for course progress bar
this is done only for courses with one lesson and one task
2016-11-25 18:24:24 +03:00
Mikhail Golubev 9c577d1709 PY-21204 Removed preparePsiElementForWrite() returned accidentally in a merge 2016-11-25 17:57:29 +03:00
Mikhail Golubev 7f96674bb3 PY-21204 Quickfix "Create function" properly handles injected fragments
by inserting a new function in the containing host file, not inside the
fragment itself.

Also I fixed issues with keeping hard references to PSI elements and
usage of deprecated TemplateBuilder's API.
2016-11-25 17:45:24 +03:00
Mikhail Golubev b09b8a30fd PY-21644 Proper family names for "Install and import package" and "Create function" quickfixes 2016-11-25 17:45:24 +03:00
Mikhail Golubev 8c0fe707e5 PY-21204 Create a new class in host file instead of injected fragment
Additionally, I removed usages of deprecated API in CreateClassQuickFix
and utilize SmartPointer to hold the reference to PSI element.
2016-11-25 17:45:24 +03:00
Mikhail Golubev 190fe91332 PY-21563 Join "from" imports with the same origin if "Import ..." quickfix is run from type comment 2016-11-25 17:45:24 +03:00