Mikhail Golubev
77b11662fa
PY-2903 Take into account preceding comments when picking place for extracted method
...
Interestingly, test existed already but was disabled a long ago.
2015-04-02 20:08:32 +03:00
Mikhail Golubev
44a69caf26
Cleanup in PyExtractMethodUtil
...
* Added missing annotations
* Made local variables final where possible
* Removed trivial checks
* Removed obsolete links from JavaDoc
* Use StringUtil#join where possible
2015-04-02 20:08:32 +03:00
Mikhail Golubev
901fdc328f
Remove unused properties for "Extract Method" from PyBundle and add several new ones
...
Also I dropped common wordy prefix "cannot.perform.refactoring" from
their names where possible.
2015-04-02 20:08:31 +03:00
Mikhail Golubev
db4701a2d8
Slightly refactor PyExtractMethodHandler
...
* Renamed PyPsiUtil#getStatement to PyPsiUtil#getParentRightBefore as
this name more clearly describes method's functionality.
* Return Couple<PsiElement> instead of awkward two-items array or
PsiElements.
2015-04-02 20:08:31 +03:00
Mikhail Golubev
501ca0025a
PY-7753 Do not add global statement for written variables that are not used outside selection
...
Also I added several missing @NotNull annotations.
2015-04-02 20:08:31 +03:00
Dmitry Batkovich
78702584f0
usages of deprecated methods replaced
2015-04-02 20:06:37 +03:00
Dmitry Batkovich
15f3983f84
ResourceBundleEditor cleanup
2015-04-02 20:03:00 +03:00
Andrey Vlasovskikh
5dadb7fb07
Merge remote-tracking branch 'origin/master'
2015-04-02 19:55:41 +03:00
Andrey Vlasovskikh
9af55b7087
Added 'typing.FrozenSet' as an alias to 'frozenset' (PY-15206)
2015-04-02 19:55:00 +03:00
Dmitry Batkovich
c3f294867f
IDEA-86919 navigate to the next incomplete property in resource bundle
2015-04-02 19:52:29 +03:00
Ekaterina Tuzova
e54b0ef049
PY-15282 Numpy: Function doesn't return anything: false positive for tensordot
...
function could return value even if it's not declared
2015-04-02 19:42:33 +03:00
Ekaterina Tuzova
e30a317448
PY-15287 Numpy: Tuple assignment balance is incorrect: false positive for slogdet: invalid type detected for the return value
2015-04-02 19:42:33 +03:00
Ekaterina Tuzova
f4ff6c2a78
PY-15286 Numpy: Tuple assignment balance is incorrect: false positive for unique: return type is not detected properly for optional return parameters
2015-04-02 19:42:32 +03:00
Ekaterina Tuzova
8ab0661bc1
PY-15298 Numpy: Type Checker: do not higlight argument equal to default as unexpected type
...
keyword argument
2015-04-02 19:42:32 +03:00
Ekaterina Tuzova
5322847963
test PY-15302 Numpy: TypeChecker: false positive for random.rayleigh: expand scalar type with ndarray
2015-04-02 19:42:31 +03:00
Ekaterina Tuzova
c2490f8114
test PY-15304 Numpy: TypeChecker: overstrict check for the order param in sort method
2015-04-02 19:42:31 +03:00
Ekaterina Tuzova
6a253e178b
PY-15298 Numpy: Type Checker: do not higlight argument equal to default as unexpected type
...
do not check type for argument equals default
2015-04-02 19:42:30 +03:00
Ekaterina Tuzova
c5255cc253
added tests for PY-15295
2015-04-02 19:42:30 +03:00
Ekaterina Tuzova
ee45301b11
PY-15295 Numpy: allow passing list arguments for tuple expected types
...
treat all collections as iterable
2015-04-02 19:42:29 +03:00
Ekaterina Tuzova
60d853e324
PY-15296 Numpy: allow passing all sequence types for array and array-like parameters
...
special-cased all "size" params, because numpy arrays coud have ndim=(1,) so it should be possible to pass int as size
2015-04-02 19:42:29 +03:00
Ekaterina Tuzova
6c468c099b
PY-15296 Numpy: allow passing all sequence types for array and array-like parameters
...
replace every occurence with real type name
2015-04-02 19:42:28 +03:00
Ekaterina Tuzova
493e762adc
PY-15296 Numpy: allow passing all sequence types for array and array-like parameters
...
one can pass iterable instad of array and vice versa
2015-04-02 19:42:28 +03:00
Ekaterina Tuzova
e1d916dd04
PY-15302 Numpy: TypeChecker: false positive for random.rayleigh: expand scalar type with ndarray
...
added ufunc rules
2015-04-02 19:42:27 +03:00
Ekaterina Tuzova
bdd5cf9cc4
properly refresh file system on getVirtualFileByName
2015-04-02 19:42:27 +03:00
Sergey Malenkov
588427be73
Configurable refactoring: build tree of configurable (tested)
2015-04-02 19:18:43 +03:00
Maxim.Mossienko
2bafe3458e
make visitedRoot to be concurrent set
2015-04-02 18:14:36 +02:00
Anna Kozlova
80e3760c69
redundant cast: ensure lambda return statements are not mixed with those from containing method (IDEA-138724)
2015-04-02 18:06:41 +02:00
Anna Kozlova
3b40026df9
testdata for IDEA-138696
2015-04-02 18:06:40 +02:00
Anna Kozlova
c08649b355
new overload resolution: avoid second conflict resolution for the same conflicts, e.g. because resulted array would be available inside guard of ResolveCache (IDEA-138596)
2015-04-02 18:06:39 +02:00
Aleksey Pivovarov
a32b8f4aad
IDEA-135671 diff: better painting in gutter
...
Paint half of folding outline in gutter like it is a part of editor
2015-04-02 18:33:26 +03:00
Andrey Vlasovskikh
8fee2e3fb9
Merge branch 'typing-comments'
2015-04-02 18:23:01 +03:00
Andrey Vlasovskikh
8894ce938a
Infer types from '# type: ...' comments as in PEP 484 (PY-15206)
2015-04-02 18:19:31 +03:00
Dmitry Avdeev
306692ff9e
IDEA-138603 "From File Template" is not always available
2015-04-02 17:35:38 +03:00
Konstantin Bulenkov
740bb5d684
fix IDEA-137876 File switcher shows recent files instead of opened files
2015-04-02 16:33:02 +02:00
Dmitry Batkovich
4baf8a9561
IDEA-138456 inspection to replace collections.addAll() with properly parametrized constructor.
2015-04-02 17:12:41 +03:00
Vladimir Krivosheev
e290ce817c
probably fix WEB-14539 Node.js debugging step buttons (over, into, etc) don't work
2015-04-02 15:57:42 +02:00
Mikhail Golubev
246d671e39
PY-15447, PY-15448 Fix help ID in several Python refactorings
...
* Added help IDs for "Extract Superclass" and "Push Members Down"
* Changed help ID in "Introduce Variable"
2015-04-02 16:36:00 +03:00
Mikhail Golubev
987fdbcdac
PY-15342 Call getFirstChild instead of getLastChild in PyPsiUtil#deleteAdjacentCommaWithWhitespaces
2015-04-02 16:36:00 +03:00
Bas Leijdekkers
5d177ab16a
IDEA-138606 ("Result of '...' not thrown" false positive if case of simple getter)
2015-04-02 15:35:29 +02:00
Vladislav.Soroka
b269474c62
maven: notification added about usage Maven 3.3.1 with JDK version less than 1.7;
...
related issues: IDEA-138661 Can't reimport Maven project with Maven 3.3.1
2015-04-02 15:57:58 +03:00
nik
2fd6303551
decompiler plugin: use 'depends' tag instead of 'module' to specify dependency on a platform part ('module' tag is used to define a module)
2015-04-02 15:50:55 +03:00
Bas Leijdekkers
3595416fe5
IDEA-138531 (Inspection "Field name hides field in superclass" should optionally ignore static fields.)
2015-04-02 14:17:48 +02:00
Maxim.Mossienko
e5c344acca
enable idea.concurrent.scanning.files.to.index back, after fix and remote run
2015-04-02 13:56:21 +02:00
Maxim.Mossienko
31a64e59c4
better structure after review results
2015-04-02 13:55:14 +02:00
Aleksey Pivovarov
fde7f6a333
IDEABKL-4550 diff: show whitespace-only changes in gutter
...
* enabled Smart mode by-default
* allow to change mode from settings
2015-04-02 14:30:34 +03:00
Aleksey Pivovarov
7179d77c5d
diff: better description
2015-04-02 14:28:15 +03:00
Aleksey Pivovarov
eef7614592
diff: better colors for whitespace-only changes
2015-04-02 14:23:02 +03:00
Eugene Zhuravlev
29c0dea65a
IDEA-137568 Signature change may not trigger re-compilation of dependencies; code review follow-up
2015-04-02 14:06:57 +03:00
Bas Leijdekkers
aab9647a98
SSR: search in embedded and injected languages (experimental)
2015-04-02 11:37:40 +02:00
Bas Leijdekkers
5723951fe3
SSR: replace LinkedList with ArrayList
2015-04-02 11:37:39 +02:00