> 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 or view it on GitHub:
https://github.com/geany/geany/issues/3884#issuecomment-2132058477
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/issues/3884/[email protected]>

Reply via email to