The user's selection does not last long, because when closing the file and reopening it, the original language returns. If so, Geany would have to save a database with the chosen language for each file.

It lasts for the session which as you point out is until its closed, note that the session persists across Geany shutdowns and restarts and so does the set filetype.

that Geany decides the language by reading from the Mime

Geany does not use the system mime types and associated "majik" because it is not accurate enough for many filetypes. It is ok when generating the wrong icon on the file manager, that is hardly the end of the world, but its seriously annoying when it happens to an IDE filetype as you have found.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/issues/3884/2132058477@github.com>