Commit Graph
258197 Commits
Author SHA1 Message Date
Tagir Valeev 7cc4dc505b JoinLineProcessor.getSpacesToAdd: properly handle end-of-file
Fixes EA-213710 - [JoinLines] IOOBE: ImmutableText.outOfRange

GitOrigin-RevId: 13ab2f27bbcf5457671331c8b41e5897d9d82255
2019-10-02 03:38:05 +00:00
Roman.Ivanov 51b1d72348 IDEA-223698: refactor WrapperTypeMayBePrimitiveInspection + support concatenation for primitives
GitOrigin-RevId: 4d97ebacc2697d31c3b2a344fce5188f48c2db3a
2019-10-02 03:38:05 +00:00
Roman.Ivanov a377e2ae69 IDEA-CR-52934: add clarification docs for InlaySettingsProvider
GitOrigin-RevId: 74e640d7b91f7e327a575d97c4201f8f0f4cbfbb
2019-10-02 03:38:05 +00:00
Julia Beliaeva 7c7a6d57f6 [vcs-log] do not pass visible pack as a constructor parameter since it is always empty
GitOrigin-RevId: b7658d95bf84bdad48650774671c7a5e3772899f
2019-10-02 02:14:02 +00:00
Konstantin Bulenkov 4b5e6f7635 a quicker way to edit current run configuration
GitOrigin-RevId: 60b92c9cd458b489247eabba7fe14820f3288fe5
2019-10-01 22:32:28 +00:00
Eldar Abusalimov f23e59d910 XDebuggerAssertions: Change @Language("RegExp") to @RegExp
GitOrigin-RevId: cef9a2dc1b479aa81b42e2dc623749469b90e022
2019-10-01 21:12:59 +00:00
Eldar Abusalimov a3ec56964c XDebuggerAssertions: Add more assertVariable overloads
GitOrigin-RevId: 8254a1ff09e04539d84935ed64a84162f9c58b0c
2019-10-01 21:12:59 +00:00
Eldar Abusalimov 5f5cf4e666 XDebuggerAssertions: Add missing assertVariableTypeMatches overloads
GitOrigin-RevId: 4c81b8d2f1c3ff73cd8a6a06c89d06a54f361ded
2019-10-01 21:12:59 +00:00
Eldar Abusalimov e12eece974 CIDR: debugger: (testing) Reuse XDebuggerTestUtil.toggleBreakpoint()
GitOrigin-RevId: 991a6466109c3a02968d691f21aa862f04320b71
2019-10-01 21:12:59 +00:00
Eldar Abusalimov 460e9a9423 XDebuggerAssertions: Add XTestValueNode assertions
GitOrigin-RevId: 907870d3452dc3437870e8e658200d87dcf0ae42
2019-10-01 21:12:59 +00:00
Eldar Abusalimov e013eeb0ef XDebuggerAssertions: Add optional "icon" parameter
GitOrigin-RevId: f074ecfcab46da0a490c6c1d7dc3b1562ab458c4
2019-10-01 21:12:59 +00:00
Eldar Abusalimov ef243cc5d1 XDebuggerAssertions: Annotate parameters with @NotNull
GitOrigin-RevId: 19196ddc07111dd8e49114cac41a9e8b6f376833
2019-10-01 21:12:59 +00:00
Eldar Abusalimov 9ea1617e03 XDebuggerTestUtil: Extract XDebuggerAssertions
GitOrigin-RevId: acb14436e7f14f6baa3968137d12fde8012dec5d
2019-10-01 21:12:59 +00:00
Eldar Abusalimov bcdc198ddb CIDR: debugger: (testing) Inline CidrDebuggingFixture.collectVars()
GitOrigin-RevId: f73471e131f7c589126952d74a2aa4d77fe4da23
2019-10-01 21:12:59 +00:00
Eldar Abusalimov a83cb32937 CIDR: debugger: (testing) Reuse XDebuggerTestUtil.collectChildren()
GitOrigin-RevId: 7e41ec357d56dbf58d5a3c59f399dfa63acd6028
2019-10-01 21:12:59 +00:00
Julia Beliaeva b4578320b9 [vcs-log] provide an explanatory comment for using tab name
GitOrigin-RevId: 91e66f8a8016e531aa3a2ad4b722f796e1953df2
2019-10-01 21:12:59 +00:00
peter 4612a9ece5 more meaningful names in DetectAndAdjustIndentOptionsTask (IDEA-CR-52949)
GitOrigin-RevId: e23226930d296c17794427c2f89e9289d7abc3ef
2019-10-01 19:46:54 +00:00
Vassiliy.Kudryashov 15524315b5 IDEA-217612 Terminal rename session minimizes the terminal window
Trying to skip tool window deactivation (in case of 'undock' mode) if focus goes to a balloon

GitOrigin-RevId: 79d5b7ccf904219a8223c208086bc19dd53c1375
2019-10-01 19:46:54 +00:00
Vassiliy.Kudryashov 296029a68a Revert "ensure tool window stays visible when a rename tab popup is shown (IDEA-217612)"
This reverts commit c490b187

Trying another fix

GitOrigin-RevId: bfc141bf6157b570aba592734a9afcc373243049
2019-10-01 19:46:54 +00:00
peter 51b138bd7d IDEA-209608 When completing @Override, show element that shows override/implement dialog
GitOrigin-RevId: 876745e7afe3540253f10f908de6b289b739bee8
2019-10-01 19:46:54 +00:00
peter f7d9206eef MinusculeMatcher: disallow non-word-start matches after space (IDEA-220169)
GitOrigin-RevId: aebcc1f40a25986516d4e818f7a67ac0ef618247
2019-10-01 19:46:54 +00:00
Julia Beliaeva a25698b5f4 [vcs-log] restore data provided by VcsLogPanel
VcsLogPanel was created to provide data common to Log and File History tab and to reduce dependency from the ui classes on VcsLogUi. This was changed in 646ed803c565af6c71ee8644b22587d1a26aa999, breaking file history actions and introducing additional dependency from MainFrame on VcsLogUi. This commit reverts that change.

GitOrigin-RevId: 786a3c9bc462deb3305e92d4c7d609282ede6099
2019-10-01 19:01:31 +00:00
Anna Kozlova 0dff7db31b import popup: show for editable files only, also without edits since esc of the same popup
but the caret must be on the unresolved reference (IDEA-CR-51560)

GitOrigin-RevId: 98fadb9830717111c136dda23a6c9e268de43416
2019-10-01 18:14:31 +00:00
Vladislav Tankov 212ad27819 [Spellchecker] Add RuntimeDictionaryProvider extension point to spellchecker.
Unlike existing extension points, RuntimeDictionaryProvider supports non file-based dictionaries.
It means that dictionary may be even generated at a runtime, or downloaded from remote server.

GitOrigin-RevId: 6d7397757a92c909648cb939745d545b4f82fe20
2019-10-01 18:14:31 +00:00
Dmitry Jemerov 9afbdbb759 Take language inheritance into account when clearing caches in LanguageExtension (IDEA-CR-53062)
GitOrigin-RevId: fe17ae151aa8946621a2e21ea2166a096603633c
2019-10-01 18:14:31 +00:00
Dmitry Jemerov ac08f78c70 Dynamic load/unload for lang.psiStructureViewFactory
GitOrigin-RevId: 012f2274dac5028420e96d7b76887e403c5ce1f9
2019-10-01 18:14:31 +00:00
Vladimir Koshelev f5d90f53c8 IDEA-CR-53106: rename ignoreMissingInterpreter to ignoreInterpreterWarnings
(cherry picked from commit 2614eb240454e2428001f30fddcd2aab46c865cb)

GitOrigin-RevId: 33417d77b00b41645c1683c0e876d606bfb5c460
2019-10-01 17:02:43 +00:00
Vladimir Koshelev 6dd9be576f IDEA-CR-53106: add a method to PyInspectionExtension for ignoring PyInterpreterInspection
the method is suitable for ignoring the warning in multi-psi files

(cherry picked from commit 7a73e4ab0b1c26d0e99e66371cf0e35a41b0ccd8)

GitOrigin-RevId: 72ca3d99f71df14f2618c6eed7fb118f1fc54fe6
2019-10-01 17:02:43 +00:00
Vladislav.Soroka e615593cd5 IDEA-CR-53082: use reimport term w/o dash
GitOrigin-RevId: 4cd81dc30cc6645ac6472ffa5229f1c0a0299f66
2019-10-01 17:02:43 +00:00
Daniil Ovchinnikov d78058c5b5 extend SmartPsiElementPointer from Pointer
GitOrigin-RevId: bad99513afa3ad7fe03a886a859a12a481aab2b6
2019-10-01 16:35:14 +00:00
Daniil Ovchinnikov ddafb6a700 [api] add Pointer
GitOrigin-RevId: a835601f674b90b4608ca8dc28c4ba9a47e42d05
2019-10-01 16:35:14 +00:00
Yann Cébron 7f4eea5c0a ProjectComponent: clarify javadoc
GitOrigin-RevId: edb3d345bf86f7a3271c9486307f36ec389775a0
2019-10-01 16:35:14 +00:00
Yann Cébron 324a09af11 FileDocumentManagerListener: add @see javadoc
GitOrigin-RevId: 46b59bb6ef85e7324730924972b36f563205a35f
2019-10-01 16:35:14 +00:00
Vladislav.Soroka 906bed48fd [Gradle] Annotation processing model serialization service IDEA-187868
GitOrigin-RevId: a51f01647dd321d75c6e4df46d51710ac006348e
2019-10-01 16:35:14 +00:00
Roman Shevchenko b15ec2af98 [vfs] improved stale mounts checker (IDEA-CR-52564)
- getting rid of streams (not needed; potential problems with closing)
- replacing regular expressions with simple splitter
- logging
- minor optimizations

GitOrigin-RevId: 773f75ed15570a6617a504374f80031123b4b03f
2019-10-01 16:05:28 +00:00
Rustam Vishnyakov 8f600586bc Fixed IDEA-223974 Code Style: Warning icon is to big
GitOrigin-RevId: 40d539fb0cbcbeef35cf9f721f18ba92685e3f9a
2019-10-01 16:05:28 +00:00
Semyon Proshev 7ff8e4c8d7 Process only file-level imports (PY-38198)
Inspection and highlighting run in incremental mode: when user types some symbol, only it and all its parents in PSI tree are processed.

The inspection could not receive some/all imports after typing and hence does not register file-level warning.

Solution: the inspection will not analyze import by import, it will receive file and check its file-level imports. As a result all class-, function- and other scope-level imports will be ignored.

GitOrigin-RevId: 655683b9a4fd058c814c85af538e83f4c8154b62
2019-10-01 16:05:28 +00:00
Semyon Proshev 64ac300058 Move PyStubPackagesInstallingStatus to motherland
GitOrigin-RevId: dba4a68ccca66df087637a18646324eda058deb2
2019-10-01 16:05:28 +00:00
Semyon Proshev 597f5952da Change the meaning of advertiser setting to store ignored stub packages and their versions (PY-31752, PY-31819, PY-34743)
This allows to ignored only incompatible version of stub package, not all of them.
As a result user will be notified about new version of stub package.

The advertiser became more complicated:
on inspection pass it uses cached result and build messages based on it,
after that the advertiser runs background activity to load latest versions for stub packages whose runtime
ones are used in a file.

GitOrigin-RevId: ae9e760206cd864767d5d77ecf648656e80fa500
2019-10-01 16:05:28 +00:00
Gregory.Shrago 4a25d6ccb7 IDEA-CR-52216 do not add java to our plugins
This also fixes Copyright<->Java cycle in some Inspections configurations,
where plugin path is set so Copyright is considered non-bundled.

GitOrigin-RevId: edd03608ec10b12b2b1f6183f097607783f90cd7
2019-10-01 16:05:28 +00:00
Konstantin Bulenkov bf26eb8ec1 an option to change active editor tab via color scheme
GitOrigin-RevId: b78a7426d55ea35a19966127c8d8adf6cd1919ab
2019-10-01 16:05:28 +00:00
Konstantin Bulenkov 2c21688cc2 Remove tab labels dimming
GitOrigin-RevId: 17a7b9af1e0bf4e241ffb291e98bd71e643722b8
2019-10-01 16:05:28 +00:00
Eugene Zhuravlev ac9f032f1b fix sorting
GitOrigin-RevId: 740e2371ea99a04011d3109f06ee246c62733bbb
2019-10-01 15:32:38 +00:00
Kirill.Skrygan 6b2fffcf1d -fix double click in new mode
GitOrigin-RevId: 0de71e0e55e9b68e3e4a818d34330ea6c999d3aa
2019-10-01 15:05:38 +00:00
Kirill.Skrygan 52b68625d6 fixes due to review
GitOrigin-RevId: 646ed803c565af6c71ee8644b22587d1a26aa999
2019-10-01 15:05:38 +00:00
Roman Shevchenko 5fee87b246 [platform] StubVirtualFile diagnostics
GitOrigin-RevId: 0ec6d41ee4c4a48c4be02a508618a90c764cdd74
2019-10-01 15:05:38 +00:00
Vladislav.Soroka deadd0c6a1 IDEA-CR-53082: use reimport term w/o dash
GitOrigin-RevId: 3436b1f112d85ede2a74d13e4d1a2e9fdeb4eb64
2019-10-01 15:05:38 +00:00
Vladislav.Soroka a297e2223d IDEA-CR-53082: cleanup build console data provider util api
GitOrigin-RevId: 8a4958a156018f20d491092f97f1fdb94cabdd30
2019-10-01 15:05:38 +00:00
maksim.pelevin 0577f0dea9 IDEA-CR-52894 Fix redispatch mouse wheel event to an outer scroll pane
GitOrigin-RevId: 7b54b32005a638222a0eebc771abbd3566d78cd1
2019-10-01 15:05:38 +00:00
Daniil Ovchinnikov b7bf460abe [groovy] compiler: read arg file using UTF-8 charset (IDEA-222841)
The file is written in GroovycOutputParser#fillFileWithGroovycParameters with UTF-8, and then the file was read with
platform charset, which caused the bug on Windows.
Before 2019.2 the file was also written in platform charset, see b6f12dabfc1a2d2bde4cdaa8f0455351c96e1556.

GitOrigin-RevId: 4a55c8653833a4c7573d346b13f29bbe0ade9789
2019-10-01 15:05:38 +00:00