Files
openide/python/testData/commenter/lineCommentInFStringFragment.py
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

2 lines
26 B
Python