Commit Graph

11 Commits

Author SHA1 Message Date
Andrey Lisin
245207ee9d PY-31110 Display unknown reStructuredText directives verbatim
(cherry picked from commit d85b7c8b514342d5cab1fe200bd08477f5081566)

IDEA-CR-70988

GitOrigin-RevId: 8ccab5e6eb96321fdcc229f73e34965024d3bc89
2021-03-21 17:23:49 +00:00
Mikhail Golubev
e1e70a2c7c PY-41923 Migrate ReST configuration producers to newer dynamic plugins-ready API
The main problem with them is that due to an odd design decision they both share
the same configuration type -- RestRunConfigurationType, and it doesn't quite fit in
this newer typed API, e.g. isConfigurationFromContext() can receive a configuration
instance of a wrong type (DocutilsRunConfiguration for SphinxConfigurationProducer and
vice-versa) due to it, producing a CCE at runtime. I employed a workaround already
used in Python testing run configurations sharing the same problem. Namely,
overloaded getConfigurationSettingsList() to additionally check that instances of
RunnerAndConfigurationSettings with RestRunConfigurationType type actually
correspond to run configurations of the proper concrete class.

Note that setupConfigurationFromContext can also receive a run configuration of a wrong
type but in reality it doesn't happen since Sphinx and Docutils run configurations are
applied to different contexts -- directories and individual .rst files respectively.

GitOrigin-RevId: 15fbb90917edd68e6f29b696c527ff04d4eed433
2020-04-29 22:04:28 +00:00
Aleksei Kniazev
00a3b19b73 resource-bundle fixes for some python actions (PY-41126)
GitOrigin-RevId: cca188efce86b6fe846825b88d259b9bb6227e82
2020-03-17 20:53:55 +00:00
Alexander Koshevoy
5e9e741485 PY-40431 Extract messages from actions in intellij.python.reStructuredText module
GitOrigin-RevId: 9847e96efbd53db923943d9dfea936f5571e1bd6
2020-02-10 14:20:15 +00:00
Sergey Ignatov
f7872198b1 mv rest bundle
GitOrigin-RevId: e1e77c3cd78c6ec44d874db2d2326b6b8ccede6d
2020-01-05 19:31:47 +00:00
Ekaterina Tuzova
0f8e7428ed added simple preview for restructured text 2018-06-18 16:41:11 +03:00
Yann Cébron
81d29f9bd5 Plugin descriptors: remove deprecated attribute idea-plugin@version (IDEA-163694) 2016-11-11 17:08:58 +01:00
Ekaterina Tuzova
7f1def1df1 capitalization 2015-03-02 14:42:13 +03:00
Ekaterina Tuzova
78de90beb7 fixed PY-10740 Error trying to create new Pyramid project
removed duplicated code
2013-09-07 19:26:15 +04:00
Ekaterina Tuzova
a647dd4499 fixed PY-8004 Doctest: support doctests in restructured text 2012-12-26 18:35:51 +04:00
Dmitry Jemerov
3e74985510 enable python-rest and python-localization in python plugin build 2012-11-14 17:34:06 +01:00