Commit Graph

391237 Commits

Author SHA1 Message Date
Roland Illig
839984e9dd Cleanup: reduce nesting of 'if' in HotSwapUIImpl
GitOrigin-RevId: f74dbf11ae7e1f6a791e74d4fb981b5dcf7b1bd7
2022-12-09 21:32:45 +00:00
Roland Illig
c93816e9c3 Cleanup: use simpler type for output paths in HotSwapUIImpl
GitOrigin-RevId: 4d23ca9d9d82645d704f7be9b8fb70fdf16d3d58
2022-12-09 21:32:43 +00:00
Roland Illig
11adb0a7ae Cleanup: rename local variable in HotSwapUIImpl
GitOrigin-RevId: 67c3f4e2488e16c42c21d9d2f199fb9f32ab639a
2022-12-09 21:32:42 +00:00
Roland Illig
04c75fdd5e Clean up the comments in DebuggerSession
GitOrigin-RevId: 1759412235db6dd9e8e9d599ee9b435fb7b3b065
2022-12-09 21:32:40 +00:00
Roland Illig
ea78939bf9 Cleanup: fix indentation in HotSwapUIImpl
GitOrigin-RevId: 9eb3fbc8166659c4d4724406829484ace0f64d59
2022-12-09 21:32:39 +00:00
Roland Illig
f0676b19c5 Cleanup: extract collectGeneratedPaths in HotSwapUIImpl
GitOrigin-RevId: fd116a3ebc3f6c5ce02a12b44021f5ba0233637c
2022-12-09 21:32:37 +00:00
Denis Konoplev
25f4c50e95 [gtw] Ability to disable icons in list
GitOrigin-RevId: 2fba168dbf71869ce22838afa9330c2a12a38b29
2022-12-09 21:25:15 +00:00
Manuel Ceron
e1618ce0b5 [fleet] Not showing exceptions when LSP text convertions fail.
FL-16324

GitOrigin-RevId: b7f6b3db05db9530d0963e2cfba96410b90ce78f
2022-12-09 18:42:16 +00:00
Dmitry Zhuravlev
c8795e39c9 git: allow focusing popup in git toolbar widget
Otherwise, even explicit selection of search field doesn't show caret there.

GitOrigin-RevId: 0cc64d215ca013984f664479e23691ff620b84c2
2022-12-09 18:25:46 +00:00
Mikhail Mazurkevich
653ad9d7b4 [build process] Log messages in integration test
GitOrigin-RevId: 115422124ad0dc87e14d9d198b5f02ec827c2895
2022-12-09 18:04:21 +00:00
Dmitry Avdeev
d509b6abf1 IDEA-308125 Cannot select JDK in Java run configuration dialog
GitOrigin-RevId: 2dee8a63d2cc38038e5c77818062bb99cf7bc258
2022-12-09 17:46:38 +00:00
Ivan Posti
033ea57460 [Markdown] Update intellij-markdown to 0.3.4
This should fix a bunch of issues with incorrect rendering of escaped pipes in code spans inside tables (IDEA-275308, IDEA-283181, IDEA-213124).

GitOrigin-RevId: 09f7cdffbc77c7c1beab58c4446ae4106e9d8ff2
2022-12-09 17:42:18 +00:00
Ivan Posti
5fdc0dc800 [Markdown] Use TableAwareCodeSpanGeneratingProvider as a base for CodeSpanRunnerGeneratingProvider
GitOrigin-RevId: 7224a9a7339128b0c87097e6bcad7aba4388e650
2022-12-09 17:42:14 +00:00
Ivan Posti
bf891f1911 [Spellchecker] Use guessProjectDir instead of getBaseDir for file chooser
GitOrigin-RevId: e17a038b21a6b879e592853e438db3df6b9a020b
2022-12-09 17:42:11 +00:00
Ilya Kirillov
d8cf3c0f29 [kotlin] do not suggest completion of classifiers from indices when on empty prefix
Needed to optimize performance

GitOrigin-RevId: afff7102ca680255bdeb58b71ddc41653a5ab9cb
2022-12-09 17:36:54 +00:00
Alexey Kudravtsev
e4b862b119 do not call project index in EDT to fix EA-740920 T: DirectoryIndexImpl.getInfoForFile
GitOrigin-RevId: 84d87ffe0156c12a2e9b0d2addbb1c9baf302970
2022-12-09 17:14:56 +00:00
Alexey Kudravtsev
c367578d3f notnull
GitOrigin-RevId: d9ba8a71340e0c8a21dc7a5c4c0f120f7d5634f4
2022-12-09 17:14:53 +00:00
Alexey Kudravtsev
a08b9a3e01 remove getPsiFile() from HighlightingPass.getExpireCondition which is computed in EDT to fix EA-657358 T: DirectoryIndexImpl.getInfoForFile
GitOrigin-RevId: 571494cc4bd8eb0e8c508d1ca1c446a19f280c77
2022-12-09 17:14:49 +00:00
Alexey Kudravtsev
5260b32c9d cleanup
GitOrigin-RevId: 56034b782d3c297501ee4e9b5eaeb1e0353f5ae3
2022-12-09 17:14:46 +00:00
Alexey Kudravtsev
69188ed466 do analysis in BGT to fix EA-659845 T: DirectoryIndexImpl.getInfoForFile
GitOrigin-RevId: 326b62b0b6e71754cfd4d4462a4547d064e2c126
2022-12-09 17:14:42 +00:00
Pavel Porvatov
77cb97227a IDEA-308166 Rows jumped a little after rollback icon is shown in advanced settings
GitOrigin-RevId: 7d940ea6323b65d908f7ae849a31766cd5bda5fb
2022-12-09 16:50:08 +00:00
Pavel Porvatov
58dba9421f IDEA-308166 Rows jumped a little after rollback icon is shown in advanced settings
- Removed TOP_BOTTOM_GAP property

GitOrigin-RevId: 2cfdcf6bf67bce07b0ee1fb56d7f67821ec4aaa4
2022-12-09 16:50:07 +00:00
Pavel Porvatov
79d34c4f8f IDEA-308166 Rows jumped a little after rollback icon is shown in advanced settings
- Added VERTICAL_COMPONENT_GAP property

GitOrigin-RevId: bcb4866c5d44671ef1e88b70be6a61d2f6e2401a
2022-12-09 16:50:05 +00:00
Aydar Mukhametzyanov
a105198f5a IDEA-305966 Update Run widget insets on updateUI as well
If we update only on uiSettingsChanged, insets are calculated with wrong user scale

GitOrigin-RevId: 79999efa3ee60895c42be76e8f30e42f7ef98933
2022-12-09 16:49:44 +00:00
Eugene Zhuravlev
1d67e6cf9e review followup
GitOrigin-RevId: e3fc2f3ec02962f0bd7bf73486a288008174ecd0
2022-12-09 16:42:04 +00:00
Sergei Tachenov
11d504fb7c [UI] IDEA-307246 Store unified weights in window layouts
If a saved layout doesn't have any tool windows docked
to a certain anchor, then that anchor's area weight would
be reset on the Restore Layout action. This is most likely
undesirable behavior. Consider the following: the user
opens the project tool window, adjusts its width, hides it
and stores the layout. When the layout is restored, it is
expected that activating the project tool window would
have the same size it had before saving the layout,
even though it wasn't visible when the layout was stored.

Fix by storing unified widths (weights) of the docking
areas alongside with tool window layouts.

GitOrigin-RevId: b9e143009185b1758bc0e98cf48ce29f3098105d
2022-12-09 16:38:40 +00:00
Sergei Tachenov
ec985a274b [UI] IDEA-307246 Store unified tool window widths independently
So far, unified tool window widths were implemented by
making a newly activated window to take its size from the
previously visible window in the same area. However, when
there is no window visible, then the newly activated window
would restore its own stored weight, which would break
the desired unified tool window width behavior.

Fix by storing unified weights of the docking areas independently
of any particular tool window. In other words, a layout
is not just a map of tool window IDs and their properties,
but also a map of docking area weights not tied to any particular
window.

In case the IDE is restarted between hiding one window and
opening another, these weights are also stored as a part of
the tool window manager's state.

GitOrigin-RevId: 160465473ff138197c388fbedd2e02f0a3f10d7d
2022-12-09 16:38:38 +00:00
Sergei Tachenov
ec91039626 Remove unused return value of ToolWindowManagerImpl.dispatchKeyEvent
GitOrigin-RevId: 3691187f4dc81b91d148922b54aebeeedefa0d1c
2022-12-09 16:38:36 +00:00
Nikolay Egorov
662dc441a6 Clarifications and improvements on reducedRanges
GitOrigin-RevId: 3522c0759a75a75510b204a40d64b443e7ceac0c
2022-12-09 16:33:47 +00:00
Roland Illig
e8adfd0e50 Cleanup: inline getApplication in HotSwapUIImpl
GitOrigin-RevId: 732c178831645510c5c0aed10c7ba5f6d8d857ad
2022-12-09 16:06:53 +00:00
Roland Illig
fbb97cd7a2 Cleanup: inline HotSwapUIImpl.scanForModifiedClassesWithProgress
GitOrigin-RevId: c42f9c1af862a9cd5608c25b00476850196067dc
2022-12-09 16:06:49 +00:00
Tagir Valeev
ce59aa0153 [devkit] MigrateToOptControlInspection: supper MultipleCheckboxOptionsPanel
GitOrigin-RevId: dbe631eea99bb2d9590d5488fce1a1c7bf6de121
2022-12-09 15:51:49 +00:00
Tagir Valeev
f4b973f4af [devkit] MigrateToOptControlInspection: shorten references; add on-demand import
GitOrigin-RevId: f10981144168d7c1cf56b062d9c63437544e75ed
2022-12-09 15:51:46 +00:00
Aleksandr Krasilnikov
a2b9bf7fb8 [NewUI] Fix stripe borders to avoid glitche when the bottom stripe shows through the top
IDEA-308163

GitOrigin-RevId: 47e5cc95197fdac7b519ccc173ae269dce2810e4
2022-12-09 15:47:51 +00:00
Dennis Ushakov
31784fd610 [fleet] disable rename for html tags (FL-16870)
GitOrigin-RevId: b8d74e87ef0e438551e74ee289dac8f9b2a95d8e
2022-12-09 15:45:28 +00:00
Dmitrii Gridin
21145f97ad [kotlin][completion][k1] add back psi declaration leak
we have psi and descriptor leaks anyway, so it all needs to be fixed at once

GitOrigin-RevId: 71cc3bc958f6a5521513d93b600430a75d3baf33
2022-12-09 15:43:53 +00:00
Eugene Zhuravlev
ed6d27384f constant values inspection fix: remove redundant check
GitOrigin-RevId: fcb57977451694a87bf0076962771b32c02baed8
2022-12-09 15:41:03 +00:00
Toshiaki Kameyama
0203954838 [kotlin] Create from Usage: fix wrong return type when the usage is a function initializer and the function is an argument
^KTIJ-22424 Fixed

closes https://github.com/JetBrains/intellij-community/pull/2270

GitOrigin-RevId: dfa69300cfe91e5b3268737c992b3af45a406e90
2022-12-09 15:29:48 +00:00
Alexey Belkov
80f9c9f8d0 Fix simple "Constant conditions" warnings in Kotlin
GitOrigin-RevId: 0996f9afd1586efc7fd6cc25ee207e26be126a20
2022-12-09 15:29:45 +00:00
Konstantin Tskhovrebov
4ffa83e385 KT-55313: Add an advanced settings flag "kotlin.mpp.experimental"
GitOrigin-RevId: b6549a7431d9e0c936ab0da3f086f877891bc5de
2022-12-09 15:08:15 +00:00
Anna Kozlova
c7c609e40f [kotlin] k2: enable goto super popup (KTIJ-21112)
GitOrigin-RevId: 885c59f102d21fbb31cbdf1ff202d1d0019bf509
2022-12-09 14:47:24 +00:00
Anna Kozlova
0d901d2594 [kotlin] inheritors search: don't pass symbols between sessions (KTIJ-23910)
GitOrigin-RevId: 846a46865ca11f66beb381de54f7a2728dea05da
2022-12-09 14:47:23 +00:00
Anna Kozlova
4657617439 [line markers] reuse goto implementations for gutter navigation
GitOrigin-RevId: c6cc57b8cf1c550003aa986640ed2ccd5a49d271
2022-12-09 14:47:21 +00:00
Maksim Zuev
803a946a44 [coverage] IDEA-262563 Fix coverage highlighting when some coverage status is disabled
GitOrigin-RevId: 7b7bcc6f02b775ed4bbf9bfed9ac752e2a91ed25
2022-12-09 14:38:17 +00:00
Vladimir Lagunov
ff9782321e DS-4238 Disable scroll events in SVG components of Jupyter notebooks
(cherry picked from commit e46b908257f6860ddc20dfd6875ca801858ed5bd)

IJ-MR-99597

GitOrigin-RevId: 3e5e9d23bd2e1ba3196e67333a176bd05ee5f913
2022-12-09 14:31:49 +00:00
Ilya Goncharov
b3fa40d2a5 [Kotlin/JS] Change message for gradle Kotlin/JS compiler notification
KTIJ-23890

GitOrigin-RevId: 965bd8da63a08086b7a6839cb36136bf7be0e756
2022-12-09 14:26:09 +00:00
Yuriy Artamonov
bc404780a9 [devkit] Use gradle-intellij-plugin 1.10.1 for new projects
GitOrigin-RevId: 36d0270b9cb3af5db42a6b415087af9e9b51471c
2022-12-09 14:21:41 +00:00
Roman Ivanov
20b78d9de1 [formatter] commit and do postponed operations in JavaCStyleCommentSpaceConverterFormatProcessor
GitOrigin-RevId: 54365d09595afd1ab9f7e2b4a9f498bb69507250
2022-12-09 13:40:17 +00:00
Roland Illig
cd18cc094f IDEA-306239 Show unqualified class name for Java field watchpoints
In the Breakpoints dialog, Java line breakpoints are displayed using
their file name (without a path) and the line number. To make Java field
watchpoints similarly short, display their unqualified class name
instead of the fully qualified class name.

For inner classes, display only the class name of the inner class,
without the surrounding class name. This is the most efficient way,
as it doesn't require any PSI lookups.

GitOrigin-RevId: 6b35ce0919331c582b4271287e4e7d6aee0b864e
2022-12-09 13:37:09 +00:00
Roland Illig
61acfcb748 IDEA-306239 cleanup: use String.isEmpty
GitOrigin-RevId: 7ab0a576723bb36e0792bb368a4c983b1746b0be
2022-12-09 13:37:06 +00:00