Commit Graph

6 Commits

Author SHA1 Message Date
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