Commit Graph
182069 Commits
Author SHA1 Message Date
Anna.Kozlova b5efcf9fc7 EA-90451 - assert: MultipleRootsMoveDestination.getOrCreateDirectoryForSource 2016-10-25 14:14:57 +02:00
Rustam Vishnyakov fc68c6914f Another fix for indent after semicolon for var statement with line comments 2016-10-25 15:01:03 +03:00
Rustam Vishnyakov c5accce16a FIXED WEB-23872 JavaScript Indentation Problem with "var" over multiple lines 2016-10-25 15:01:03 +03:00
Roman Shevchenko 8994ce1285 Cleanup (warnings) 2016-10-25 13:55:01 +02:00
Daniil Ovchinnikov 9298637d8f Merge branch 'dany/groovy-logback' 2016-10-25 14:44:17 +03:00
Valentina Kiryushkina f2fd719721 Fix PY-8938 PEP 8: line too long quick fix doesn't exist (at least for strings)
Use "Fill Paragraph" action instead of "Reformat File" for too long lines
2016-10-25 14:36:04 +03:00
Aleksey Pivovarov 2c1f500f97 vcs: remove unnecessary inheritance 2016-10-25 14:25:13 +03:00
Semyon Proshev 539d3058bb PY-11208 Fixed: False positive for mock.patch.object
Update PyStdlibClassMembersProvider to provide more members for unittest.mock.patch
2016-10-25 14:24:18 +03:00
Tagir Valeev e5c3eee6b1 StreamApiMigrationInspection: var scope removed (IDEA-CR-14823) 2016-10-25 18:22:15 +07:00
Valentin Fondaratov d126ce71da Merge remote-tracking branch 'origin/master' 2016-10-25 14:06:35 +03:00
Yaroslav Lepenkin 8c52bd3f9c [Parameter Name Hints] refactoring, removed language field from hints provider extension 2016-10-25 13:59:44 +03:00
Alexey Kudravtsev 2bc1a4e421 hack to allow ill-configured projects where libraries depend on project classes to find usages of these classes in libraries: IDEA-99773 Find usages CTRL-ALT-F7 does not have scope Project & Libraries anymore 2016-10-25 13:45:05 +03:00
Alexey Kudravtsev 5dab63b25c cleanup 2016-10-25 13:45:05 +03:00
Alexey Kudravtsev 9b4c2e95bc data race when HighlightingSession disposed but HighlightingSessionImpl.myAddHighlighterInEDTQueue didn't apply all its highlighters yet 2016-10-25 13:45:05 +03:00
Alexey Kudravtsev 12c6075874 debug log is always expanded on TeamCity: yet another attempt 2016-10-25 13:45:05 +03:00
Dmitry Batrak 278de8c92b EA-79704 - Throwable: DebugUtil.currentStackTrace 2016-10-25 13:29:07 +03:00
Egor.Ushakov 5fbd5fb220 refactoring to prepare compiling evaluator caching 2016-10-25 13:27:33 +03:00
Roman Shevchenko 54a62c5bf2 [java] module files change tracker - dumbing down (IDEA-CR-14933) 2016-10-25 11:52:17 +02:00
Alexander Lobas de1fe1a140 IDEA-157763 Settings repository for IDE: new server API (file storage) 2016-10-25 12:47:07 +03:00
Valentin Fondaratov 17e3951a1f Merge branch 'ruby-attach-to-process' 2016-10-25 12:22:19 +03:00
Maxim.Mossienko 375addfd98 library for Apache Commons 2016-10-25 11:19:25 +02:00
Anna.Kozlova 4f4064d0b0 junit: check if annotation is meta annotation with nested desired one instead of searching for all annotations which include current (optimisation as there are too many @Test annotations) 2016-10-25 11:16:32 +02:00
Anna.Kozlova ef226eb743 remove incorrect assertion
EA-89237 - assert: SrcFileAnnotator$HighlightersCollector.collect
2016-10-25 11:16:32 +02:00
Anna.Kozlova fb3e5639a2 fix testdata 2016-10-25 11:16:32 +02:00
Roman Shevchenko 53d943dfec Cleanup (dead code; warnings; formatting) 2016-10-25 11:12:29 +02:00
Sergey Malenkov 5602dbc6d0 IDEA-162169 Unwanted editor autoscrolling down when dragging selected text 2016-10-25 12:09:26 +03:00
peter a79b2f361e lookup preview fixes
don't invoke runForEachCaret recursively
don't show preview when there's selection or in-place refactoring without selection
2016-10-25 10:53:51 +02:00
Elizaveta Shashkova 4f89d84aab Add folding for start message with Python interpreter information in Python Console and Debug console (PY-20614) 2016-10-25 11:44:24 +03:00
Roman Shevchenko ce8fb3d7c3 [build] drops obsolete perm. gen. option 2016-10-25 10:26:24 +02:00
Roman Shevchenko 67c453c326 [platform] unneeded 'invokeLater()' call - revert
The second call is needed to handle the event queue switch.
2016-10-25 10:23:23 +02:00
nik f367d0c436 build scripts cleanup: obsolete unused gant scripts removed 2016-10-25 10:56:56 +03:00
nik 3ac1b3276a build scripts cleanup: obsolete unused methods from layouts.gant files are removed 2016-10-25 10:45:21 +03:00
Dmitry Batrak d4b8dab057 improve exception's description message 2016-10-25 10:24:42 +03:00
Tagir Valeev c8b125fb65 IDEA-163051 "Replace inefficient Stream API call chains ending with count()": fix leaves redundant casts
IDEA-163050 "Replace inefficient Stream API call chains ending with count()": highlighting
2016-10-25 12:27:51 +07:00
Tagir Valeev 6e3d0c6c0e IDEA-163082 "can be replaced with addAll" inspection suggests a recursive call; support "this" qualifier for collect/addAll conversion 2016-10-25 11:38:24 +07:00
Tagir Valeev 4ce59ee865 Stream API Migration: do not add type arguments if a type is a wildcard type 2016-10-25 11:10:08 +07:00
Mikhail Golubev 0a312354c7 PY-17265 Consistently pre-select the last component in the target module path
Namely, do it in DialogWrapper.init() instead of somewhat unreliable
UiNotifyConnector.doWhenFirstShown() and use special
DialogWrapperPeer.HAVE_INITIAL_SELECTION key so as not to lose
selection in the focused text field.
2016-10-25 00:03:49 +03:00
Mikhail Golubev cd45e79ab2 PY-17265 Placement of inserted function is consistent with Move refactoring
Namely, if a function is being moved to another file it will be
inserted at its end unless there is a top-level usage of it. In this
case the generated function will be inserted right before the first
such usage so as not to produce unresolved references. If function
stays in the same file, it will be inserted after its original parent
statement i.e. another function or a class, again if there is no
conflicting usages.
2016-10-25 00:03:49 +03:00
Mikhail Golubev 19eee0612a Use Python 3.6 as the language level for .pyi stubs 2016-10-25 00:03:49 +03:00
Mikhail Golubev a9df3a51ce PY-21147 Don't override MoveHandlerDelegate#doMove() method in PyMoveSymbolDelegate 2016-10-25 00:03:49 +03:00
Mikhail Golubev 3ec968e251 PY-21147 Don't use targetContainer param of doMove for destination path
It seems to be specified only when Move refactoring is launched outside
of the editor (according to MoveHandler's implementation) and this
refactoring doesn't support such way to run it anyway
2016-10-25 00:03:49 +03:00
Mikhail Golubev 248ee0e44b PY-17265 Do not search for a movable function or a reference to it under the caret manually
It was necessary when "Make  ... Top-Level" was a general refactoring
action, but now by MoveHandler's machinery takes care of it.
2016-10-25 00:03:49 +03:00
Mikhail Golubev 749221f704 Remove $0 suffixes from some property keys in PyBundle
Apparently, they couldn't have been resolved because of them.
2016-10-25 00:03:49 +03:00
Mikhail Golubev 4ccbf4b236 PY-17265 Show qualified names of symbols in move dialogs if possible 2016-10-25 00:03:49 +03:00
Mikhail Golubev ba23c01e00 PY-17265 Better descriptions in "Make ... Top-Level" dialog
Now they are consistent with those in existing "Move Module Members"
dialog.
2016-10-25 00:03:49 +03:00
Mikhail Golubev f6bb502160 PY-17265 Return the test that checks that refactoring is available 2016-10-25 00:03:49 +03:00
Mikhail Golubev 5090a3ccbb PY-17265 Add missing test on handling imports for moved local function 2016-10-25 00:03:49 +03:00
Mikhail Golubev 8e305e0c5f PY-17265 Cleanup related to transition to Java 8
Not all results of refactorings like transforming anonymous classes
into lambdas and replacing explicit type parameters with diamonds where
applied during rebase on the updated master.
2016-10-25 00:03:49 +03:00
Mikhail Golubev 1f256950cb PY-17265 Remove wrong message in the dialog for making function top-level 2016-10-25 00:03:49 +03:00
Mikhail Golubev 5483b7771b PY-17265 Extract methods PyRefactoringUtil#selectUniqueName and #selectUniqueNameFromType 2016-10-25 00:03:49 +03:00