Commit Graph

1289 Commits

Author SHA1 Message Date
Ekaterina Tuzova
25c85acb6a fixed PY-6994 Paste leads to syntactically incorrect code in case pasting copied text instead of selection 2012-08-02 14:30:01 +04: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
8f303236f0 fixed PY-6995 Extra indents when pasting code with non-rectangle selection between top-level statements 2012-07-31 16:54:44 +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
Andrey Vlasovskikh
dafa3f8e8c Merge branch 'python-fixes' 2012-07-24 14:25:38 +04:00
Andrey Vlasovskikh
2f4bd0674e Don't show warnings for unused imports listed in __all__ (PY-2668) 2012-07-24 14:01:33 +04:00
Andrey Vlasovskikh
4552393135 Don't show warnings for unused imports of sub-modules inside a package (PY-2668) 2012-07-24 13:27:01 +04:00
Andrey Vlasovskikh
af7301f11c Fixed false positive in unresolved references for qualified references of values returned by imported functions (PY-7022) 2012-07-23 22:36:22 +04:00
Andrey Vlasovskikh
ad37ddbc67 Try to resolve a class-level name in the outer context if it exists, but it is not found in the latest defs (PY-6540) 2012-07-23 21:24:00 +04:00
Andrey Vlasovskikh
55383be850 Fixed unresolved reference for reassignment of a variable after star import (PY-7026) 2012-07-23 20:15:22 +04:00
Ekaterina Tuzova
96f59f6f6a fixed test data 2012-07-23 15:14:10 +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
6aa655c180 logic for indenting after pasting does not based on copying now
PY-6884, PY-6965, PY-6966, PY-6907
2012-07-16 19:18:49 +04:00
Ekaterina Tuzova
b1b3bccf2e Merge remote-tracking branch 'origin/master' 2012-07-12 14:49:53 +04:00
Ekaterina Tuzova
98e5444553 fixed PY-6884 Paste changes code logic in case empty line inside indented block 2012-07-12 14:06:58 +04:00
Ekaterina Tuzova
ec5c008967 fixed PY-6889 Incorrect indent on pasting class method on module-level right after the class itself 2012-07-11 20:59:36 +04:00
Andrey Vlasovskikh
97026d7d54 Merge branch 'python-fixes' 2012-07-11 20:56:01 +04:00
Andrey Vlasovskikh
a60a5c868d Improved code insight for simple assignments in PSI stubs (PY-4748, PY-6116, PY-4306) 2012-07-11 20:47:29 +04:00
Ekaterina Tuzova
4775d2a6f5 fixed PY-6907 Paste leads to syntactically incorrect code in case of dedent in copied text 2012-07-11 18:45:11 +04:00
Ekaterina Tuzova
05e4fb3e28 fixed PY-6927 Paste always pastes copied text to the second indent level regardless caret position when pasting to the end of the function 2012-07-10 19:50:26 +04:00
Ekaterina Tuzova
9d28280928 fixed PY-6928 Paste inserts code one line after caret and messes up code in case for as the last compound statement in function
PY-6907 Paste leads to syntactically incorrect code in case of dedent in copied text
2012-07-10 19:08:10 +04:00
Ekaterina Tuzova
326ac10754 Merge remote-tracking branch 'origin/master' 2012-07-09 13:17:36 +04:00
Ekaterina Tuzova
ff1984c976 fixed PY-6886 Paste leads to syntactically incorrect code with caret beyond actual indent 2012-07-06 18:29:35 +04:00
Andrey Vlasovskikh
294e7381f2 Updated package requirements inspection test 2012-07-06 16:43:59 +04:00
Ekaterina Tuzova
84cf35f70e fixed PY-6887 Paste changes code logic when making top-level function inner 2012-07-06 15:41:59 +04:00
Ekaterina Tuzova
0bd83dfb36 fixed PY-6889 Incorrect indent on pasting class method on module-level right after the class itself 2012-07-06 14:28:28 +04:00
Andrey Vlasovskikh
bda1435682 Added fake __generator class for emulating <type 'generator'> (PY-6758) 2012-07-04 23:26:22 +04:00
Andrey Vlasovskikh
482f9403f0 Fixed wrong __init__ attribute in completion for packages (PY-6603) 2012-07-04 19:25:28 +04:00
Andrey Vlasovskikh
5f8c21a51d Merge branch 'python-fixes' 2012-07-03 21:14:13 +04:00
Andrey Vlasovskikh
2060c0c5f8 Fixed type inference for properties of objects created by factory functions (PY-6803) 2012-07-03 20:39:16 +04:00
Andrey Vlasovskikh
4140c25a7b Fixed wrong resolve to submodule instead of function with the same name (PY-6866) 2012-07-03 19:07:11 +04:00
Ekaterina Tuzova
469ce0ca36 fixed inner function bug in copy-paste 2012-07-03 15:41:27 +04:00
Andrey Vlasovskikh
c47f87d40d Fixed IntellijIdeaRulezzz in completion of qualified references in target expressions (PY-6829) 2012-07-03 15:04:37 +04:00
Ekaterina Tuzova
a67f912cc5 Smart copy-paste
fixed PY-6410 Adding/Pasting text at the end of a class method causes the next class method to be moved outside the class
2012-07-02 15:45:20 +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
802d9065c1 refixed PY-6589 2012-06-25 15:01:14 +04:00
Ekaterina Tuzova
4d95db91ba fixed PY-6548 @type in class docstrings does not recognize class variables 2012-06-21 12:21:03 +04:00
Ekaterina Tuzova
97e563120e fixed PY-6589 Unnecessary backslash in expression: false negative for double parenthesis 2012-06-21 10:07:43 +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
20f7fc5e16 fixed PY-6678 Assignment can be replace with augmented assignment: does nothing if there is a function in the assignment 2012-06-20 18:46:23 +04:00
Andrey Vlasovskikh
55803b0c21 Fixed false negative in parsing for empty 'if' in list comprehensions (PY-6781) 2012-06-15 20:43:26 +04:00
Ekaterina Tuzova
b8a17358e2 Merge remote-tracking branch 'origin/master' 2012-06-15 18:54:31 +04:00
Ekaterina Tuzova
106e6d415c fixed PY-6766 Compatibility inspection doesn't detect 'raise from' 2012-06-15 14:32:30 +04:00
Andrey Vlasovskikh
776196487a Fixed false negative in parsing incomplete 'raise ... from' expression (PY-6734) 2012-06-14 15:58:36 +04:00
Andrey Vlasovskikh
c28200769a Fixed false negative in parsing incomplete 'yield from' expression (PY-6733) 2012-06-14 15:32:24 +04:00
Ekaterina Tuzova
fb56ad53e1 Merge remote-tracking branch 'origin/master' 2012-06-14 13:39:12 +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
Dmitry Jemerov
9639c3950c no longer insert colon when completing keywords that require text before colon (PY-6709) 2012-06-11 15:30:01 +02:00
Andrey Vlasovskikh
11740d001b Allow 'return' with arguments inside generators in Python 3.3 (PY-6702) 2012-06-05 16:10:12 +04:00