Commit Graph
205695 Commits
Author SHA1 Message Date
peter 44a2ffa2ff JavaKeywordCompletion: simplify
make short code out of long ElementFilters
remove dead logic
cleanup unused filters
also fixes IDEA-179855 Double "final" suggestion after annotation
2017-10-13 09:49:22 +02:00
peter 100ad715f8 EA-109160 - assert: StubProcessingHelperBase.handleNonPsiStubs
accept that some view providers may be different than during indexing
and use JavaSourceFilterScope to access Java stubs to avoid querying those view providers at all
2017-10-13 09:49:21 +02:00
Yaroslav Pankratyev 9b2c0b4e8c Replace assert with Logger#assertTrue in InspectionEngine + javadoc improvements 2017-10-13 14:43:12 +07:00
Egor Ushakov 767ac4f1a6 IDEA-180561 VirtualMachineProxy classesByName and allClasses may be outdated - workaround for 173 2017-10-13 10:34:42 +03:00
Tagir Valeev 7b6bf35b08 IdempotentLoopBodyInspection: empty condition in for loop is allowed
Review ID: IDEA-CR-25479
2017-10-13 14:31:30 +07:00
Alexey Ushakov 553e4d05f2 IDEA-174258 Painting progress bars eats CPU
Fixed minor quality issues
2017-10-13 10:16:23 +03:00
Tagir Valeev f53739cfbc DeleteSideEffectsAwareFix: myNotAvailable (IDEA-CR-25353) 2017-10-13 13:39:55 +07:00
nik 1708028f67 build process: add Guava to classpath
org.apache.maven.repository.internal.DefaultModelResolver used by aether-dependency-resolver depends on Predicate from Guava (IDEA-180556).
2017-10-13 09:24:10 +03:00
Tagir Valeev 14759e531a IDEA-180417 Generated code ("Replace with collect") is invalid follow-up
Fixed for groupingBy as well
2017-10-13 13:12:17 +07:00
Tagir Valeev 59c3fd672a IDEA-180417 Generated code ("Replace with collect") is invalid 2017-10-13 13:04:12 +07:00
Tagir Valeev 326b6c5ba0 Idempotent loop body inspection
Fixes IDEA-180227 Better infinite loop detection
2017-10-13 12:53:40 +07:00
Tagir Valeev d4d37d0c73 String.valueOf: annotated as pure 2017-10-13 12:31:55 +07:00
Anton Tarasov 0f7289c331 Updating versions of project dependencies: jdkBuild->u152b1038.3
Anton Tarasov
2017-10-12 23:35:20 +03:00
Dennis Ushakov 91bd862fca Revert "collect dangling whitespaces and data characters under xmlText (WEB-28313)"
This reverts commit 2b99edb
2017-10-12 22:44:04 +03:00
Dennis Ushakov 103b05cebf Revert "split xml text out of tags on whitespaces"
This reverts commit c003f3c
2017-10-12 22:44:04 +03:00
Gregory.Shrago 9399676ce5 remove excessive blinking in classic mode 2017-10-12 22:17:22 +03:00
Gregory.Shrago 3bb951c160 run jpa tests in jpa-tests classpath 2017-10-12 21:33:23 +03:00
Pavel Dolgov e5c4f4f92c Java: Cleanup after review - don't directly use UserDataHolderBase (IDEA-179924, IDEA-180107) 2017-10-12 21:29:02 +03:00
peter f1619e0926 ant: don't commit documents inside cell renderer (EA-109138 - assert: PsiDocumentManagerBase.commitAllDocuments) 2017-10-12 20:24:35 +02:00
peter 722f148029 runSnapShooterSession in a write-safe context (EA-109224 - assert: PsiModificationTrackerImpl.fireEvent) 2017-10-12 20:24:35 +02:00
Sergey Simonchik 5d05ab6d98 platform: normalize descriptor paths to find paths starting with './'
That will sync behavior of IDE started from sources (where descriptors are loaded from files) and built IDE (where descriptors are loaded from jar files).
Also, that will allow to specify paths uniformly in `xi:include` and `depends`, e.g.
  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="./jest.xml" xpointer="xpointer(/idea-plugin/*)"/>
  <depends optional="true" config-file="./jest-coverage.xml">com.intellij.modules.coverage</depends>
2017-10-12 21:13:36 +03:00
peter 94adcce99f infer nested foreach parameter nullability (IDEA-175736) 2017-10-12 20:02:39 +02:00
peter 4eb2fe474e hardcode Map#get as having unknown nullity (IDEA-176626)
until we have a better solution
2017-10-12 20:02:39 +02:00
peter 6551b38303 IDEA-179934 Action "Complete current statement" introduces incorrect code 2017-10-12 20:02:38 +02:00
Roman Shevchenko ae87aafbfb Cleanup (formatting) 2017-10-12 19:59:54 +02:00
Roman Shevchenko 4b18244848 [java] normalizes line separators in @argfile popup (IDEA-180520) 2017-10-12 19:58:23 +02:00
Anna.Kozlova 2f1a299401 captured of non-proper wildcard can't be used as solving bound (IDEA-180042) 2017-10-12 19:38:49 +02:00
Anna.Kozlova f253087643 bring var to scope: disabled for resource variables (IDEA-180436)
EA-61004 - assert: BringVariableIntoScopeFix.invoke
2017-10-12 19:38:49 +02:00
Anna.Kozlova 0056220d8b generic throwable: detect generics through ancestors (IDEA-179958) 2017-10-12 19:38:48 +02:00
Nicolay Mitropolsky dd845bfea7 UAST: full sources reformatting 2017-10-12 20:35:49 +03:00
Gregory.Shrago 1dc63be083 handle Done promises correctly 2017-10-12 20:29:33 +03:00
Gregory.Shrago df6616eb4e do not log PCE 2017-10-12 20:29:33 +03:00
Dmitry Trofimov 70ee4d2d60 Introduce a separate property to debug prebuilt indices 2017-10-12 19:25:02 +02:00
Sergey Malenkov f8e5f809d4 add experimental editor's thumb on windows 2017-10-12 20:10:03 +03:00
Nicolay Mitropolsky 6939270c13 UAST: javaPsi set to null for UIdentifier 2017-10-12 20:06:19 +03:00
Roman Shevchenko eeb2a59dcb [java] Javadoc generation in modular projects; part 1 (IDEA-179255) 2017-10-12 19:00:22 +02:00
Alexander Koshevoy 6022f0804d Timeout on waiting for server thread to die in Py console tests added
The timeout added to avoid hanging of Python console tests.
2017-10-12 19:51:15 +03:00
nik f8d4504e5e Revert: Updating versions of project dependencies: jdkBuild->u152b1038.1
To fix compilation.
2017-10-12 19:48:46 +03:00
Nadya Zabrodina f43c66079b branchPopup: IDEA-146047 Allow to paste branch name into Branches popup 2017-10-12 19:41:23 +03:00
Sergey Ignatov 0c5b3b8857 EA-109172 - NPE: NamedStubBase.getName 2017-10-12 19:30:50 +03:00
Dennis Ushakov c003f3c591 split xml text out of tags on whitespaces 2017-10-12 19:16:34 +03:00
Alexander Zolotov 476bb7db0b Rename method as suggested in IDEA-CR-25191 2017-10-12 19:03:39 +03:00
nik b2019a1bc0 build process: ignore information about changes from IDE if there are unloaded modules
Otherwise it may incorrectly skip build because unloaded modules aren't monitored by IDE (IDEA-180530).
2017-10-12 19:00:37 +03:00
Ilya.Kazakevich 6cbe574032 PY-23570: Do not produce python test configuration for non-python files
If file is not PyFile there is not reason to check it for test elements.
2017-10-12 18:28:35 +03:00
Kirill Kirichenko eb7c7e5469 AbstractPopup.showInCenterOf regression fixed 2017-10-12 17:48:11 +03:00
Aleksey Pivovarov 6928cbed1f IDEA-120858 dir-diff: do not apply changes on Enter if focus is in Editor 2017-10-12 17:40:03 +03:00
Aleksey Pivovarov ca282c5d08 diff: extract base class for DiffRequestChain 2017-10-12 17:32:26 +03:00
Aleksey Pivovarov a6e33405f4 vcs: fix "Go To Change" action in diff from apply patch dialog
follow-up: 4583b38f07
2017-10-12 17:32:26 +03:00
Alexandr Evstigneev a8c7929e59 Added file path information to the error message 2017-10-12 17:22:42 +03:00
Alexander Koshevoy dc35a1a431 Python console test failures fixed
`PydevConsoleCommunication.waitForTerminate()` method did not work because of untimely nullification of `WebServer.listener` field in `WebServer.shutdown()` method. It is replaced with `PydevConsoleCommunication.closeAsync()`.
2017-10-12 17:12:06 +03:00