From 38103e7e4793934fa5c5502d4e61f52ad50d7b8d Mon Sep 17 00:00:00 2001 From: CJ van den Berg Date: Mon, 14 Jul 2025 18:54:01 +0200 Subject: [PATCH 1/2] feat: mention file types configuration --- content/index.smd | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/content/index.smd b/content/index.smd index a508c90..c1a1a54 100644 --- a/content/index.smd +++ b/content/index.smd @@ -132,6 +132,13 @@ Configuration is mostly dynamically maintained with various commands in the UI. It is stored under the standard user configuration path. Usually `~/.config/flow` on Linux. %APPDATA%\Roaming\flow on Windows. +There are commands to open the various configuration files, so you don't have to +manually find them. Look for commands starting with `Edit` in the command palette. + +File types may be configured with the `Edit file type configuration` command. You +can also create a new file type by adding a new `.conf` file to the `file_type` +directory. Have a look at an existing file type to see what options are available. + Logs, traces and per-project most recently used file lists are stored in the standard user application state directory. Usually `~/.local/state/flow` on Linux and %APPDATA%\Roaming\flow on Windows. From 4d728eb42f1d3592ccc9043e4cb00e95efd7aa87 Mon Sep 17 00:00:00 2001 From: CJ van den Berg Date: Mon, 14 Jul 2025 18:59:52 +0200 Subject: [PATCH 2/2] devlog: configurable file types --- content/devlog/2025.smd | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/content/devlog/2025.smd b/content/devlog/2025.smd index 6676fce..f5f1ab8 100644 --- a/content/devlog/2025.smd +++ b/content/devlog/2025.smd @@ -16,6 +16,14 @@ You can [subscribe to this page via RSS]($link.page('devlog').alternative('rss') devlog entries in the [archive](/devlog/). +## [configurable file types]($section.id("2025-07-14T18:55:02+02:00")) + +You can now modify the configuration of file types. There is a new command `Edit file type +configuration` that will open a config file the defaults for a file type which you can change and +save. Changes take effect on restart of flow. This means you can finally change your language server +and formatter configuration and add file extensions without having to build flow yourself. + + ## [improved backtraces for segfaults]($section.id("2025-07-01T20:00:00+02:00")) I've cloned the std.debug segfault signal handlers and added the ability to reset the terminal