I’m easily distracted when I write online. I prefer to have an offline experience when I write. I’m coming from LaTeX where I used TexStudio / Texmaker and enjoyed that experience. I know the ecosystem around typst is still growing and there are some promising projects to meet that need, but maybe its time I looked at a more general purpose text editor that assists with writing typst (and other languages).
What are some of your favorite editors to use with typst? I know there is tinymist with vim (neovim, helix, etc.), emacs and VScode. But I want to avoid learning a traditional (modal) editor and avoid using VSCode. My requirements are the editor be open source, support tinymist for syntax highlighting, code completion, and plug-ins for spelling checking and ideally grammar checking, utf-8 support and right-to-left (RTL) language support. Ideally this text editor would work on linux and windows.
I really like Kate and pretty much use it exclusively for Typst (I also wrote the Typst syntax highlighting for it!). It has LSP support so you can use tinymist, though I have only tested it with typst-lsp myself, and does spell checking. Of course it has UTF-8 support and it looks like it also does RTL text layout correctly. Works on Linux and Windows.
I use VSCodium and the tinymist plugin. I realize you’re probably not interested in it, but it is not modal, is open source, and is technically not VSCode.
I’ve just discovered Kate thanks to the post above, and also want to second @hallthor’s thanking @dblsaiko for both writing the syntax highlighting and for pointing Kate out above, and especially that it fully supports RLT editing, which seems otherwise impossible on most code editors that can run Tinymist on the Mac.
Hi, I’m on an M2Pro Mac Mini running MacOS 15.4.1. I’ve downloaded the Mac Arm-64 version of Kate to try it (I use BBEdit currently as my text editor), however there is no way I can get it to run… it is completely blocked by the system. Can you tell me how you have succeeded.
Yes, you are right, those are the only two options. But at the time of trying to install the app, a pop-up will appear, and if you go to that Privacy & Security section it will give you the chance to accept the app.
“failed to execute child process”? I assume that means it should be installed but doesn’t run for some reason. (The error I’m getting when it’s not installed is “Failed to find server binary”.)
Is there nothing else in the Output tab? What happens if you run it (or Kate, run “kate -b -n” to make it not run in the background) from a terminal? Do other LSP servers work in Kate?
Otherwise, I have no idea. It just works for me (just tried tinymist).