Tagir Valeev
9fedf66ff5
GuessManagerImpl: support type constrains from DFA, various improvements
...
Partially fixes IDEA-181794 Suggest completion items with type casts in stream chains if there exists 'filter(x -> x instanceof Foo)' call
Fixes IDEA-182455 Code completion: resolve actual value type assigned to local variable
2017-11-21 11:00:54 +07:00
Gregory.Shrago
933b830de5
IDEA-CR-27104 introduce and employ treeNodeTraverser(); correct javadoc
2017-11-21 02:54:06 +03:00
Gregory.Shrago
52352c9351
IDEA-CR-27104 deprecate old traverse() methods in favour of treeTraverser()
2017-11-21 02:18:34 +03:00
Konstantin Bulenkov
449b38734d
use IntentionsCollector instead of ActionsCollector
2017-11-20 23:17:00 +01:00
Konstantin Bulenkov
61300d8073
Intentions collector (Quick fixes + Intentions)
2017-11-20 23:16:01 +01:00
Konstantin Bulenkov
62a10d73a6
fix keymap test
2017-11-20 22:43:45 +01:00
Roman Shevchenko
47dc4a0eca
[platform] deletes temp. files even when process creation fails
2017-11-20 18:05:37 +01:00
Roman Shevchenko
2f9ce8adea
[tests] temp. file handling in GeneralCommandLineTest
2017-11-20 18:03:06 +01:00
Aleksey Pivovarov
1f6040f776
IDEA-177584 merge: show analysis indicator (error stripe)
...
It was disabled because we used ScrollbarRepaintCallback to draw
chunks over scrollbar. Now we just use transparent scrollbar, so
this hack is no longer needed.
2017-11-20 19:58:38 +03:00
Aleksey Pivovarov
330e1df220
diff: remove unnecessary method parameter
2017-11-20 19:54:06 +03:00
Anna.Kozlova
0e4d9133b1
disable 'actual parameter is same' fix for params used for writing
2017-11-20 17:40:46 +01:00
Anna.Kozlova
6585de5155
don't inline parameter if write access was detected inside (IDEA-181348)
2017-11-20 17:40:46 +01:00
Anna.Kozlova
21a5aeef16
java find usages: ensure grouping order
2017-11-20 17:40:45 +01:00
Anna.Kozlova
f1d055e30c
push down: normalize field before copy is created (IDEA-182422)
...
otherwise initial field bundle won't be updated
2017-11-20 17:40:45 +01:00
Anna.Kozlova
14a7624a1e
insert standart severity into list based on order (IDEA-181962)
2017-11-20 17:40:45 +01:00
Anna.Kozlova
d58653b20f
forbid access through outer class for anonymous (IDEA-182430)
2017-11-20 17:40:45 +01:00
Anna.Kozlova
43b3159356
cast by instanceof: don't place caret for invalid code (IDEA-182373)
2017-11-20 17:40:45 +01:00
Eugene Zhuravlev
0a2fec2436
fix read access assertion
2017-11-20 17:29:56 +01:00
Sergey Simonchik
f365f97cbd
update selectedItem in addCurrentTextToHistory to sync getText() and getSelectedItem()
2017-11-20 19:25:42 +03:00
Alexander Zolotov
8a0df31800
Add a registry key that allows to suggest all run configuration available in the context
2017-11-20 19:19:25 +03:00
Alexander Zolotov
5ba1e59582
Upgrade Gradle wrapper
...
Since all unpackJdks tasks are run under Java 1.8 now, we can upgrade it
2017-11-20 19:19:25 +03:00
Rustam Vishnyakov
f2cf992f1d
Fixed Code Style API usage
2017-11-20 19:17:06 +03:00
Aleksey Pivovarov
63d0232a56
vcs: do not reference AnnotateRevisionAction from VcsVirtualFile
...
fix memory leak via FileDocumentManagerImpl.myDocumentCache (VirtualFile -> Weak<DocumentImpl>)
The chain AnnotateRevisionAction $ VcsVirtualFile ->
AnnotateRevisionAction ->
FileAnnotation ->
myReloader/myCloser ->
EditorImpl ->
DocumentImpl
linked value from the key, thus document could never be removed from myDocumentCache.
2017-11-20 19:01:49 +03:00
Egor Ushakov
c494e053ab
IDEA-72626 Debugger: scrolling different panel cancels editing watch
2017-11-20 18:57:59 +03:00
Maxim.Mossienko
45bfe36afe
changes after review IDEA-CR-26729
2017-11-20 16:55:17 +01:00
Roman Shevchenko
0321f507ed
[ui] better quotes paths for "Show in Explorer" action (IDEA-182423)
2017-11-20 16:50:32 +01:00
Eugene Zhuravlev
036ecf2e20
adjust error column position according to tab size from the current code style (IDEA-161153)
2017-11-20 16:22:48 +01:00
nik
2fd6200e0f
IDEA project configuration: added JCenter to list of JAR repositories
...
So we can use libraries which are uploaded to JCenter on Bintray but aren't published to Maven Central.
2017-11-20 18:11:43 +03:00
Rustam Vishnyakov
de695c9e53
LineIndentProvider JavaDoc [IC-CR-88]
2017-11-20 18:09:27 +03:00
nik
3a79d231f0
project configuration: avoid infinite loops when deleting library root
...
Avoid infinite loop even if 'Library.ModifiableModel::removeRoot' always returns true because of a bug (see IDEA-182159). If there are several identical roots in a library it should be ok to remove them one by one.
2017-11-20 18:05:07 +03:00
nik
ea70f3223a
project configuration: fix removing jar directory root from library
...
VirtualFilePointerContainer.findByUrl also returns a jar directory entry so otherwise it isn't possible to remove a jar directory entry from a library (IDEA-182159).
2017-11-20 18:05:07 +03:00
Daniil Ovchinnikov
3bd41784b2
[jvm-lang] java: inherit PsiPackage from JvmPackage
2017-11-20 17:58:39 +03:00
Daniil Ovchinnikov
fb4d052341
[jvm-lang] add JvmPackage
2017-11-20 17:56:06 +03:00
Ivan Semenov
fc66b9b4f0
Fix GitCrlfProblemsDetectorTest
2017-11-20 17:38:43 +03:00
Semyon Proshev
9941c8e40a
Improve PyKnownDecoratorUtil to support more decorator side-effects (PY-26023)
2017-11-20 17:26:46 +03:00
Semyon Proshev
31a8675b98
Inline PyUtil.hasCustomDecorators and isDecoratedAsAbstract.
2017-11-20 17:26:46 +03:00
Julia Beliaeva
2cb2dea8af
[vcs-log] better indexing cancelled notification
...
Use more standard notifications in the bottom-right corner. Enhance notification text. Round indexing time to seconds.
2017-11-20 17:17:56 +03:00
Julia Beliaeva
4b3cd9aaf0
[vcs-log] fix extra space in time string, add tests
2017-11-20 17:17:56 +03:00
Ilya.Kazakevich
7f0598c046
PY-27029: Sync with temacity-messages (provide encoding for monkeypatched stdout)
...
See https://github.com/JetBrains/teamcity-messages/issues/158
2017-11-20 17:16:17 +03:00
Julia Beliaeva
52b39d6b39
[git] wait for process being cancelled and if wait is unsuccessful kill it
...
Git commands use soft kill for cancelling git processes: process is cancelled by sending a signal. Sending a signal does not terminate a process immediately, BaseOutputReader thread reads and processes the output until it is available. This is a problem for GitTextHandler.waitForProcess method, which needs to wait for process to finish, since all the clients expect it to do so. For example, VcsLogPersistentIndex does not want to start another indexing process until the first one is still alive.
So after calling destroyProcess, another waitFor with timeout is added. If timeout is expired, the process is destroyed in the old-fashioned way.
2017-11-20 17:12:48 +03:00
Semyon Proshev
44a9986bdb
Mark duplicated *args and **kwargs as not allowed (PY-26491)
2017-11-20 17:11:05 +03:00
Semyon Proshev
b1bd6df96a
Don't apply rainbow highlighting to stars in *args and **kwargs
...
It leads to highlighting conflicts, try next commit without these changes.
2017-11-20 17:11:05 +03:00
Vladimir Krivosheev
27a94c6055
IDEA-182178 Copyright settings are not stored
2017-11-20 15:00:54 +01:00
Dmitry Batkovich
ebb8879055
BatchSuppressManager: remove useless methods
2017-11-20 16:56:23 +03:00
Roman Shevchenko
b467cc2d87
Cleanup (dead code; warnings; formatting)
2017-11-20 14:52:12 +01:00
Roman Shevchenko
163eb2ee4f
[java] prefers module rename processor to a generic one
2017-11-20 14:50:22 +01:00
Roman Shevchenko
255eb802ca
[java] expands search scope for exports/opens module references (IDEA-179277)
2017-11-20 14:48:54 +01:00
Vladislav.Soroka
fb1bea7016
IDEA-182418 Use new notifications API for Gradle notifications
2017-11-20 16:37:07 +03:00
Alexey Kudravtsev
8b0ed86d8d
introduce Job pool parallelism constant since now it's different from the CPU count
2017-11-20 16:32:25 +03:00
Alexey Kudravtsev
b195c7bb9d
cleanup
2017-11-20 16:32:24 +03:00