Commit Graph
280568 Commits
Author SHA1 Message Date
Mikhail Golubev 16eebe034e PY-25001 Implement Complete Current Statement for collection literals
It works by automatically inserting a trailing comma before a line break in
multiline collection literals. Additionally, a colon is inserted between a key
and a value in dict literals.

Because of the language ambiguity regarding syntax of some incomplete collection
literals, colon is not inserted after the first key of a dict literal
(it's indistinguishable from a set literal with one item), and comma is not
inserted after the first item of a parenthesized tuple (it's indistinguishable
from a parenthesized expression).

The idea was taken from such implementation of Complete Current Statement for
JSON.

GitOrigin-RevId: 49ff9857d8c12476bfa9aacaed0b49faa99810fd
2020-06-10 22:57:53 +03:00
Dmitry Jemerov 3ec7d70b0d Never suggest to install plugins which are already installed (IDEA-242387)
GitOrigin-RevId: c3062aa35f5d70462abbc227c153a7c944ec9628
2020-06-10 22:55:12 +03:00
Dmitry Jemerov 83d1eb3904 Report correct values for projectFrameSelected (FUS-690)
GitOrigin-RevId: c3c480599b78ad451b085d31809ea4af4fd2fb2d
2020-06-10 22:55:11 +03:00
Dmitry Jemerov c6af6f2527 Reset Editor syntax highlighter to emptu as soon as we start unloading a plugin providing the highlighter (RUBY-26567)
GitOrigin-RevId: d01accc568db1de9b145af675b22a500b024a76c
2020-06-10 22:55:09 +03:00
Dmitry Jemerov 6429469c1b Use message bus instead of PropertyChangeSupport for active lookup change notifications
GitOrigin-RevId: 650343c69ac523dbe1b7d7ec716c1b84d7f1f7e4
2020-06-10 22:55:08 +03:00
Dmitry Jemerov 8c949bf595 Always wait for classloader unload when uninstalling dynamic plugins (IDEA-243058)
GitOrigin-RevId: c254e5c01a92c05fa80a551d3ec5bbafb8ec0337
2020-06-10 22:55:07 +03:00
Alexander Lobas 60fdd26cd6 IDEA-174109 Rework Status bar: presentation mode
GitOrigin-RevId: d9bc1cab12932f4cd75c26bea5c94e8fe20e73f1
2020-06-10 22:36:31 +03:00
Daniil Tsaryov eafbb64131 Fix wrong git pull option IDEA-243078
GitOrigin-RevId: ec361f8ef403bb8efc187947e06274eae4848cc9
2020-06-10 22:32:44 +03:00
Peter Gromov 4d1abd260f NonBlockingReadActionImpl: use earlyDisposable only on light projects
GitOrigin-RevId: 55e7b21a3de95344301f62ad5ba2373e1bd87e2f
2020-06-10 22:26:34 +03:00
Sergei Vorobyov a242a3c580 IDEA-243097: Update patched org.gradle.api.JavaVersion class for Gradle tooling loader classloader
GitOrigin-RevId: 74383fb79c4a2006ce921977cf40ea53e33aaf92
2020-06-10 22:14:26 +03:00
Sergei Vorobyov c0428d048d [auto-reload] fixed redundant waring after double project aware is removed
use case: unlink gradle project and close idea project
Project aware is removed after project is unlinked and parent disposable is disposed

GitOrigin-RevId: e6812454c440489937988a6035d6a353f4a86df9
2020-06-10 22:14:26 +03:00
Sergei Vorobyov f437a4338d IDEA-238567 removed toggle auto-reload mode action from toolwindow
GitOrigin-RevId: 6577bb61f0a46c73568114e23d0e4f1013ab8074
2020-06-10 22:14:25 +03:00
Sergei Vorobyov c3a85da245 IDEA-238567 added auto-reload settings option
added default auto-reload option

GitOrigin-RevId: 625f1e3b715f45381746547396f7a54da760b352
2020-06-10 22:14:25 +03:00
Roman Shevchenko 468f93071b [build scripts] correct compression for x86 JRE artifacts (TW-66427)
GitOrigin-RevId: 0ab75a334af45d6feb817386b5f36f16ab888462
2020-06-10 21:50:58 +03:00
Peter Gromov 400ce5fdfa NonBlockingReadActionImpl: revert to the last stable state due to test flakiness
GitOrigin-RevId: c19d5cca0367bed0c873b2604d1aed63c1a0ce29
2020-06-10 21:48:45 +03:00
Roman Shevchenko c6082c3650 [platform] allowing early use of GeneralCommandLine (IDEA-226651)
GitOrigin-RevId: a78e5590aace9f1549b5fb90ddbc3b41cb9db3f4
2020-06-10 21:45:59 +03:00
Roman Shevchenko 9969730503 [ui] "create desktop entry" localization warnings
GitOrigin-RevId: 0fe2ec1d84a5cfc9994c4ffdcff69e5e250431df
2020-06-10 21:21:19 +03:00
Vladimir Krivosheev 72e4a1ea3e PluginUtil service must be registered by mock application because used by stub index (required for snakecharm tests)
GitOrigin-RevId: d8f45c26819019752a042656da1a98ff12d031fd
2020-06-10 21:08:09 +03:00
Vladimir Krivosheev 35fbe7f467 call disposeEarlyDisposable under write action for consistency
GitOrigin-RevId: 38d23f8a88b31c2758d0d9b4c7669d9514903996
2020-06-10 21:08:08 +03:00
Vladimir Krivosheev e0bc79b182 HeavyIdeaTestFixtureImpl - do not open project in EDT if possible, simplify code around tearDownProjectAndApp
GitOrigin-RevId: a2cdfe9bea158de40dd19cbbf2275760752894cd
2020-06-10 21:08:07 +03:00
Vladimir Krivosheev a05088b30b show notifications in dumb mode
GitOrigin-RevId: 03bb8ff2ad1acc6fd1e18a978e748c23c4958b47
2020-06-10 21:08:05 +03:00
Nikolay Chashnikov e6b8a50bf2 [workspace model] don't add 'external.system.id' attribute when saving modules imported from Maven in internal storage
Also add a test which checks saving imported project in internal storage.

GitOrigin-RevId: 855ecc556678f2e032e58b517e20335bf07e20b0
2020-06-10 20:45:54 +03:00
Nikolay Chashnikov 49b83ee097 [markdown] drop JavaFX-based preview panel and use JCEF-based instead
We need to get rid of usages of JavaFX classes in order to migrate to JDK 11 (IDEA-241075).

GitOrigin-RevId: 26e1b1296d05a085477efb96b33c1b606d3e5da1
2020-06-10 20:36:04 +03:00
Nikolay Chashnikov 357e362e16 [external system tests] check Module::getModuleFilePath for imported modules
GitOrigin-RevId: 68d540e6502b23e344b5a0f32e168430bdd8c40a
2020-06-10 20:36:03 +03:00
Olga Strizhenko d4d4e7cd40 WI-53664 Simplify spellchecker settings: use global for words saving by default for projects with empty project dict
GitOrigin-RevId: ad01ecb4fcf10efe720efedf20a64f15bbf89798
2020-06-10 20:31:06 +03:00
Olga Strizhenko 96f25f6a4b Simplify spellchecker settings: quick-fix name
GitOrigin-RevId: 72cab382a13f1ad205c0e82fa80f80847e2d11fd
2020-06-10 20:31:05 +03:00
Olga Strizhenko ad030d4304 Simplify spellchecker settings: flatten tabs
GitOrigin-RevId: 9eb156fc6251f01203698f50497720ee7476414c
2020-06-10 20:31:04 +03:00
Olga Strizhenko 8af634808d WI-53696 Simplify spellchecker settings: no disabled dictionaries anymore
GitOrigin-RevId: 14a2c499c37cd0c00ec2ebaed1ceb919eb2abe9c
2020-06-10 20:31:03 +03:00
Olga Strizhenko 8b18a9aabc WI-53664 Simplify spellchecker settings: use global for words saving by default for projects with empty project dict
GitOrigin-RevId: ff990d94014927f370a9e81c87b90bc5dc540ed1
2020-06-10 20:31:01 +03:00
Nikolay Rykunov e0e3d5fb28 [git-rebase] IDEA-57719: Introduce Drop Commits action in Log
GitOrigin-RevId: 7d1402352776e094915d432f8eb39f126813bb4a
2020-06-10 20:22:23 +03:00
Peter Gromov 2d1e2e9993 inline some java smart logic into JavaCompletionContributor
GitOrigin-RevId: 0e193e8510e35ce8742efe6610d53b659184a7c8
2020-06-10 19:44:27 +03:00
Konstantin Nisht de94909b18 fix incorrect intersection for Map
GitOrigin-RevId: d95c77eca77ca7614dbd42b0393940b2a4189997
2020-06-10 19:36:27 +03:00
Yuriy Artamonov 7bc5cf055f Java EE: call MetaAnnotationUtil.getAnnotatedTypes without cache key EA-232133
GitOrigin-RevId: 31053ee40f95d8676e8240fc945342927e8bce86
2020-06-10 19:27:29 +03:00
Yuriy Artamonov 662723b867 Java: fix non-equivalent cache provider in MetaAnnotationUtil.getAnnotatedTypes
GitOrigin-RevId: 2dd4fa7e11e0cd07857dc402b896f2d43469ac60
2020-06-10 19:27:28 +03:00
Ilya usov 9437d50b0f Hack in new ui for java debugger
GitOrigin-RevId: 56bbbbb1a1bff1274f2f510279ca422a0274e296
2020-06-10 19:25:30 +03:00
Ilya usov 74f17ceed6 Fix RIDER-43771 (Wrong text color for unfocused stack)
GitOrigin-RevId: d0d1eb59e6bdc23bbb90d4c906050b155d948927
2020-06-10 19:25:29 +03:00
yopox fecc1be202 IDEA-241925 Show same-named templates in completion results
If two templates had the same name, only one would be displayed.
This commit makes it possible to display same-named predefined and user defined templates.

GitOrigin-RevId: 727f655d0665db7cc0f4a600fe4fcfddf3dfec79
2020-06-10 19:24:37 +03:00
Daniil Ovchinnikov c327437a58 drop New/Old naming in com.intellij.find.actions.TargetVariant, fix visiblilty
GitOrigin-RevId: 5704a31942c2350aad9d609bd59451802fb19bfc
2020-06-10 19:20:09 +03:00
Dmitry.Krasilschikov 2037ea615f properly localize pluralized "usages" word
GitOrigin-RevId: f334d43eba51f4f47d8b63533ffb51a16571e117
2020-06-10 19:07:40 +03:00
Alexey Kudravtsev 899f51bcee performance: reduce number of expensive file.getUrl() calls in tests
GitOrigin-RevId: ee3d4ee7652e0ed421c242a95086073faec6bea9
2020-06-10 18:56:53 +03:00
Daniil Ovchinnikov 81c1346df4 migrate WebReferences to Symbol API; update references machinery
1. [symbol] `ReferenceProviders#byLanguageInner` was fixed to support beans with `Language.ANY`.

2. The problem: addition of external UrlReferences makes them override old schema-references in xml attributes.
Before the change new references (own + external) were preferred to old references (PsiElement#getReferences).
The solution part 1: [symbol] prefer own references to external references, after the change: own > external > old.
The solution part 2: [xml] return old attribute references as own references to make them more preferable.

3. Add UrlReferenceHost instead of CommentsReferenceContributor#COMMENTS_REFERENCE_PROVIDER_TYPE.

GitOrigin-RevId: 0c197d2eef13d940ac09bdc0427da7ad7472ec83
2020-06-10 18:43:43 +03:00
Roman Shevchenko a60b7b5c6c [build scripts] invalid string concatenation (IDEA-243083)
GitOrigin-RevId: 5843f3482d0e3cb07acd1ef661fac088b8321321
2020-06-10 18:41:54 +03:00
Peter Gromov 617a39534a Revert "NonBlockingReadAction: remove expireWithRWCompliantParent optimization"
This reverts commit 35fa3bee

because this causes test flakiness due to shared project gotchas
hopefully temporary

GitOrigin-RevId: 6bcec66e3f6f259407c17ad46f0a8674a7f83c48
2020-06-10 18:41:22 +03:00
Egor Ushakov 21d01b29a0 [performance watcher] some symbols in class and method names may not be valid for a freeze folder name
GitOrigin-RevId: c3f40d14c7a3d84c1e0bae8f94fc397d4f699011
2020-06-10 18:24:47 +03:00
Daniil Ovchinnikov 88c64951a0 [symbol] api/impl: add ability to filter reference providers by desired reference class (update javadocs)
GitOrigin-RevId: 6c19f1e925431ea562ac8ba83a7908501bea0dfe
2020-06-10 18:14:10 +03:00
Olga Strizhenko 165f32ec13 IDEA-CR-63534: FUS-724 Spellchecker: gather statistics about user interaction with "Accepted words" panel - provide project
GitOrigin-RevId: 8faedf09676ba9cb3bf449cc8908924f41c37f8c
2020-06-10 18:05:18 +03:00
Olga Strizhenko f322a6a9e4 IDEA-CR-63534: FUS-724 Spellchecker: gather statistics about user interaction with "Accepted words" panel
GitOrigin-RevId: ba808afc4de9080314783155a0e62564d407c109
2020-06-10 18:05:17 +03:00
Kirill Kirichenko 4e689e03d6 IDEA-235023 Improve small icon rendering
GitOrigin-RevId: a9bc21230e230f47f5358b403ecd693714d60143
2020-06-10 17:40:34 +03:00
Peter Gromov 6ad2e114e5 java: merge annotation name completion into the main execution path
GitOrigin-RevId: 1f45fbc218d0ea6757d8ade63f9924e850850a52
2020-06-10 17:34:17 +03:00
Dmitriy.Panov 30e5e5a08e icons sync: exit process in case of non-daemon threads spawned from tests
GitOrigin-RevId: ef0823367af60d393c6ca1382b8b18504c5b93f9
2020-06-10 17:27:10 +03:00