Commit Graph

15 Commits

Author SHA1 Message Date
Egor.Eliseev
0c73c9eff9 PY-72274 separating content for python core/pro plugins
1. Delete `intellij.python.community.impl.xml` (move content to `PythonCore` plugin). It is necessary to fix incorrect dependencies: `PythonCore`, `Pythonid` include the same module.
2. Fixed dependencies: if some plugin/module needs Python core functionality, then it should depend on `PythonCore`.


Co-authored-by: Vladimir Koshelev <Vladimir.Koshelev@jetbrains.com>

Merge-request: IJ-MR-136158
Merged-by: Egor Eliseev <Egor.Eliseev@jetbrains.com>

GitOrigin-RevId: ce9ed4c17f601ee1ca2b6cf608f4e30fdac1d879
2024-06-19 21:39:24 +00:00
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
Ilya.Kazakevich
a0ff363aab Migrate python markdown to v2
GitOrigin-RevId: fb7cc9c3ae6cd79d4d71e94e98ad1a1ae3c03bc5
2023-12-21 19:59:43 +00:00
lada.gagina
ad5b55918e Revert tests with over-inferring LiteralString
(cherry picked from commit 0c92e1c64362e2834b01b4e0bcbcedfefe4febe0)

IJ-MR-112631

GitOrigin-RevId: 233abfde16b19e96c5bc39c77eef1a240aa1b3e8
2023-11-07 22:10:23 +00:00
Ivan Posti
4a023bc1a4 [Markdown][RDCT-220] Add plugin module as test dependency for code fence tests
GitOrigin-RevId: caac74b37df38032a53eabbd9a940ed4702eafc5
2023-11-01 12:55:48 +00:00
Lada Gagina
454b1287ae PY-58857 Infer typing.LiteralString for string literals
GitOrigin-RevId: 27507deabd61faedf7937415016f0f8334e5a418
2023-06-21 16:32:22 +00:00
Daniil Ovchinnikov
578eaaf60e rename library kotlin-stdlib-jdk8 -> kotlin-stdlib
GitOrigin-RevId: cddf45ccfd5563d3fe209bea62a1c37c94f44ff9
2023-01-10 12:22:34 +00:00
Alexey Belkov
8d0c00e7e4 Run Kotlin inspection "Redundant semicolon" on whole project
GitOrigin-RevId: f747f82c4e72f73070d6863fabed31dabf87ad0a
2022-05-23 21:37:20 +00:00
Daniil Kalinin
dda63f05d8 PY-40313 Fix for "Python string literals in Markdown documents are treated as 'bytes' for type-checking purposes"
(cherry picked from commit 2a423d0fbbf4524844c52189a6be4cf9f43f7407)

IJ-CR-18590

GitOrigin-RevId: 33739b79cb8bc76c447d69080940985f431641dc
2021-12-27 09:25:39 +00:00
Ivan Posti
48252dca1f [Markdown] Do not export intellij.platform.testFramework
GitOrigin-RevId: da84a5cf73d9700a1a3bb7abd9c8a370594b1f29
2021-12-08 15:15:39 +00:00
Andrey Vlasovskikh
f04f102683 PY-46321 Suggest "pycon" as the main alias for Python console code on GitHub
GitOrigin-RevId: 892043c4a320ebb6618cc3b526f2fdb72ae5057f
2021-04-27 17:32:05 +00:00
Andrey Vlasovskikh
6d8428ee4e PY-46321 Renamed PyDocstring into Doctest to make more sense as a user-visible name in Markdown code fence blocks
GitOrigin-RevId: 1284ab756e522db0c8109b59d6d78b1d1f503a7f
2021-04-27 17:32:03 +00:00
Andrey Vlasovskikh
44b1a7097f PY-46321 Disabled the code formatter for PyDocstring language
PyDocstring is based on Python, but its custom tokens `>>>` and `...` are registered just as whitespace. These tokens are ignored by the Python code formatter, which results in exceptions from the formatting model, which doesn't cover the whole text range.

We could either fix the formatting model or just disable formatting for PyDocstring. I prefer the latter for now, since the current approach with PyDocstring being a dialect of Python results in many subtle errors. It's better to have a workaround for now and maybe re-write doctest support later.

GitOrigin-RevId: 68b9a57650631f5d7245c85ada294af85c0aad44
2021-04-27 17:32:01 +00:00
Andrey Vlasovskikh
ac36f11225 PY-46321 Tests for Python and Python REPL in Markdown code fences
GitOrigin-RevId: f6d7f212c363f7852f69a4a54993b36774d9fed6
2021-04-27 17:31:59 +00:00
Andrey Vlasovskikh
eaefde3c09 PY-46321 Added Markdown code fence aliases for PyDocstring and Python
* PyDocstring: "pycon", "python-repl"
* Python: "py", "python3"

I've added the links to the documents describing popular references to `PyCodeFenceLanguageProvider`.

GitOrigin-RevId: 6cafb15c9655434f5d69aa47eb7472b634364377
2021-04-27 17:31:57 +00:00