Commit Graph

950 Commits

Author SHA1 Message Date
Ilya.Kazakevich
9d4751f238 [python, ds, jupyter]: Migrate Python support to V2
Layout:

  JPS modules
  `intellij.python.community`
  `intellij.python.community.impl`
  `intellij.python.parser`
  `intellij.python.psi`
  `intellij.python.psi.impl`
  `intellij.python.ast`
  use package `com.jetbrains.python`
  and go to `intellij.python.community.impl` v2 module

  JPS module
  `intellij.python`
  uses package `com.intellij.python.pro`
  and goes to `intellij.python/pro` v2 module

  Both v2 modules (along with lots of others) come with
  `PythonId` (prof) or `PythonCore` (community) plugins

  DS bundles  `intellij.python.community.impl`

  Idea and other Mini IDEs get `PythonCore` or `PythonId` plugin that bundle modules for Idea and mini IDEs

GitOrigin-RevId: 98f418c52d90d51b9adf3250c561f2c36c767e2d
2024-01-22 20:26:58 +00:00
Dmitry Batkovich
8ae167421a make sh annotator dumb aware IJPL-380
GitOrigin-RevId: 2a2357eb983d71cc406a44ebbda6c652accf1a5a
2024-01-21 16:02:26 +00:00
Vladislav Rassokhin
c5ff291b46 IDEA-337965 Don't show update shfmt notification for versions newer than the default one
GitOrigin-RevId: 085b5208cc8c193963c6cca778c6110c0180b9b2
2023-12-12 21:36:15 +00:00
Vladislav Rassokhin
7584eeb662 IDEA-337965 Don't show update shellcheck notification for versions newer than the default one
GitOrigin-RevId: f7185a60e6dbafe20a86897533c39ced20951b6a
2023-12-12 21:36:15 +00:00
Sergey Simonchik
b46d3bac8d terminal: support running shell commands in block terminal programmatically (IDEA-336088)
GitOrigin-RevId: d149ebb0a2453a22e0f4a7b206e1e7cae55e6215
2023-11-05 23:24:39 +00:00
Mikhail Mazurkevich
8a0a3bf103 [sh] IDEA-277486 Fix default shell interpreter detection if terminal plugin is unavailable
GitOrigin-RevId: 30f3967ae4c604b4958e9fb35614af40b0da4d5b
2023-11-02 23:34:39 +00:00
Mikhail Mazurkevich
4a157e4a4d [sh] IDEA-277486 Fix default shell interpreter detection for code snippets
The commit fixes the default shell interpreter detection for code snippets in the shell plugin. Previously, the plugin
used a hardcoded default shell path, but now it correctly retrieves it using the `TerminalProjectOptionsProvider`. This
the interpreter path is taken from the terminal settings

GitOrigin-RevId: 0f3738bf36c00de7ce29252a1e33f94cac77a905
2023-11-02 16:19:14 +00:00
Dmitry Batkovich
47b21d4d1d IJPL-327
line marker pass has to work in dumb mode

GitOrigin-RevId: 655b9191811a440287aa7115b370bb6da50a01f1
2023-11-01 07:56:11 +00:00
Sergey Simonchik
010b95438d sh: suggest to run shell scripts from physical files only (IDEA-336310)
Even though running shell script not from physical files is possible (for example, statements could be run in the project root folder, or in the parent folder of containing file - relevant for shell code fences in *.md files), it seems like `ShRunConfigurationProducer` doesn't support it yet, because it sets `configuration.setScriptPath(virtualFile.getPath())`. If such a feature is wanted, it should be designed separately.

GitOrigin-RevId: 80c3f0d3a61862c8f00159e6e4c42d034ea358f7
2023-10-26 01:01:36 +00:00
Tagir Valeev
51854f80b3 "Method can be static" fix massive application
GitOrigin-RevId: ed296b85922a6814d5c6057b5cbc720f0c546e41
2023-10-20 19:12:56 +00:00
Louis Vignier
a7d33eaba6 [properties] Cleanup: fix extra space before ellipsis
#IDEA-334322 Fixed

GitOrigin-RevId: 7114856688771756bae7694542abac6e5ad1177d
2023-10-07 10:54:04 +00:00
Sergey Simonchik
e6eb00eedc terminal: suppress highlighting of text occurrences in terminal prompt (IDEA-334207)
GitOrigin-RevId: 5a484a080a110025d70070f1cef98c58ca8cf8bd
2023-10-06 13:19:27 +00:00
Konstantin Hudyakov
99107b2b0f [terminal] IDEA-326059 Do not show live templates from ShellScript in completion
Also, edit the order constraints to make them more safe and reliable if some contributors will be absent.

GitOrigin-RevId: 40f3c32eb3b21afcf08a96012ed297064e90285e
2023-07-27 18:09:14 +00:00
Piotr Tomiak
1d3e210cc4 LexerTestCase: add missing @NotNull annotations to improve interoperability with Kotlin
GitOrigin-RevId: e98b6523585f4659687abca687c8b42618dfd8bc
2023-07-13 10:11:07 +00:00
Konstantin Hudyakov
9009d394c0 [terminal] IDEA-315850 Prioritize Terminal completion contributors over SH contributors
Also, make change terminal contributor's language to ANY, because we do not rely on Shell Script in all cases.

GitOrigin-RevId: bb5330d0817fbe4391aa3f34a7fd231c5dbeca29
2023-07-10 13:22:50 +00:00
Nikolay Chashnikov
004deb1959 [sh] deprecate useless ShIcons class
It just delegates to another class, and also it uses a non-standard package name. If we add new icons to this module, it'll be better to put the new icons class to the standard package (com.intellij.sh.core.icons).

GitOrigin-RevId: 79b98f8c70ed93fd4e17c0938732b7bccdb6e326
2023-06-23 17:00:15 +00:00
Aleksey Rostovskiy
d1553c2af7 Pass project to ShShellcheckUtil#download
IJ-MR-108756

GitOrigin-RevId: 9fb4cae8796b5c24b348608cabde06232ca11dd6
2023-06-22 12:42:50 +00:00
Yuriy Artamonov
49f3addd81 IDEA-218662 Shell script notification is unexpected, and distracts
GitOrigin-RevId: ac011bcebd32bc9fca3309e6f1f0a031ecdc9b2a
2023-05-30 12:30:22 +00:00
Dmitry Avdeev
e7da5747f1 IDEA-172245 Run Context Configuration should grab focus
"Focus tool window" option added to run configurations

GitOrigin-RevId: 51240804e843a2af1c684a4a59439e828b87898d
2023-05-10 20:43:20 +00:00
Yuriy Artamonov
a96ccefcea [sh] Fix shFile icon mapping for new UI
GitOrigin-RevId: 68ce1d34abd34998df8db55140e837f4fc5b7ec9
2023-05-07 23:02:03 +00:00
Vladimir Krivosheev
227d75a1fc don't extend DynamicBundle
GitOrigin-RevId: 49cbebd629a92877dbeeffba8d97b0631fb9407e
2023-05-05 09:46:42 +00:00
Vladimir Krivosheev
6dbda83b26 use komihash for icon classes to align rasterized key with a runtime cache key (same algo)
GitOrigin-RevId: fec04acb91d4a69d5c50571d3408c9b0ce3fddd4
2023-03-24 15:49:56 +00:00
Sergey Simonchik
c70dd7bbd2 terminal: cleanup TerminalWorkingDirectoryManager.getWorkingDirectory API
GitOrigin-RevId: 5fbc5e32a8ed03ef5f7d6e5741797944461c6652
2023-02-10 16:50:51 +00:00
Tagir Valeev
f456ed0604 Pattern variable can be used mass cleanup
GitOrigin-RevId: 55839bf0deca5f81d0f7eb5b1c190145a5ea0037
2023-02-07 13:58:20 +00:00
Nikolay Chashnikov
e4febd654e compare strings using 'equals' instead of '==' or '!=' (IDEA-312368)
This is needed to avoid possible errors and get rid of warnings.

GitOrigin-RevId: 115b4953db0f6cf8f64795627ecc9fa20ef748e3
2023-02-06 19:58:59 +00:00
Sergey Simonchik
dd7e62440f terminal: migrate TerminalSessionEditorProvider to use AbstractTerminalRunner.createShellTerminalWidget and related fixes
GitOrigin-RevId: d022cdfe93d69769870d07b07ac1320cd6aa1b92
2023-02-04 12:23:37 +00:00
Sergey Simonchik
f084305953 terminal: split jediterm-pty library to jediterm-core and jediterm-ui
9d9db186a5
(cherry picked from commit fbf11d0bb9ea27410c4f958cc2c120ee8075caec)

IJ-MR-101540

GitOrigin-RevId: 5e97629a78bb81efe539ce1ce84acf9e3ecffc00
2023-01-23 13:07:27 +00:00
Yuriy Artamonov
14daf0f8c3 [spelling] @NotNull TokenConsumer consumer in Tokenizer
GitOrigin-RevId: ba7b161e92c8047602fe9fd993d48d2140c60179
2023-01-18 09:32:44 +00:00
Sergey Simonchik
5e70fee603 sh: use WslPath
GitOrigin-RevId: 383a49303540b58de759ff80935e1c12f3aef5f7
2023-01-12 17:43:50 +00:00
Sergey Simonchik
35834f4248 terminal: rename TerminalView to TerminalToolWindowManager
GitOrigin-RevId: c9d9c13b1bb84e57573288e00b0f38a05a362906
2023-01-10 19:26:19 +00:00
Sergey Simonchik
eaf01e8bb4 extract BaseOutputReader.Options.forTerminalPtyProcess
GitOrigin-RevId: 0b68c8e7dd042d8314475c03d6cac94ee1a07702
2023-01-05 21:24:18 +00:00
Vladimir Krivosheev
57764d700b mark classes final
GitOrigin-RevId: 6414b6f2119c82c7567987dd30b35cab5491d9e2
2022-12-30 06:58:01 +00:00
Dmitry Krasilschikov
15471f4a93 IDEA-308859 move pre-checks out of the EDT: ShellcheckSetupNotificationProvider
GitOrigin-RevId: 82bb4443cd7ff4b8b2c4fc1976cb8e1b994af4f2
2022-12-28 00:42:24 +00:00
Vladimir Krivosheev
98ace0a061 use XXH3 instead of MurMur3 to generate an icon image key
The main reason — use XXH3 everywhere

GitOrigin-RevId: 7b158b9b3689d16f09182abb0b58113c7303f874
2022-12-27 08:01:26 +00:00
Dmitry Krasilschikov
b916c23b7f IDEA-308859 refactor com.intellij.ui.EditorNotifications.Provider to com.intellij.ui.EditorNotificationProvider
GitOrigin-RevId: fdb46c0f4b0afd8ad75b81fdb8ce00613a925b87
2022-12-19 14:44:55 +00:00
Vladimir Krivosheev
5555c3f167 cleanup and refactor status bar manager
GitOrigin-RevId: 1f2aee7d453718476222fb2218bc73b4a3649ad4
2022-11-30 08:24:39 +00:00
Alexey Kudravtsev
cb354509bb tests: replace newArrayList() with immutable list
GitOrigin-RevId: 83ad164a681156a17994950fb05969a2659a3949
2022-11-28 19:58:24 +00:00
Mikhail Mazurkevich
906c5743db [intellij sh] IDEA-273336 i18n for live templates
GitOrigin-RevId: a0e24e8f19b3a1a0080f0dd825acbc3483ec6f91
2022-10-31 14:32:26 +00:00
Mikhail Mazurkevich
5660f8c3ca [intellij sh] IDEA-303496 Use declared shebang for auto-created run configurations
GitOrigin-RevId: 2463456d5b2e87cb8e6426068f5c14b6620ccaa8
2022-10-12 17:03:00 +00:00
Mikhail Mazurkevich
01a5c62c2f [intellij sh] IDEA-242334 Hide template in comments
GitOrigin-RevId: 497ae9cf4788967b062ebab339c3eb471472dece
2022-10-12 10:49:20 +00:00
Alexey Kudravtsev
8a6104f6be replace manual asserts with standard assertIsDispatch()
GitOrigin-RevId: 8fb5ef1e28e14a2dc35448f2f2ff3ff59446ad5c
2022-10-08 14:35:12 +00:00
Tagir Valeev
adb060863f Text blocks used
GitOrigin-RevId: 7db538c0a10131a3f946436c85b42fe7d7dc5b10
2022-09-29 12:58:29 +00:00
Tagir Valeev
0577e2f137 Text blocks used in production code
GitOrigin-RevId: f9f5c027037972fd02aa6d3e262bb175e2b676b3
2022-09-27 11:30:34 +00:00
Mikhail Mazurkevich
2ab2db5a09 [intellij sh] IDEA-260027 Avoid interception Run context configuration action for python files
GitOrigin-RevId: 3596d4b4c8ef79bc4d16aada023ca311a8723792
2022-09-12 18:32:22 +00:00
Mikhail Mazurkevich
a98897a49e [intellij sh] Regenerate icons
GitOrigin-RevId: e71ac77e930f8095f53600b2b7b4ebc1e804aad2
2022-09-10 18:28:45 +00:00
Mikhail Mazurkevich
b3d360223c [intellij sh] Rename impl => core
GitOrigin-RevId: b0c3fe114c6df798a09d0f46e3a39112e775a0a7
2022-09-10 18:28:42 +00:00
Mikhail Mazurkevich
38600f7587 [intellij sh] Extract markdown module and use it as optional dependency
GitOrigin-RevId: f13d723e386f606dd266f109248fd8d9e2f06e52
2022-09-10 18:28:35 +00:00
Mikhail Mazurkevich
875efb1621 [intellij sh] Extract dependency to copyright plugin into the separate modules and include it as dependency
GitOrigin-RevId: 4c7b73e6917c1b0962e28adda589ed62434b90cd
2022-09-10 18:28:32 +00:00
Mikhail Mazurkevich
482878cece [intellij sh] Replace dependency api => impl
GitOrigin-RevId: bc14f07b884ea568749bc5153b349c66ef5b2ef1
2022-09-10 18:28:29 +00:00
Mikhail Mazurkevich
9a4fb0cd25 [intellij sh] Replace api module to impl
Actually `impl` module contains all plugin code. Module with direct plugin declaration become as thin as possible, it includes XML file with all extensions from `impl` module. Such solution is needed to avoid circular dependencies with modules for optional plugin's extensions. It's possible to stay with `api` module and include it as dependency, but actually there are a lot of code which should be extracted there, and it was decided to extract all plugin code to such module which actually will be used everywhere. For now `impl` used as dependency in `plugin`, `terminal`, `copyright`, `tests` and much more modules.

GitOrigin-RevId: 677863a8a2920477521673a73eec9ab820c3154f
2022-09-10 18:28:26 +00:00