Commit Graph
189322 Commits
Author SHA1 Message Date
Anna.Kozlova 71b7d9cbf3 don't duplicate type use annotations during copy of modifier lists (inspired by IDEA-166062) 2017-02-16 17:15:56 +01:00
Andrey Vlasovskikh 57c4f399d2 Ability to customize Python Community plugin layout 2017-02-16 19:07:29 +03:00
Anton Tarasov 2f6d377d98 [followup] Fix drag of scaled gutter icons
Extract image from CachedImageIcon to have JBHiDPIScaledImage if present
2017-02-16 19:01:43 +03:00
Maxim Kropotov a19ae2d30c js treats redundant escapes as their arg => don't stop processing injections on unknown sequence.
(avoid adding special logic for injections if some action inserts '\{' or sthg)
2017-02-16 18:59:08 +03:00
cheptsov db4592eb78 IDEA-157490 Documentation for intentions and inspections 2017-02-16 16:56:33 +01:00
Semyon Proshev 8fb5ea7d24 If reference points to property and property type could not be inferred, stop with "Any", don't do any further processing. 2017-02-16 18:52:17 +03:00
Konstantin Bulenkov 6639247319 Merge remote-tracking branch 'origin/master' 2017-02-16 16:47:23 +01:00
Konstantin Bulenkov 4cf58d199a Show error files in Switcher/Recent files popup 2017-02-16 16:38:44 +01:00
nik b76d6de8d0 project structure: fixed adding module node (IDEA-168026) 2017-02-16 18:38:41 +03:00
Nadya Zabrodina 66e40647a0 [vcs]: deprecate getRepositoryForFileQuick, add one missing usage
* use this deprecated method only as a deadlock quick fix solution;
* todo: if repository not found, but vcs vf root exists, add log.warn
 and start backgroundable repository creation process instead of using
 EDT; if mappings were changed and EDT started repository constructions
 -> we should manage this properly.
2017-02-16 18:30:04 +03:00
Kirill Likhodedov b70af5dab7 git tests: replace <br> with \n to simplify assertion
<br/> is already replaced, but it is ok to write <br> as well.
2017-02-16 15:27:16 +00:00
Kirill Likhodedov 29db96d3b9 Fix project leaks in VCS tests
Nullize fields before calling super.tearDown(), because the latter
analyzes the test for leaks.

clearFields intentionally doesn't affect the PlatformTestCase,
so the project will be correctly disposed in super.tearDown().

dumpTogToStdOut should be called before clearFields, otherwise
the myTestStartedIndicator gets null, and no output is dumped.
In this case we won't get this dump if super.tearDown() fails,
but it is not a big problem, since the whole DEBUG log is available
anyway.
2017-02-16 15:27:15 +00:00
Kirill Likhodedov 6c6ce2e1c6 Fix formatting in VcsPlatformTest 2017-02-16 15:27:15 +00:00
Kirill Likhodedov 6a23d203bf Revert "project leaks fixed"
This reverts commit 8e812ac6c6.

It is better to call clearFields instead of nullizing some fields
in different places. But clearFields just has to be called
in the right place, which will be done in the next commit.
2017-02-16 15:27:14 +00:00
nik 3539daee71 suppress incorrect inspection 2017-02-16 18:15:36 +03:00
nik c89fd9a154 code cleanup: explicit types replaced by diamonds in core modules 2017-02-16 18:15:35 +03:00
nik 550b087b34 code cleanup: simplify ThreadLocal creation using Java 8 API 2017-02-16 18:15:35 +03:00
nik 8776c24da5 code cleanup: simplify sorting and comparators using Java 8 features in core modules 2017-02-16 18:15:35 +03:00
Anton Tarasov 87a6c8dae2 IDEA-168315 Component.getGraphics() should not be used to get scale for the HiDPI API
Additionally: HiDPI API methods renaming.
2017-02-16 17:55:00 +03:00
peter 0c56ada8dd separate stub-psi mismatch when current state was indexed, and all other cases 2017-02-16 15:53:25 +01:00
peter 70df6dfc08 introduce RuntimeExceptionWithAttachments 2017-02-16 15:53:25 +01:00
peter bbf414d19b remove duplication from MakeClassFinalFix (IDEA-CR-18302) 2017-02-16 15:53:25 +01:00
Kirill Likhodedov a83e75cc5d Kotlinify GitPlatformTest: use service<> 2017-02-16 14:51:50 +00:00
Kirill Likhodedov f53649bbc7 Convert GitTestUtil to Kotlin 2017-02-16 14:51:50 +00:00
Kirill Likhodedov 1a360aec57 Rename Git test class to Kotlin 2017-02-16 14:51:49 +00:00
Aleksey Pivovarov 6779b93ce8 ui: stabilize action position in Keymap tree
This fix affects actions without default text/description
set in a plugin.xml or ActionsBundle.

Text/description might be initialised in AnAction constructor,
and thus be empty in StubAction.
Some ActionGroup might contain stub action, even if it was already loaded.

While collecting actions for "Other" group we will load non-stub version
of an action, and it will pass the filter.

Thus, prior to this fix, AnAction might change its place in a tree
depending on whether text filter was used or not.
And, in some cases, depending on the filter itself - as it could've match
internal action id.
2017-02-16 17:49:21 +03:00
Sergey Simonchik 4fdc027fa5 jest: don't depend in js.debugger.node.use.inspect (IDEA-CR-18283) 2017-02-16 17:45:29 +03:00
nik 9d7f1d57a9 anonymous classes converted to lambdas in core and java-psi modules 2017-02-16 17:30:47 +03:00
nik 2da44a8203 FileDownloader: fixed concurrency problem (EA-95126) 2017-02-16 17:30:47 +03:00
nik 2cf4045015 added diagnostics for cases when object of incorrect type returned by DataProvider (EA-93047) 2017-02-16 17:30:47 +03:00
nik 006d1e3927 create test: removed unnecessary write action (EA-91905) 2017-02-16 17:30:46 +03:00
Andrey Vlasovskikh 4d00b07cda Fixed NPE (PY-22739) 2017-02-16 17:07:26 +03:00
Dmitry Batkovich 003dbed6a2 inspection settings: avoid npe 2017-02-16 17:02:12 +03:00
Vladislav.Soroka e8384f8746 external system auto-import rework; npe fix 2017-02-16 16:59:02 +03:00
Dmitry Batrak 26f6347871 restore sending of diagnostic information (higlighter/lexer class) for EA-93442 - ISE: SegmentArray.segmentNotFound
cover one more place of exception occurrence
2017-02-16 16:51:42 +03:00
Vladislav.Soroka ebef09cdbb external system auto-import rework 2017-02-16 16:43:44 +03:00
Nadya Zabrodina d813819997 [vcs]: IDEA-168257 Deadlock in vcs
* do not call getRepository with possibly repository construction
 in update() methods for actions;
* Vcs repository creator call vfs refresh, which will be performed
 synchronously and will be stopped after semaphore.up method
will be called (from EDT!), thus if EDT is waiting for finishing
any process then this semaphore can't be released -> dead lock occured;
  Actually it's better not to call
 VcsRepositoryManager.checkAndUpdateRepositoriesCollection in EDT if
  modify.lock was taken by someone else.
2017-02-16 16:40:03 +03:00
Dmitry Batrak 31ca744e97 restore sending of diagnostic information (higlighter/lexer class) for EA-93442 - ISE: SegmentArray.segmentNotFound 2017-02-16 16:33:26 +03:00
Dmitry Batkovich bf214e4a7b inspection settings: request focus to the tree when description is applied (IDEA-165091) 2017-02-16 16:25:22 +03:00
Liana.Bakradze 5111f715f8 no python console tool window in plugin (EA-96867) 2017-02-16 16:12:28 +03:00
Pavel Dolgov 0a85d2a207 Java: Remove duplicates from the completion list for argument of getMethod(). Simplified priority in the argument completion for getField() and getMethod() (IDEA-167250) 2017-02-16 16:00:47 +03:00
Maxim Kropotov 926b28246f js multiline string literals consider '\n' escape sequence to be equivalent to actual newline.
When formatting injection, allow formatter to consider it same whitespace.
Fixes WEB-25477
2017-02-16 15:46:31 +03:00
Sergey Simonchik f652637513 remove UI-only method SyntheticLibrary.getName() in favor of implementing ItemPresentation (IDEA-CR-17846) 2017-02-16 15:45:17 +03:00
Sergey Simonchik 53f49e3745 remove UI-only method SyntheticLibrary.getName() in favor of implementing ItemPresentation (IDEA-CR-17846) 2017-02-16 15:44:22 +03:00
Dmitry Batrak 711ebc605d IDEA-168209 Quick doc window is not closed from the first attempt 2017-02-16 15:43:16 +03:00
Dmitry Batkovich 01995435db restore default constructor for excluded entries configuration (EA-94034) 2017-02-16 15:36:42 +03:00
Sergey Malenkov 12e18c8e16 use transparent scroll bars in editor by default 2017-02-16 15:26:22 +03:00
Daniil Ovchinnikov 59c2b5e23c [grails] add ability to skip creation of run configurations on startup
(IDEA-167889)
2017-02-16 15:20:32 +03:00
Anton Tarasov 5a5181f08b IDEA-168194 Huge gutter icons in latest 2017.1 EAP 2017-02-16 14:59:54 +03:00
Anna.Kozlova b3190ca053 fix testdata 2017-02-16 12:44:27 +01:00