Feature SS-2308
1 vote

comment/uncomment via math strings

Created by Davide on 3/31/2016 12:18 PM Last Updated by chomplitter on 1/7/2026 8:26 AM
%
 (hrs)
Logged: 0   (hrs)

 Description

Please inspect the possibility to easy convert math to math string and vice-versa in an easy way (the latest when is possible). The idea is to have a sort of commment/uncomment feature.

Two ways I've figured out:

- when a math region is selected, by typing the double quote the selection may be converted in a math string; typing the double quote in a math string, SMath can try to convert it to a math formula (if not possible, it remains a string)

- by shortcuts (CTRL+something)

    chomplitter (Wednesday, January 7, 2026 8:26 AM) #

I really like this idea, especially for SMath—having a "comment/uncomment" feature for math regions would be a huge productivity boost when you're testing different versions of a formula. The double-quote shortcut feels very intuitive since it mimics how many IDEs handle strings, but I think a dedicated CTRL shortcut would probably be the most reliable way to avoid accidental conversions while typing. geometry dash free