Commit Graph

4 Commits

Author SHA1 Message Date
Mikhail Golubev
e00ac80dbe PY-20777 Disable commenting inside injected Python expressions in f-strings
This solution uses a custom key to mark an injected file as unsuitable for line
commenting, but we should rather generalize it in some other way instead of
further hardcoding language-specific string prefixes in CommentByLineCommentHandler.

Reviewed in IDEA-CR-35030.
2018-08-13 14:58:36 +03:00
Dmitry Jemerov
4ca7cb7e98 restore space in Python line comment prefix (PY-10929); re-fix PY-9840 correctly 2013-11-04 18:55:31 +01:00
Ekaterina Tuzova
4d3a63d50b updated test data 2013-05-28 23:08:43 +04:00
Dmitry Jemerov
2d1ffb5592 PEP8-compliant line commenter behavior in Python (PY-3153) 2013-01-25 15:46:25 +01:00