58 Commits

Author SHA1 Message Date
Nikolay Chashnikov
3a8344fcad [plugin model] use 'public' visibility for content modules which classes are used from external plugins (IJPL-207059)
153 modules which contain classes used from external plugins from the Marketplace are marked as public. This is needed to ensure that it'll be possible to use that API after converting code from these external plugins to content modules.

GitOrigin-RevId: dc48e8970041fddd3bf50d280711e95ce9e9ad9b
2025-10-08 18:39:06 +00:00
Vladimir Krivosheev
4b619431c2 IJ-MR-175479 IJ-CR-146078 IJPL-209476 fast-util
GitOrigin-RevId: 87af2a3aad6e264a9b332c20ff572ec735f741f2
2025-10-06 16:34:02 +00:00
Vladimir Krivosheev
9f425c84ea IJ-MR-175479 IJ-CR-146078 IJPL-209476 guava as product module (part 2)
GitOrigin-RevId: 22ee846c39d44cd481ad55d11889ff43ad3b389a
2025-10-04 19:03:47 +00:00
Ilia Kirianovskii
f43aa95086 [bazel] Update build files (IJI-3062)
GitOrigin-RevId: 98a67396a48bddc3d084cc93c50ae2f2017bfe8c
2025-09-29 00:11:15 +00:00
Vladimir Krivosheev
1b3c93d736 IJ-CR-146078 IJPL-209510 use kotlinx-serialization core and json product modules instead of jps lib (except fleet - no idea what to do)
GitOrigin-RevId: b74e1ac62eb7917aac3d5edb4bbfd2be2a4a191e
2025-09-26 20:36:41 +00:00
Harry Dalton
1c9d755376 [python] Remove a stray angle bracket from the highlighting example
closes https://github.com/JetBrains/intellij-community/pull/3192

GitOrigin-RevId: 0bc57a08f3390df7d3ceccbce653568b64330c36
2025-09-16 16:33:56 +00:00
Nikolay Chashnikov
4f63150cff [intellij project configuration] change JVM target level from 17 to 21 in Kotlin facets (IJPL-176259)
GitOrigin-RevId: d518be3562a359b9d4034c2972d7c8444741b7f0
2025-08-30 07:50:09 +00:00
Aleksei.Cherepanov
c7515bfd3a KTIJ-35250 [Bazel] Promote "Missing dependency superclass" warning to error (part 2)
This commit enables check only for modules WITH a Kotlin facet
Bazel generator was updated as well

GitOrigin-RevId: 90a3427d4b5a3ebc29e257693cb3748ac09bfc6a
2025-08-24 18:49:00 +00:00
Morgan Bartholomew
5b3cb745e0 [python] PY-79930 don't fold __future__ imports
Merge-request: IJ-MR-171486
Merged-by: Morgan Bartholomew <morgan.bartholomew@jetbrains.com>

GitOrigin-RevId: 968e8d7c03dd7e46ff55316cffd07e7e2a9c7b54
2025-08-18 12:09:41 +00:00
Marcus Mews
8637e79bf7 PY-76572 Extract method with typehints
- refactor platform expand-all folding action
- introduce platform folding attribute 'keepExpandedOnFirstCollapseAll'
- use 'keepExpandedOnFirstCollapseAll' for Python type annotation regions
- add tests for new PyCharm two-step collapse action
- add tests for legacy PyCharm two-step expand action

GitOrigin-RevId: ad0931b1b64d2ce6dfee52086193f17234fa537e
2025-08-06 14:39:32 +00:00
Morgan Bartholomew
0c3f10457b [python] PY-7292 folding for cython
GitOrigin-RevId: aa71655356e64e8375c74bf038ca492d787c8058
2025-08-01 00:55:32 +00:00
Morgan Bartholomew
d6d7c0c3f3 [python] convert PythonFoldingBuilder to kotlin
GitOrigin-RevId: 132fa175de770c402055dea183c3750e497dbca5
2025-08-01 00:55:32 +00:00
Morgan Bartholomew
fdaa0d2b05 Rename .java to .kt
GitOrigin-RevId: 11eb7fa918320cd36587057951555d045b56de86
2025-08-01 00:55:32 +00:00
Petr
1399a0c594 PY-81981 Sync pushed language level
GitOrigin-RevId: d60893c0631846bf411819c5d2687e411a0a578c
2025-07-22 19:28:39 +00:00
Petr
138020a17f [python] Move PyKeywordHighlightingAnnotator registration to the module where the class is defined
GitOrigin-RevId: bdee727fbc0806fbb37b28cc9c8f87533dfe4be8
2025-07-16 17:37:52 +00:00
Petr
3e1cf2afd5 PY-71549 Rename PyHighlightingAnnotator -> PyKeywordHighlightingAnnotator
GitOrigin-RevId: 1bf5c7c8cb3c074b2875d309d471840401665e84
2025-07-15 11:17:13 +00:00
Petr
a51b604bd4 PY-71549 Eliminate global shared state inside annotators
Before, when entering an `annotate` method, a reference to `AnnotationHolder` was stored in the annotator field. And this required synchronization. Now this reference is stored into a temporary PyElementVisitor object actually used to perform highlighting.

Also, register all python annotators using a regular 'annotator' EP. There is no point in using 'Pythonid.pyAnnotator'.

GitOrigin-RevId: ad1df8ce743bc62d3f43e6bf9b1a8ea370ff7de7
2025-07-15 11:17:12 +00:00
Petr
3aa74694e7 PY-81471 Move EnterBetweenBracesAndBracketsDelegate registration to common
GitOrigin-RevId: 9e060a28d900870da70188d3e0cba9997e6e7403
2025-06-26 22:18:51 +00:00
Vladimir Krivosheev
f821c646cd IJ-MR-162467 don't export intellij.platform.codeStyle
GitOrigin-RevId: e2c2af372d81e3e83dbf22d49381fea92e5e8a17
2025-06-19 20:15:58 +00:00
Vladimir Krivosheev
98173d2ad2 IJ-MR-162467 don't export intellij.platform.codeStyle
GitOrigin-RevId: cd1147b4b7dcb5ecfc054a45beed584409e35c98
2025-06-19 20:15:58 +00:00
Petr
685695021f PY-81471 Move lang.foldingBuilder to common
GitOrigin-RevId: 3c4f9cc773d14492e9fbf026f0472a908c9262ec
2025-06-18 20:02:26 +00:00
Vladimir Krivosheev
b935234c91 IJ-MR-162467 don't export intellij.platform.projectModel
GitOrigin-RevId: 11c0bf5ca0f3a6d892658a2b149d85cace9aa2b8
2025-06-14 13:00:48 +00:00
Petr
a977877a92 PY-81471 Move PyJoinLinesHandler to python.syntax
GitOrigin-RevId: b6dc592a7eb09ee52547c591b4e5494eca4683ed
2025-06-13 20:21:12 +00:00
Petr
e33aae05fc PY-81471 Move PyStatementMover to python.syntax
GitOrigin-RevId: c9cb03c1bb97720c392ea482765790674f27b647
2025-06-13 20:21:11 +00:00
Petr
748017efe4 PY-81471 Move PythonColorsPage to python.syntax
GitOrigin-RevId: 402caeea59f52bde6cb93c6c9964efc770516bd9
2025-06-13 20:21:11 +00:00
Vladimir Krivosheev
5c7824a820 ui designer compilation - part1 - allow .form as input
GitOrigin-RevId: 5ab44530cdafe63de7f0595fe9c6ba80ab9da174
2025-05-17 19:35:32 +00:00
Vladimir.Koshelev
67594cdaad [pycharm] finish community migration to v2
# Conflicts:
#	community/python/pluginCore/resources/META-INF/plugin.xml

GitOrigin-RevId: e4d6969fd15a3fddc4d6a03491fb9f9634285edf
2025-04-30 10:08:56 +00:00
Daniil Ovchinnikov
6787fe130e mark EnterHandlerDelegateAdapter obsolete and clean up its usages
GitOrigin-RevId: 18180910770bf4c1e7b21e42970adb2d7bb602b0
2025-03-27 15:57:08 +00:00
Daniil Kalinin
97ba49d547 PY-26877 Support adding trailing commas to multiline collections, argument and parameter lists
Merge-request: IJ-MR-153633
Merged-by: Daniil Kalinin <Daniil.Kalinin@jetbrains.com>

GitOrigin-RevId: b304977e30eb4b378d858fcc5300846dc5965445
2025-02-14 08:46:05 +00:00
Daniil Kalinin
2d7ad0e1fb PY-31689 Support wrapping options for parenthesized tuples
GitOrigin-RevId: 2b14686ea8c691627c9a8155f75a7c6727a48bf3
2025-02-13 10:45:38 +00:00
Daniil Kalinin
b1b0a08fbc PY-31689 Support wrapping options for set literals
GitOrigin-RevId: 6f76a929da4bde150339ab924f4e84f91d70d8a3
2025-02-13 10:45:38 +00:00
Daniil Kalinin
f8a57f7367 [Python] Refactor the old DictAlignment enum which prevented dynamic syntax bundle loading
Unfortunately, we need to keep the old int values logic to preserve compatibility with old user settings

GitOrigin-RevId: 59fba8bd53e3d89d31897ed675b54827bbf9b15f
2025-02-13 10:45:38 +00:00
Daniil Kalinin
a9b905bed1 PY-31689 Update the old example code snippet to make it more representative
GitOrigin-RevId: 2506514d88cec7d8845044f50e469ae43ee81eb6
2025-02-13 10:45:38 +00:00
Daniil Kalinin
f9a1e44638 PY-31689 Support wrapping options for list literals
GitOrigin-RevId: be976ddc224983174f5566e53985e29fd49051f4
2025-02-13 10:45:38 +00:00
Vladimir Krivosheev
c3c21baac5 update bazel files
GitOrigin-RevId: 1a10e8174a47f688a95a93af0540f722462acd97
2025-02-03 11:42:18 +00:00
Daniil Ovchinnikov
dea8eddb0c rename intellij.platform.editor -> intellij.platform.editor.ui
GitOrigin-RevId: f4aa008b77368945ce9651fdc47f9463e3445347
2025-02-02 16:22:43 +00:00
Daniil Kalinin
31d7aa1a6c PY-32711 Reformat simple injected code fragments with the corresponding language formatter
* Add `PyFormattableInjectedBlock` entity which allows passing the code inside the injection to the formatter of the injection language (e.g., SQL)
* Add code style options to enable and disable this behavior
* Add tests

GitOrigin-RevId: b63ff37d8aab3e37d101be3d0cc9e7ff0897b5a1
2025-01-21 15:47:46 +00:00
Vladimir Krivosheev
0bc1cf1557 update bazel files
GitOrigin-RevId: 7320d3eff3aba093692ce66839c720ece6d7c4db
2024-12-30 11:28:24 +00:00
Vladimir Krivosheev
cc667842f7 IJ-CR-146078 do not export intellij.platform.ide.impl
GitOrigin-RevId: 16a29b914bf81d4d5e3cdb43c64b088113a2fcd4
2024-12-30 10:16:07 +00:00
Vladimir Krivosheev
68d99c6550 cleanup
GitOrigin-RevId: 9cb238c220249088bfc75a448eb310b93c7fc45c
2024-12-26 14:56:01 +00:00
Vladimir Krivosheev
98799639aa do not use _test as lib - test targets do not support this
GitOrigin-RevId: f2f49db4294b6a64040dbbd5f1d95e972cbd70a3
2024-12-15 18:32:30 +00:00
Vladimir Krivosheev
17916c90f8 libraries -> lib, resources, opt-in, test deps
GitOrigin-RevId: db66ee95dcb0f0553b40c9cc56cd6afed8634cdd
2024-11-27 13:53:42 +00:00
Vladimir Krivosheev
4a176d4c02 IJ-CR-146078 extract intellij.platform.bootstrap
GitOrigin-RevId: b79efc92829111228e83058e54381d8e02116b6f
2024-10-05 22:01:55 +00:00
Vladimir Koshelev
ec8c3a8aa3 [pycharm] remdev: migrate PyCharm Frontend launcher to v2 modules
GitOrigin-RevId: e2c62c23bd0a22c742a46177c1a1ad4c4b5b95d0
2024-07-24 13:13:53 +00:00
Vladimir Koshelev
1483eeb02a [python] move backspaceModeOverride to PythonSyntax.xml
GitOrigin-RevId: a092d5cc86a59c7a7d3f121b43c29971460ae12c
2024-06-25 16:47:25 +00:00
Petr
4602d09655 PY-61639 Extracted PyHighlightingAnnotator
GitOrigin-RevId: 432bcb87b77fa55f1ccb26000d91ae021cebcc6b
2024-03-27 15:05:16 +00:00
Vladimir Koshelev
8b918211ba [python] move keys for forms from PyBundle.properties to PySyntaxBundle.properties
GitOrigin-RevId: 24bd35ffdb0f4c97721aaeac632db3aadc95ffbe
2024-02-16 15:53:26 +00:00
Petr
f075a5653e PY-61639 Move PyTripleQuoteBackspaceDelegate to python.syntax
GitOrigin-RevId: b3674bde41df358db492a284868f64b0d7da7ab8
2024-02-16 15:53:06 +00:00
Petr
ccaf156fa7 PY-61639 Move PythonSpaceHandler to python.syntax
GitOrigin-RevId: 1695fae693e959a3c85cc5e8e8e9acb1bed24892
2024-02-16 15:53:01 +00:00
Petr
f6cad19f19 PY-61639 Move PyKeywordTypeHandler to python.syntax
GitOrigin-RevId: 3e0e70f5868b0fc09c35e571db0d0e553902eb6d
2024-02-16 15:52:56 +00:00