Commit Graph
112 Commits
Author SHA1 Message Date
Ekaterina Tuzova d40cc5a1f1 fixed PY-7354 "Add return type annotation" quickfix on function to add :rtype: to docstring 2012-08-31 19:22:12 +04:00
Ekaterina Tuzova 9e42d4d30d fixed PY-7091 Specify type intentions are not available when cursor is at the very beginning of the reference with undefined type 2012-08-31 15:39:36 +04:00
Andrey Vlasovskikh 67be1e45e0 Added intention for replacing explicit iteration with delegation to sub-generator for Python 3.3 (PY-7383) 2012-08-30 21:06:58 +04:00
Ekaterina Tuzova 3b17169607 fixed PY-7089 Insert type assertion: leads to syntactically incorrect code when invoked for one-line function 2012-08-28 17:34:14 +04:00
Ekaterina Tuzova ea74f4e707 fixed PY-7151 Convert triple-quoted string to single-quoted string: do not wrap string with parenthesis if initial string is already inside them 2012-08-21 13:02:29 +04:00
Dmitry Jemerov c8ab31fa65 PY-7124 2012-08-09 15:31:47 +02:00
Ekaterina Tuzova 655b8f5913 fixed PY-7085 Specify type for reference using annotation: missing intention for specifying annotation for return values 2012-08-01 17:34:11 +04:00
Ekaterina Tuzova 9ae2649f39 fixed PY-7089 Insert type assertion: leads to syntactically incorrect code when invoked for one-line function 2012-08-01 14:40:38 +04:00
Ekaterina Tuzova 270bbb4c30 fixed PY-7045 Intention for specifying type of reference in Python 3 annotation 2012-07-30 17:44:59 +04:00
Ekaterina Tuzova 2e7eba4aff Assist in specifying types via docstrings
(Intention for docstring and intention for assertion)
2012-07-20 14:52:58 +04:00
Ekaterina Tuzova a2843202bd fixed PY-6835 Convert lambda to function: leads to syntactically incorrect code when lambda expression is the only statement in function 2012-06-26 20:44:58 +04:00
Ekaterina Tuzova 4f1aa8137c fixed PY-6610 Convert lambda to function: leads to unresolved reference when using local vars in lambda 2012-06-20 19:46:18 +04:00
Ekaterina Tuzova 0c3a1ce37c fixed PY-6731 Convert list comprehensions to for loop: bug with nested comprehensions 2012-06-14 13:38:01 +04:00
Ekaterina Tuzova 6b106e258a fixed PY-6505 "Replace + with string formatting operator" is available in a context which has nothing to do with strings 2012-05-10 18:20:38 +04:00
Ekaterina Tuzova ac71f3f436 fixed PY-6505 "Replace + with string formatting operator" is available in a context which has nothing to do with strings 2012-05-05 13:46:09 +04:00
Dmitry Jemerov 0a19af1a09 basic test for 'from ... import to import' intention 2011-12-15 18:00:07 +01:00
Ekaterina Tuzova 273447c075 fixed PY-5226 "replace + with string formatting operator" produces bad code 2011-12-06 17:15:15 +04:00
Ekaterina Tuzova 79ddbf26f2 fixed PY-5157 Convert dict literal to dict constructor: invalid code with space in keys 2011-12-02 16:40:55 +01:00
Ekaterina Tuzova d08bdb75bb fixed PY-4697 "join 2 if's" inspection suggestion is invalid 2011-11-12 22:46:13 +01:00
Ekaterina Tuzova 55d78b5c80 fixed PY-977 "Replace with str.format method call" doesn't handle escape sequences. 2011-11-12 21:25:32 +01:00
Dmitry Jemerov e28cb816d5 options for alignment in function declarations and calls (PY-3995) 2011-08-10 17:49:20 +02:00
Ekaterina Tuzova 4ae7a9b417 added tests for PY-3281 2011-05-20 18:01:17 +04:00
Ekaterina Tuzova 9e2f7cf118 fixed test data for doc stub intention 2011-05-05 15:42:36 +04:00
Ekaterina Tuzova e87b654a82 fixed test data for docStub intention 2011-04-29 11:23:34 +04:00
Ekaterina Tuzova 6887955447 added intention for doc stub generation 2011-04-15 18:19:50 +04:00
Ekaterina Tuzova 98f6f3c003 fixed PY-3295 "Convert single-quoted string to double-quoted string" intention changes the meaning of the code on escaped backslahes 2011-04-14 15:48:59 +04:00
Ekaterina Tuzova 94af316f43 fixed PY-3094 Intention to transform conditional expression into if/else statement 2011-03-15 16:21:48 +03:00
Ekaterina Tuzova 1eceb898e6 added PY-2697 Quickfix to transform a triple-quoted multiline literal into a literal with many quoted strings 2011-03-03 13:11:56 +03:00
Ekaterina Tuzova d598c1fefa fixed PY-2970 Join 2 if's intention alters behavior of code 2011-02-21 11:19:19 +03:00
Ekaterina Tuzova 5dbe9b9c95 fixed PY-2915 Convert double-quoted string to single-quoted string: breaks code in case of escaped characters 2011-02-11 18:20:43 +03:00
Ekaterina Tuzova 7513dbe546 fixed PY-2873 PyDictLiteralFormToConstructorIntention breaks code if there are key named as python keyword 2011-02-07 20:58:32 +03:00
Ekaterina Tuzova 872ad54f14 fixed memory leak in ConvertVariadicParamIntention. 2011-01-26 14:07:39 +03:00
Ekaterina Tuzova 03f04c515e fixed failed tests. 2011-01-23 15:47:43 +03:00
Ekaterina Tuzova aebad6f0db fixed PY-2689 Convert double-quoted string to single-quoted string: loses data with multi-line strings 2011-01-14 15:14:56 +03:00
Ekaterina Tuzova 42375bc9fc added tests for PY-2264 2011-01-13 15:06:18 +03:00
Ekaterina Tuzova ec2be1db09 fixed PY-2656 "Convert double quoted string to single quoted" intention incorrectly changes escaped quotes inside the string 2011-01-10 17:00:48 +03:00
Ekaterina Tuzova f281c63ad9 fixed PY-2583 wrong list comprehension to for loop 2010-12-22 15:45:13 +03:00
Dmitry Cheryasov ca79da6981 Merge branch 'master' of git.labs.intellij.net:idea/ultimate
python/codeInsight/intentions/PyJoinIfIntention.java: notice outer 'else'.
2010-12-21 02:11:29 +02:00
Ekaterina Tuzova b54b224a2f fixed PY-2516 Split into 2 ifs: broken code with suites on the same line to if and else clauses 2010-12-20 16:03:41 +03:00
Ekaterina Tuzova 592e92976e fixed PY-2517 Split into 2 ifs: don't duplicate comments 2010-12-20 15:24:54 +03:00
Ekaterina Tuzova f0462870a6 fixed failed test (convert lambda) 2010-12-14 20:18:03 +03:00
Ekaterina Tuzova 9c8b0f3678 fixed tests (CreateFunctionQuickFix, LambdaToFunctionIntention) 2010-11-29 20:06:01 +03:00
Ekaterina Tuzova 77358c21a5 added (PY-1242) Refactoring: Convert lambda to function 2010-11-26 14:47:45 +03:00
Ekaterina Tuzova e89da8ea58 separated dictConstructor intention into 2 intentions (back and forth) 2010-11-25 14:15:20 +03:00
Ekaterina Tuzova 99d32d0cd5 added (PY-1589) Intention to convert between single-quoted and double-quoted strings 2010-11-25 13:59:52 +03:00
Ekaterina Tuzova 8a0514d6c8 added (PY-1405) PyCharm could handle translation back and forth between literal dict and dict(**kwargs) 2010-11-24 19:56:20 +03:00
Ekaterina Tuzova 72322c3c64 added (PY-1406) Missing "join ifs" intention 2010-11-24 16:20:25 +03:00
Ekaterina Tuzova 9c87888a0b added tests for ReplaceListComprehensionWithFor intention 2010-11-23 17:35:13 +03:00
Konstantin Bulenkov 4d8bc82927 CRLF 2010-10-28 14:43:15 +04:00
Dmitry Jemerov fdd79f9e50 testdata discoverability, adjust expected formatting 2010-10-27 14:02:59 +04:00