Commit Graph

142 Commits

Author SHA1 Message Date
peter
3beec9ace3 remove unnecessary invokeLater from ConfigureTemplateDirectoriesAction 2016-04-25 11:08:38 +02:00
Semyon Proshev
c83a2cf81f PY-18543 Fixed: Package requirements.txt does not respect pip -rfilename.txt (with no spaces between -r and filename.txt)
Update regex for recursive requirement to support case when there is no spaces between -r and filename
2016-03-23 19:22:12 +03:00
Alexey Kudravtsev
47e9533a1b replaced with StringUtil.trimStart/trimEnd 2015-12-08 17:06:17 +03:00
Ilya.Kazakevich
2e8d9b3570 Use cache only when looking for packages in remote SDK 2015-12-04 18:09:21 +03:00
Ekaterina Tuzova
51cc16fa13 fixed PY-17789, PY-17777, PY-17723
Do not store sdk cache before it's setup, clear package cache on sdk editing
2015-11-25 16:49:39 +03:00
Ekaterina Tuzova
485008a4e1 fixed jinja2 detection on creating new project 2015-11-10 19:06:04 +03:00
Valentina Kiryushkina
ae5b32ca43 Pass project sdk to PythonProjectGenerator#beforeProjectGenerated 2015-10-07 17:48:24 +03:00
Ilya.Kazakevich
ba906802b3 PY-17055 FileReference#reparse API changed 2015-10-03 02:29:06 +03:00
Ekaterina Tuzova
55dacfeb3a added initial conda support 2015-09-28 16:52:04 +03:00
liana.bakradze
416895110e PY-13275 Mark directory as template works differently in Project tool window and Project structure 2015-09-28 08:15:40 +03:00
Ekaterina Tuzova
89be2c4520 minor typo 2015-09-23 19:41:02 +03:00
Dmitry Trofimov
f0753d053c Merge branch 'master' into traff/zip_helpers
# Conflicts:
#	platform/util/src/com/intellij/openapi/util/BuildNumber.java
#	python/ipnb/src/org/jetbrains/plugins/ipnb/configuration/IpnbConnectionManager.java
2015-08-31 23:10:02 +02:00
Ekaterina Tuzova
4ad0aca7ac added extension to run some action before project generated 2015-08-03 14:19:12 +03:00
Dmitry Trofimov
8dc480c2e2 Python console execution refactoring. Occasionally fixes PY-13041 2015-07-31 00:18:04 +02:00
Ilya.Kazakevich
d6b3ff688f Assuming language is null in case of None (for PY-16049) 2015-05-29 22:10:41 +03:00
Ilya.Kazakevich
d8b367bec6 Always take indent settings from underlying language for any python template, so Django, Jinja2, mako and others use HTML indents. (see PY-15974) 2015-05-23 01:34:10 +03:00
Ilya.Kazakevich
0d06067329 PY-14977 PyCharm is not obeying my file specific code style for HTML
Django Templates do not have HTML as base language anymore. Instead, they use DjangoTemplateFormatter.getTemplateDataLanguage() which is much better.

Indents are provided via EP DjangoFileIndentOptionsProvider.
2015-02-25 22:31:53 +03:00
Ilya.Kazakevich
30a865dacb PY-14977 PyCharm is not obeying my file specific code style for HTML
BaseLanguage is HTML, not Django now
2015-02-21 01:53:07 +03:00
Ilya.Kazakevich
d3c52d849d PY-13986 View -> Open In Browser unavailable for Django projects
Refactored: useless iface HtmlCompatibleLanguage removed due to Krivosheev request: UrlProvider is now used.
2014-12-23 21:50:04 +03:00
Ilya.Kazakevich
34868589ed PY-13986 View -> Open In Browser unavailable for Django projects 2014-12-04 21:48:25 +03:00
Ilya.Kazakevich
6fbd869772 PY-12564 Django: Template directories auto-configuration is missing on opening existing project
PY-12876 Jinja2 Unresolved template reference
2014-11-27 15:03:17 +03:00
Dmitry Trofimov
e521c513d7 Both setter and getter should start with word 'add' 2014-11-24 21:41:47 +03:00
Andrey Vlasovskikh
e083779793 Updated copyright 2014-10-16 17:56:38 +04:00
Andrey Vlasovskikh
bf58d9d3ca Added copyright 2014-10-16 17:54:28 +04:00
Andrey Vlasovskikh
004d6cf844 New package operation failure dialog 2014-09-30 17:35:47 +04:00
Andrey Vlasovskikh
f249aa6e8d Pass stdout and stderr to PyExecutionException 2014-09-29 17:56:31 +04:00
Andrey Vlasovskikh
0cb60b64b8 Renamed PyExecutionException.getReturnCode() to getExitCode() for consistency with ProcessOutput 2014-09-29 16:53:55 +04:00
Andrey Vlasovskikh
82dc5b88c3 Restored "Install packaging tools" fix when there is no 'setuptools' installed 2014-09-29 16:41:30 +04:00
Andrey Vlasovskikh
161ab68985 PyPackageManager.hasManagement() throws exceptions with PyExecutionFix for launching Vagrant 2014-09-23 17:33:19 +04:00
Andrey Vlasovskikh
c669ff8ce8 Renamed PyExternalProcessException to PyExecutionException 2014-09-23 17:06:13 +04:00
Andrey Vlasovskikh
00cdaa2b96 Added getFixes() to PyExternalProcessException instead of withHandler()
These exceptions and fixes are now used for displaying notifications in
the notification area of the package management panel.
2014-09-23 17:05:44 +04:00
Andrey Vlasovskikh
f4d21231ee Cause is used only in the message passed to the constructor of PyExternalProcessException 2014-09-22 19:02:05 +04:00
Andrey Vlasovskikh
90fdcf3276 Use ExecutionException in signatures instead of more specific PyExternalProcessException 2014-09-22 18:36:13 +04:00
Andrey Vlasovskikh
03451a3c05 Updated pip and setuptools, added legacy versions for Python 2.4-2.5 (PY-13244) 2014-09-17 15:44:18 +04:00
Andrey Vlasovskikh
91316d7265 Added the ability to cancel Python package management operations 2014-09-16 16:10:49 +04:00
Andrey Vlasovskikh
9b3ec77c0b Removed unused code 2014-09-10 20:05:38 +04:00
Andrey Vlasovskikh
93d65d3aa5 Inlined PyPackageManager.showInstallationError() 2014-09-10 18:42:53 +04:00
Andrey Vlasovskikh
2d9898c904 Moved private error codes of the packaging tool back to PyPackageManagerImpl 2014-09-10 18:39:04 +04:00
Andrey Vlasovskikh
78b7136f8d Suggest to install Python packaging tools in packaging quick-fixes if they are not found 2014-09-10 17:57:40 +04:00
Andrey Vlasovskikh
1046cb3da0 Switched to single install action for Python packaging tools 2014-09-10 17:11:10 +04:00
Andrey Vlasovskikh
c0c1c72e3e Added nullity annotations 2014-09-10 15:40:21 +04:00
Andrey Vlasovskikh
cc00ea1918 Renamed PyPackageManager.findInstalledPackage() into findPackage() 2014-09-10 15:29:21 +04:00
Andrey Vlasovskikh
26373e942d Inlined PyPackageManager.getInstalledPackage(String) 2014-09-10 15:26:53 +04:00
Andrey Vlasovskikh
ef7bb76718 Added cachedOnly paramter to PyPackageManager.getPackages() 2014-09-10 15:23:31 +04:00
Andrey Vlasovskikh
de271cbf0f Use PyPackageManager only via its public interface 2014-09-09 17:07:32 +04:00
Andrey Vlasovskikh
13770008a1 Extracted PyPackageManagerUI and split into package management tasks 2014-09-09 15:58:55 +04:00
Andrey Vlasovskikh
caf8358f45 Removed unused PyPackageManager.findPackage() 2014-09-08 18:51:54 +04:00
Ilya.Kazakevich
a6024fc0c5 PY-13756 BDD: Non-descriptive definition of steps in info popup on Ctrl+hover 2014-09-04 18:53:23 +04:00
Dmitry Trofimov
5326853eb7 Allow show command line option only in RunPythonScript Run Configuration. 2014-08-21 19:01:03 +02:00
Dmitry Trofimov
750e3c1d39 Initial execute file in console. 2014-08-21 18:33:22 +02:00