Commit Graph

19 Commits

Author SHA1 Message Date
Irina Fediaeva
2ac1a788e3 PY-52574: Remove Epytext docstring format & Py2 docstring rendering
Docstring rendering is no longer supported for Python 2, which became obsolete after reaching its end of life in 2020. Without updates or security patches, most tools, including documentation generators like Epydoc, have shifted focus exclusively to Python 3.


(cherry picked from commit ace78ac9ad943278449d5b20bb92db9f7571b5b5)

IJ-CR-148150

GitOrigin-RevId: 75cc87e05c61c3c17c26689552080e3c3082bfdc
2024-11-28 01:35:54 +00:00
Peter Gromov
934ecd177b IJPL-148254 Suppress sentence-starting and -ending punctuation errors in multi-sentence literals
GitOrigin-RevId: 79647bfb4c5901a3267e39da86a2ab95e3c32d1a
2024-08-06 09:04:53 +00:00
Peter Gromov
59e0ddc429 IJPL-90547 Suppress missing-space errors in chained references embedded into text
GitOrigin-RevId: 15b545318fb80b90fb7d3c9cae605ebc07729b0a
2024-08-05 21:14:24 +00:00
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
28372d5d89 Migrate python grazie to v2
GitOrigin-RevId: 945df1be286e054a763039b7e6ccf647ef753a84
2023-12-21 21:23:20 +00:00
Peter Gromov
fc8165132e [grazie] ignore sentence capitalization issues in various doc tags
GitOrigin-RevId: e1563f745ea25399d4b62ae3661f38a76d8f24b6
2023-02-01 09:57:33 +00:00
Daniil Ovchinnikov
578eaaf60e rename library kotlin-stdlib-jdk8 -> kotlin-stdlib
GitOrigin-RevId: cddf45ccfd5563d3fe209bea62a1c37c94f44ff9
2023-01-10 12:22:34 +00:00
Mikhail Golubev
9bb81ec3b0 PY-53047 Exclude known reST and Epydoc tags from Grazie grammar checks
Namely, ignore everything starting with a known tag and until the closing
colon. It should match constructs like ":return:", as well as
":param list[int] x:". Excluding just the tags is not enough,
as the following identifier and colon are still recognized as part of
a grammatically-incorrect sentence.

In other languages, where markup elements in documentation comments have
their own PSI elements, this exclusion is easier. Maybe we should do the
same for reStructuredText directives at some point.

GitOrigin-RevId: 9c50148097d3e27fe79cdc0a9aa90a7946b215ca
2022-11-18 20:00:14 +00:00
Peter Gromov
242515cc20 [grazie] trim trailing spaces on each line in some languages to avoid "multiple whitespace" warnings there
GitOrigin-RevId: 8e6c42028f421c2f4ed85c828c1f7f518974728f
2022-01-14 14:06:07 +00:00
Peter Gromov
edc74347d1 [grazie] join adjacent comment texts with \n, not a space (IDEA-279919: unpaired symbol false positives)
GitOrigin-RevId: 1c42e091f56391f7b3642701e3490c92d43ca8b9
2021-10-12 14:54:54 +00:00
Alexey Kudravtsev
761e8af4c7 remove wrong dependency of OpenAPI module "python-community" on impl modules
GitOrigin-RevId: 4dc39d6ab5eda3d2c8089cfb4fe587251ec00b22
2021-08-15 18:57:16 +00:00
Peter Gromov
d3dfcb4ace [grazie+python] analyze adjacent comment texts together
GitOrigin-RevId: 63f0a7e72d36c3d040247e00795775f47c9d7274
2021-07-01 09:57:25 +00:00
Pavel Bakhvalov
03738e323e Revert "[Grazie, Python] IJ-CR-9516 Add Grazie test module for Python"
This reverts commit 00b2a2ba0dbab7d4f5497b56ddf05a4f203dc586.

GitOrigin-RevId: af2d9f75c3d927b6d0622870cdabd9be6b1da296
2021-06-28 21:34:49 +00:00
Pavel Bakhvalov
6bb9cca2ac [Grazie, Python] IJ-CR-9516 Add Grazie test module for Python
GitOrigin-RevId: 00b2a2ba0dbab7d4f5497b56ddf05a4f203dc586
2021-06-28 14:00:41 +00:00
Peter Gromov
e7b81fe125 grazie: convert JS/JSON/Yaml/Python grammar checking strategies to the new API
GitOrigin-RevId: f44abcb998400815f4a26f2afcde7df4c6779994
2021-05-31 18:12:34 +00:00
Vladimir Krivosheev
d4e9b09e26 cleanup (final)
GitOrigin-RevId: 93607e195763f2acf29ee0d7a280d7e07e8d2f14
2020-06-26 12:21:17 +03:00
Vladislav Tankov
d31e708226 [Grazie] Use Strategies instead of Languages for disabling. Support Comment/Doc/Literal disabling in strategy.
GitOrigin-RevId: abc7e5f56e4780d3613fff985ba6d6288a0c1b00
2020-02-22 19:33:53 +00:00
Mikhail Golubev
17ed1d40a1 PY-40470 Move Python support from the bundled Grazie plugin to PyCharm core
First of all, it's easier to maintain the corresponding extensions this way as
the language evolves.

Also, it will help to extract remaining language-specific logic from Grazie to
other language plugins, as existing direction of optional dependencies (Grazie -> Python)
prevented doing the same for JavaScript because of an introduced plugin dependency
(JavaScript -> Grazie -> Python -> JavaScriptDebugger).

GitOrigin-RevId: a1e5a3d8121daf4f949abd0a602eb79c8a6f6dd9
2020-02-21 18:15:52 +00:00