Konstantin Bulenkov
cd8cf62a19
cleanup. Convert empty arrays to constants (new T[0] -> T.EMPTY)
2016-07-07 22:52:00 +02:00
Mikhail Golubev
38731649c6
PY-18039 PyPackageManager#getDependents() returns @NotNull value
2016-06-23 17:40:56 +03:00
Andrey Vlasovskikh and Mikhail Golubev
2401d62f80
Initial implementation of background caching of packages (PY-18039)
2016-06-23 17:40:54 +03:00
Semyon Proshev
66efc6bc52
Introduce getFullName in PyRequirement which returns name and extras
2016-06-20 19:37:40 +03:00
Semyon Proshev
14ebb1f037
Extract and save extras in PyRequirement
2016-06-20 19:36:17 +03:00
Ekaterina Tuzova
1348755aa4
PY-11166 Ability to create new projects without selecting Python interpreter
...
Extracted python interpreter combobox
2016-06-20 18:05:38 +03:00
Valentina Kiryushkina
bee0a49435
Add ability to provide listener to error text label on project creation panel
2016-06-17 15:56:42 +03:00
Semyon Proshev
6e6a6d0291
Store requirement install options as list of strings
2016-06-16 19:01:32 +03:00
Semyon Proshev
bf93eee4ee
Rename regular expressions in PyRequirement to make it more readable
2016-06-16 19:01:32 +03:00
Semyon Proshev
05b8dbd08b
PY-19544 Fixed: Incorrect parsing of requirements.txt
...
Support subdirectory param in VCS urls
2016-06-11 14:25:14 +03:00
Ekaterina Tuzova
4e66e64a90
PY-13328 Create New Project: warning about installing template packages is not shown
2016-05-26 17:36:55 +03:00
Semyon Proshev
e84e97c97b
Support multiline requirements in requirements.txt parsing
2016-05-24 17:29:59 +03:00
Semyon Proshev
3b5c62bf95
Support per-requirement overrides in requirements.txt parsing
2016-05-24 17:29:59 +03:00
Semyon Proshev
ef15b9b3d7
Parse requirements with --src option
2016-05-24 17:29:59 +03:00
Semyon Proshev
1ba497832a
Make some renamings in PyRequirement for better reading
2016-05-24 17:29:58 +03:00
Semyon Proshev
1ef3192231
Simplify PyRequirement constructors
2016-05-24 17:29:57 +03:00
Semyon Proshev
fb0a913708
Implement and use PyRequirementVersionNormalizer: PEP-0440/normalization
2016-05-24 17:29:57 +03:00
Semyon Proshev
6a23d15978
PyRequirement: implement parsing of PEP-508 and PEP-440 requirements
2016-05-24 17:29:57 +03:00
Semyon Proshev
cdf6f7a26c
Updated tests for PyRequirement: there are tests for requirement names, versions and extras. All previous tests have been saved but some of them were reworked and integrated into new ones.
2016-05-24 17:29:56 +03:00
Semyon Proshev
47b7d1b439
PyRequirement: implement parsing of vcs urls
2016-05-24 17:29:56 +03:00
Semyon Proshev
ebea6721aa
Move enum and static class from PyRequirement to upper level to special package
2016-05-24 17:29:56 +03:00
Anna.Kozlova
43673ee4bd
block lambda -> expr lambda
2016-05-24 12:27:58 +02:00
Anna.Kozlova
36ee7203f6
anonym -> lambda
2016-05-18 12:04:12 +02:00
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