sagemathinc / cocalc

CoCalc: Collaborative Calculation in the Cloud
https://CoCalc.com
Other
1.17k stars 216 forks source link

f-string auto close quotation marks #3514

Closed profbrady closed 1 week ago

profbrady commented 5 years ago

Since Python implemented f-strings in version 3.6 and CoCalc notebooks can run versions 3.6+, I would like to have auto closing quotation marks and syntax highlighting when using f-strings. Currently typing f' does not automatically close the quote like it does for standard strings.

I just realized this happens for r'' and u'' representations as well.

haraldschilly commented 5 years ago

To me this looks like that issue: https://github.com/codemirror/CodeMirror/issues/2344

williamstein commented 1 week ago

I'm labeling this wontfix, since it's upstream in an editor that is not under active development anymore, so nothing is going to happen.