Commit Graph
189356 Commits
Author SHA1 Message Date
Roman Shevchenko fa849e13f2 Cleanup (formatting) 2017-02-17 12:52:13 +01:00
Roman Shevchenko e085dbd4eb Merge remote-tracking branch 'origin/master' 2017-02-16 20:42:16 +01:00
Roman Shevchenko e57aeee8ea [java] provider() methods in module service implementations 2017-02-16 20:39:26 +01:00
Andrey Vlasovskikh 1bb7383c40 Run-time + static tests for Typeshed stubs 2017-02-16 22:00:14 +03:00
Roman Shevchenko 5dbcb82902 Cleanup (unneeded test line) 2017-02-16 19:12:09 +01:00
Vassiliy.Kudryashov 5de45801cf Add 'Stop' action to toolbar just after 'Run/Debug/...' actions 2017-02-16 21:07:45 +03:00
Alexander Lobas dd62c76c8b IDEA-91121 UML class diagram : note disappear / are not saved 2017-02-16 21:03:55 +03:00
Dmitry Batkovich df5e2d49c9 inspection settings: scheme can be null 2017-02-16 21:02:57 +03:00
peter daa8dd3eee java/groovy completion: load more class name variants when prefix is changed (IDEA-168079) 2017-02-16 18:46:53 +01:00
peter 848bcd5367 CompletionProgressIndicator: remove duplicate restarting conditions, restart in tests closer to the real life 2017-02-16 18:44:59 +01:00
peter 022a7e4400 return non-nearest source position in dumb mode (EA-96692 - INRE: FileBasedIndexImpl.handleDumbMode) 2017-02-16 18:39:52 +01:00
Roman Shevchenko d32bc8e9a7 [java] exports/opens target modules are optional 2017-02-16 18:25:49 +01:00
peter 945b60a693 run MvcProjectWithoutLibraryNotificator in smart mode (EA-97058 - INRE: FileBasedIndexImpl.handleDumbMode) 2017-02-16 18:24:29 +01:00
peter 17b84d812b no lambda type calculation in structure view in dumb mode (EA-97057 - INRE: FileBasedIndexImpl.handleDumbMode) 2017-02-16 18:20:38 +01:00
peter f97fb0eed6 don't commit too large or binary files (EA-96793 - assert: PsiDocumentManagerBase.documentChanged) 2017-02-16 18:18:56 +01:00
peter ee786f4696 fix completion in an empty custom-file-type file (EA-93679 - IOOBE: SegmentArrayWithData.getSegmentData) 2017-02-16 18:18:56 +01:00
Roman Shevchenko 644c490d86 [java] highlighting for 'opens' statements 2017-02-16 18:16:45 +01:00
Roman Shevchenko 9f94159536 Cleanup (warnings; formatting) 2017-02-16 18:16:37 +01:00
Semyon Proshev ad9ea4d7ed PY-22449 Fixed: Breadcrumbs are incorrect when caret placed after the last character of the block
Update BreadcrumbsXmlWrapper to use BreadcrumbsInfoProvider.getParent while searching for the first breadcrumbed element.
Update PyBreadcrumbsInfoProvider to return parent of the closest element before on the same line in case of white space, comma or close bracket.
2017-02-16 20:11:35 +03:00
Andrey Vlasovskikh 5e75109e80 Use shorter build path for Python Community plugin 2017-02-16 20:05:01 +03:00
Mikhail Golubev e9ff368877 EA-96559 Check that PSI file passed to JsonStructureViewBuilderFactory is JsonFile
Though it's not clear where it cannot be so since the structure view
builder is registered via language extension point (template files?).
2017-02-16 19:48:42 +03:00
Mikhail Golubev 562f7f513e PY-22692 Don't inject into comments of other languages taking them for Python type hints 2017-02-16 19:46:06 +03:00
cheptsov f91ae33941 IDEA-157490 Documentation for intentions and inspections 2017-02-16 17:28:11 +01:00
Andrey Vlasovskikh 861cf2dcc4 Added file with the list of built plugins 2017-02-16 19:26:30 +03:00
Egor.Ushakov abe3232cbf EA-89949 - PIEAE: LeafPsiElement.invalid 2017-02-16 19:23:46 +03:00
Egor.Ushakov 02ded6248d fixed editor background painting on new hidpi 2017-02-16 19:23:46 +03:00
peter 2288ca33c3 perform refactoring from preview in a transaction to prevent anyone from starting dumb mode during progresses (EA-93720 - INRE: FileBasedIndexImpl.handleDumbMode) 2017-02-16 17:18:29 +01:00
peter 3503f63a2a devkit settings: ask to delete old plugin dir outside write action (EA-97008 - assert: NoSwingUnderWriteAction.lambda$watchForEvents$) 2017-02-16 17:18:29 +01:00
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