Commit Graph
17421 Commits
Author SHA1 Message Date
Alexey Kudravtsev ffc41b19b7 <code> replaced with {@code} 2016-12-08 19:42:17 +03:00
Elizaveta Shashkova 44c4191d91 Tests: IronPython can't handle continuation lines properly 2016-12-08 14:27:36 +03:00
Ilya.Kazakevich 2e02c79ed8 PY-16415: Give user ability to use native runner for certain commands
* Settings moved to registry, extension method added
2016-12-08 02:02:24 +03:00
Elizaveta Shashkova c0533ffe1c Tests: We can't fix stepping over continuation lines properly because of the way interpreter treats such lines. So at least we can test stopping at breakpoints and stepping over such lines. 2016-12-07 19:50:47 +03:00
Ekaterina Tuzova c7d84fd36a fix EDU-796 Do not run skeleton generation for base python 2.7 interpreter creating new project
there is no point configuring sdk for newly created empty project because we'll definitely overwrite it
2016-12-07 19:03:16 +03:00
Ekaterina Tuzova b8fc74cedb cosmetics usage of .idea 2016-12-07 19:03:16 +03:00
Ekaterina Tuzova 25b00a7c42 show bundled course info in case of no internet connection 2016-12-07 19:03:16 +03:00
Ekaterina Tuzova 404476cff6 updated bundled course to the new json version 2016-12-07 19:03:16 +03:00
Vladimir Krivosheev 75eddef69f cleanup, notnull 2016-12-07 16:52:14 +01:00
Elizaveta Shashkova ab8f8e1968 Tests: fix PyDynamicTypesTest. There is no need to copy collected data, because it's already attached to the correct file. 2016-12-07 17:20:03 +03:00
Ekaterina Tuzova 3a076af970 reinitialize client after user login 2016-12-07 16:15:22 +03:00
Ekaterina Tuzova c5d89de623 fix EDU-696 Get course from Stepic for course creators
Now this action available only via find action
2016-12-07 16:07:27 +03:00
Ekaterina Tuzova 7cae1e3ea2 fix EDU-701 Make Cyphers course python 2 only
course type could in the format "pycharm language version"
updated log information to reflect problems with lesson/task retrieval
2016-12-07 15:52:30 +03:00
Ekaterina Tuzova e69e41faff fix EDU-743 Disable create button in new project dialog if no course selected
Properly compare invalid courses.
By accident fixed error label listener also
2016-12-07 15:52:30 +03:00
Ekaterina Tuzova 7a60fe55a2 fix EDU-755 Submissions from PyCharm Edu 3.0 on Stepic
Find corresponding to the task file user file
2016-12-07 15:52:30 +03:00
Ekaterina Tuzova f9ab833e50 fix doubled run current file linemarker
LineMarkerPass now queries providers twice: for visible (inner) and invisible (outer) elements so we need to find actual psi file in elements array.
2016-12-07 12:53:55 +03:00
Alexander Zolotov a39d42f401 Prettify content entries configurables
- allow to create content entries editor with borders and enable border in
configurables
- remove redundant borders around splitter
- move delete icons to 3px right
- replace Insets with JBUI.insets
2016-12-06 19:35:58 +03:00
Dmitry Trofimov 81da26178f Fix conda env auto activation in the terminal (PY-21643) 2016-12-06 16:19:08 +01:00
Elizaveta Shashkova 8aca86cf3e Tests: fix debugging of included Django templates on Windows 2016-12-06 17:31:56 +03:00
Elizaveta Shashkova 833c72688f Fix exception after reopening tool window (PY-20850) 2016-12-05 17:02:31 +03:00
Elizaveta Shashkova bb42aa2cf5 Fix IndentationError while execution line in console (PY-21653) 2016-12-05 17:02:30 +03:00
Valentina Kiryushkina 71d80d872a Try to login only if credentials were modified 2016-12-05 14:22:24 +03:00
Valentina Kiryushkina aba09990ee Remove modification flag and listeners from fields because use of them makes Apply button always active even no real changes was made 2016-12-05 14:22:23 +03:00
Valentina Kiryushkina a51d7b4da8 Fix EDU-794 Changes in stepik credentials in Settings aren't saved
Refactor settings creation: 1) Erase password on login change 2) Do not erase password on focus gained by password field 3) Use lambda instead of anonymous class where possible

Refactor stepik settings: 1) Login in settings under progress  2) Do not save new credentials until they are posted on stepic 3) Remove default password for show: set user password in stepik settings panel
2016-12-05 14:22:23 +03:00
Valentina Kiryushkina c4f1fffcdb Fix json serialization for stepic adaptive courses which has no files and no subtasks 2016-12-05 14:22:23 +03:00
Elizaveta Shashkova 361fdc59da Minors after review IDEA-CR-16150 2016-12-05 11:43:10 +03:00
Elizaveta Shashkova 40b67ffe91 Add Cython speedup for python 3.6 on Windows (PY-21513 ) 2016-12-05 11:32:31 +03:00
Vladimir Krivosheev 28d0517022 cleanup, add DefaultExecutionResult handy ctor 2016-12-02 15:46:37 +01:00
Mikhail Golubev 1b37d51740 PY-21789 Inspection about non-ASCII characters in byte strings doesn't check comments 2016-12-02 17:26:11 +03:00
Mikhail Golubev 483439720c PY-21645 Disable some inspections in function type comments 2016-12-02 17:26:11 +03:00
Semyon Proshev 2174c9b258 PY-20682 Fixed: await something() as function argument is not recognized by syntax analyzer
Copy `async` flag in ParsingScope.withSuite
2016-12-02 13:54:24 +03:00
Dmitry Trofimov 3255c3b0c2 Merge remote-tracking branch 'origin/master' 2016-12-02 12:32:50 +03:00
Ekaterina Tuzova 33b887c1e1 applied patch for student-python dependencies sincerely provided by Greg Shrago
new project panel steps and generator moved to the python-community-configure so it can be used in other modules without python-community-ide dependency
2016-12-02 11:56:44 +03:00
Ekaterina Tuzova d280fe0453 set read timeout for the ipython notebook starting connection 2016-12-02 11:56:44 +03:00
Dmitry Trofimov 9da1b7fe96 Add a comment that explains why we can't add all variables that we read 2016-12-01 21:53:27 +03:00
Aleksey Pivovarov 52d9d450f4 [fix] ui: allow to override background color for Editor notification panel
pass background color in constructor, so it could be used in `createActionLabel` call

follow-up: 0de9910, 1e42810, 9089601
2016-12-01 20:21:48 +03:00
Ilya.Kazakevich 5b30ac1531 PY-21750: Fix flask creation for Plugin.
* Plugin and PyCharm uses different APIs to create projects. This point was missed after last PythonProjectGenerator refactoring, but fixed now
* See PythonProjectGenerator comments for description of this commit
2016-12-01 20:12:36 +03:00
Roman Shevchenko ee16f3ffee Cleanup (dead code) 2016-12-01 17:45:38 +01:00
Vladimir Krivosheev e1efcd8d0d cleanup — add NotNull 2016-12-01 17:44:10 +01:00
Vladimir Krivosheev 9f31026d75 cleanup, tool windows state hot reload 2016-12-01 15:29:13 +01:00
Semyon Proshev 32fdbb9a30 Update ConvertVariadicParamIntention.isKeywordContainerSubscription to not to use Optional 2016-12-01 15:34:35 +03:00
Semyon Proshev 42c6c1be3e NumpyResolveRater will not change member rate if NDARRAY type is not found 2016-12-01 15:19:00 +03:00
Valentina Kiryushkina 32caddb853 PY-21707 Invalid "Unresolved reference" in multiline format strings
It's a regression introduced by fix of  PY-19842
2016-11-30 19:22:14 +03:00
Aleksey Pivovarov 1e42810fda ui: allow to override background color for Editor notification panel 2016-11-30 17:28:27 +03:00
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