The Gram Code Editor - 2026-05-27


  1. brainchild

    I just started playing with Gram. I am impressed by the promise, while also immensely frustrated that files are consistently reformatted, behind my back, whenever I save. (Thank goodness for revision management.) I disabled the global `format_on_save`, which in my opinion absolutely should be disabled by default, but regardless, the files are still reformatted. I wonder if I could get some help overcoming this grave obstruction. Reformatting features may be useful if they are invoked manually, but I cannot have changes to my work imposed by a robot. Also, I may not be using the chat properly. I see many messages shown as six days old, and none more recent.

  2. krig

    Hi! The chat is not super active, but we are here :)

  3. krig

    Formatting is a per-language setting, so you may need to change the defaults for your language.

  4. krig

    And yes, the way the settings work is byzantine, overly complicated and confusing. This is true of a lot of things in the editor. We have some work to do…

  5. nicoco

    I like format_on_save by default, but I turn it off for projects I contribute to and that don't define formatting rules in a way that the LSP/formatter available in gram understands. There were no messages for 6 days indeed. Perks of using a nice technology, we haven't had a single spammer or troll yet. (but now I've jinxed it by saying it out loud, we're probably going to have our first spammer today)

  6. nicoco

    I like format_on_save by default, but I turn it off for projects I contribute to and that don't define formatting rules in a way that the LSP/formatter available in gram understands. There were no messages for 6 days indeed. Perks of using a niche chat technology, we haven't had a single spammer or troll yet. (but now I've jinxed it by saying it out loud, we're probably going to have our first spammer today)

  7. brainchild

    I'm glad I found a way to exchange messages. Chat often works well for a core of committed contributors, but it also can feel quite limiting and unwelcoming for those not within such a core. At the risk of seeming pedantic, I might emphasize that for broader engagement with the community, including with those who might contribute occasionally, other means of exchange are more ideal. Allowing questions and requests to be submitted to the issue tracker, or, if resources permit, operating an instance of a forum such as Discourse, might help to expand participation. I understand of course that the project is quite nascent, Meanwhile, my own feature request, to be clear, is that "format on save" be disabled by default globally as well as for each language. If language defaults are not reliable, then the global setting could be extended to include three options: 1) always, 2) never, and 3) as configured per language.