Aleksei Kniazev and intellij-monorepo-bot
3c203f5382
IDEA-CR-51590: added self parameter for methods on smart enter (PY-35163)
...
self is inserted for methods that are not class-/staticmethod
cls is inserted for classmethod
empty parameter list for staticmethod
GitOrigin-RevId: 9743ae50c89c069b8123b8b6eb26fb841dd1f5b2
2019-09-04 15:08:25 +00:00
Mikhail Golubev
9b49498808
PY-19279 Smart enter on function inserts colon after return type annotation
2016-04-28 14:28:28 +03:00
Mikhail Golubev
a955f6c927
PY-16765 For sections inside Google code style docstring use indentation configured for Python
...
PyFunctionBuilder and PyDocstringGenerator require a PSI element to
use proper formatting and style for generated docstring.
2015-09-23 18:42:17 +03:00
Mikhail Golubev
3826afdf6c
PY-16765 In Google docstrings smart enter adds colon and indentation after section header
2015-09-07 22:01:24 +03:00
Mikhail Golubev
fbbf4dcade
PY-15656 Insert closing parenthesis of parameter list right after opening one if there are no parameters
2015-04-21 15:14:26 +03:00
Mikhail Golubev
246fcae221
PY-15653 Better handling of class definitions with the list of base classes but no name node
2015-04-21 15:14:26 +03:00
Mikhail Golubev
3f519db066
PY-15653 Smart enter works better in case of function and class definitions without name element
2015-04-21 15:14:25 +03:00
Mikhail Golubev
99f4933e70
PY-9209 Insert a space after '#' sign when using smart enter in comment
2014-11-18 01:28:45 +03:00
Mikhail Golubev
5de0b14903
PY-12877 Fix complains found during review (IDEA-CR-397)
2014-09-08 12:47:15 +04:00
Mikhail Golubev
2851b82675
PY-12877 Add test for the case when no expression given in 'with' header
2014-08-05 13:03:29 +04:00
Mikhail Golubev
3089c9cb09
PY-12877 Complete statement doesn't insert colon for 'with' statement
2014-07-22 16:30:53 +04:00
Ekaterina Tuzova
c0b2b413f7
fixed PY-5029 Editable auto stub string
2011-11-22 13:34:30 +01:00
Ekaterina Tuzova
42ea17e44b
added empty line to comment generation
2011-04-15 12:29:22 +04:00
Ekaterina Tuzova
8432376a49
added tests for generating docstrings in python
2011-04-15 12:17:30 +04:00
Dmitry Jemerov
384a20364b
smart enter shouldn't insert parentheses into decorator calls (PY-3209)
2011-03-31 21:49:54 +02:00
alexey.ivanov
87555a3ec1
PY-891 Ctrl + Shift +Enter doesn't move to next line in case of method definition
2010-04-28 22:03:55 +04:00
alexey.ivanov
056ba164b5
PY-181 Complete Statement should work for Python
2010-04-22 18:51:03 +04:00