Cubxity / typstudio

A W.I.P desktop application for a new typesetting language, typst.
GNU General Public License v3.0
611 stars 19 forks source link

Math highlight&autocomplete #18

Open sitandr opened 1 year ago

sitandr commented 1 year ago

Typst is proposed to replace TeX, and one of major reason of Tex popularity among scientists is convinient math typing. Typst makes it even easier to type math, and I suppose that there will be many people waiting for offline editor to type math in a better way. Therefore, I think supporting math is an important issue. For now, however, typstudio considers anything between dollar signs as some kind of "string" with no highlighting or hints.

It is actually okay as it is W.I.P., but I want to mention that it is probably a highly desired feature (personally, that is the thing that stops me from using it right now). Besides, it is possibly worth mentioning at README that "Autocomplete" and "Syntax highlighting" are just partly implemented for now (to avoid misunderstanding, you are doing a great work anyway).

Cubxity commented 1 year ago

I agree. Although, autocomplete is implemented for math

sitandr commented 1 year ago

It was working for me if typing code in math (with "#"), yeah, but not math functions themselves. Probably, that was a local bug, I will get a look later.