Commit Graph
112 Commits
Author SHA1 Message Date
Ekaterina Tuzova 8bc81772e0 fixed PY-11929 Insert type assertion should be disabled for references introduced in dict comprehensions 2014-05-14 19:28:59 +04:00
Ekaterina Tuzova 4e53b58852 fixed PY-7535 Specify return type: intention is not available at the end of the function name 2014-04-03 16:35:38 +04:00
Ekaterina Tuzova c25dd56396 fixed PY-12526 Replace with str format method call: unnecessary u prefix for python 3 2014-04-02 15:18:58 +04:00
Ekaterina Tuzova 01b776c422 extracted tests for PyConvertFormatOperatorToMethodIntention 2013-10-04 19:35:51 +04:00
Ekaterina Tuzova fdb3742d34 PY-10989 str.format intentions don't handle unicode properly in Python 2.x 2013-10-04 19:17:53 +04:00
Ekaterina Tuzova cb9218aff7 fixed tests 2013-06-25 12:37:03 +04:00
Ekaterina Tuzova 3e9df386aa fixed PY-10081 Insert documentation string stub: Do not insert rst annotations when generating docstring in plain format 2013-06-24 16:30:44 +04:00
Ekaterina Tuzova 684066934e fixed PY-9659 Convert method to property: intention should be available for methods with yeild 2013-05-11 13:10:26 +04:00
Ekaterina Tuzova 3a3f31d1b6 fixed PY-9660 Convert Method to Property: provokes Getter should return something when converting function which has return without return value 2013-05-11 13:07:35 +04:00
Ekaterina Tuzova 3d49b6001e added convert method to property intention 2013-04-25 13:04:13 +04:00
Ekaterina Tuzova 9bc89de63f update usages after converting static method to function 2013-04-25 13:04:12 +04:00
Ekaterina Tuzova 64668ea702 added convert static method to function intention 2013-04-24 18:12:02 +04:00
Ekaterina Tuzova f34f661bb9 fixed tests after PY-8961 fix (formatter for py 3 parameter annotations) 2013-03-04 21:16:55 +04:00
Ekaterina Tuzova 8278ad5e3a Took into account Parenthesized Expressions
fixed PY-7151 Convert triple-quoted string to single-quoted string: do not wrap string with parenthesis if initial string is already inside them
2013-02-26 14:41:59 +04:00
Ekaterina Tuzova 66c7b9b5d8 fixed PY-8965 Inconsistent behavior for "Specify type for reference in docstring"
simplified logic for type intentions. Don't use inferred type.
2013-02-25 13:26:54 +04:00
Ekaterina Tuzova 7c3b0cb821 Merge remote-tracking branch 'origin/master' 2013-02-21 18:50:38 +04:00
Dmitry Trofimov 3de2401bc5 Merge remote-tracking branch 'origin/master' 2013-02-21 17:11:50 +04:00
Ekaterina Tuzova c024597491 fixed PY-7151 Convert triple-quoted string to single-quoted string: do not wrap string with parenthesis if initial string is already inside them 2013-02-21 14:09:17 +04:00
Ekaterina Tuzova 1e99754973 fixed PY-7152 Convert triple-quoted string to single-quoted string: missing intention for strings with prefixes 2013-02-21 13:47:41 +04:00
Dmitry Trofimov 3d9c6a7585 Fixed generation of type in docstring in case of it already presents as @param (PY-8930). 2013-02-21 13:26:02 +04:00
Ekaterina Tuzova 7e407b78c7 fixed PY-8943 Specify type in docstring chooses wrong function for parameter 2013-02-20 20:00:17 +04:00
Ekaterina Tuzova 0b41a2b921 Merge remote-tracking branch 'origin/master'
Conflicts:
	python/src/com/jetbrains/python/codeInsight/intentions/TypeIntention.java
2013-02-12 18:09:24 +04:00
Ekaterina Tuzova 2dc50cdbc5 fixed PY-8783 Specify return type using annotation: intention seems to do nothing 2013-02-12 14:30:14 +04:00
Dmitry Jemerov bbc85bd585 fix docstring generation tests 2013-02-07 13:11:15 +01:00
Andrey Vlasovskikh 62b23ed17b Fixed escaping % with %% when replacing string concatenation with %-formatting (PY-8588) 2013-01-30 20:18:50 +04:00
Andrey Vlasovskikh 4e3e3e2293 Fixed escaping backslash and quotes when replacing string concatenation with formatting (PY-8366) 2013-01-30 19:12:43 +04:00
Dmitry Jemerov 950c820cc0 optional space before backslash (on by default) in python code style settings (PY-5674) 2013-01-29 20:31:08 +01:00
Dmitry Jemerov 16a734622f auto-indent after backslash (PY-2759) 2013-01-29 20:31:07 +01:00
Ekaterina Tuzova df5ef4abf1 fixed Convert triple-quoted string: loses data in case of double quote inside the string and leads to syntax error 2013-01-16 16:12:55 +04:00
Ekaterina Tuzova 213e66aef8 fixed PY-8402 Insert documentation string stub: strange null parameter for functions with keyword-only argument 2013-01-09 13:42:11 +04:00
Ekaterina Tuzova c9d7238933 fixed test data according to code style 2012-12-17 19:08:07 +04:00
Ekaterina Tuzova 5402576412 fixed tests for convert format operator 2012-12-17 18:30:00 +04:00
Ekaterina Tuzova 4a49190ebf fixed PY-4706 Modernize the improve "Replace + with string operator" refactoring tool. 2012-12-17 18:25:49 +04:00
Dmitry Jemerov 279a136c14 change option "between top-level classes and functions" to "around ...", ensure that we put two lines between import and class (PY-7743) 2012-12-13 20:21:08 +01:00
Dmitry Jemerov ff9b2b7aa4 don't indent closing paren of tuple (PY-7946) 2012-12-13 17:04:00 +01:00
Ekaterina Tuzova 874652942b fixed PY-8064 Incorrect joining of two-line raw string literal 2012-11-23 17:57:11 +04:00
Ekaterina Tuzova 54d11df468 fixed PY-7968 Replace + with string formatting operator: disable intention for expressions not only with + 2012-11-08 18:14:29 +04:00
Ekaterina Tuzova 2c025a3237 fixed PY-7969 Replace + with string formatting operator: disable intention for expression with undefined types 2012-11-08 17:52:16 +04:00
Ekaterina Tuzova 723180f142 fixed PY-7971 Insert type assertion: produces invalid assertion in case of caret at the second reference in expression 2012-11-08 16:59:34 +04:00
Ekaterina Tuzova d8514c8ddc fixed PY-7973 Specify return type in docstring: disable intention for multi-resolve reference 2012-11-08 16:50:23 +04:00
Ekaterina Tuzova 06ff6aa5a8 fixed PY-7974 NPE at com.jetbrains.python.codeInsight.intentions.SpecifyTypeInPy3AnnotationsIntention.isAvailable 2012-11-08 14:50:21 +04:00
Ekaterina Tuzova 5b4bc0e771 fixed PY-7657 Specify type in docstring: AE at com.jetbrains.python.codeInsight.intentions.SpecifyTypeInDocstringIntention.invoke 2012-11-06 18:10:30 +04:00
Ekaterina Tuzova edc1b4a591 fixed PY-7933 Specify type in docstring intention not available 2012-11-02 12:23:48 +04:00
Dmitry Jemerov d6fa99f709 space around more keywords (PY-7863) 2012-10-24 20:03:03 +02:00
Ekaterina Tuzova 413a97bb07 fixed PY-7403 Insert type assertion: disable intention for variable defined in with statement 2012-09-06 15:58:15 -04:00
Ekaterina Tuzova 8473dbb784 fixed unused code (produced NPE) and tests 2012-09-06 11:22:19 -04:00
Ekaterina Tuzova 5650a0884d fixed PY-7086 Specify type for reference using annotation: removes default parameter value 2012-09-05 16:36:35 -04:00
Ekaterina Tuzova 60ebdc9f49 fixed PY-7463 Intention "Replace + with string formatting operator" doesn't work for unicode strings 2012-09-05 14:36:30 -04:00
Ekaterina Tuzova cc415992b2 fixed PY-7354 "Add return type annotation" quickfix on function to add :rtype: to docstring 2012-09-03 14:39:21 -04:00
Ekaterina Tuzova 81510caf10 Merge remote-tracking branch 'origin/master' 2012-08-31 19:30:46 +04:00