After opening Geany, or after creating a new tab in Geany, the default filetype is `None` and the default extension is null.
It will be quite useful to allow the user to specify a default filetype, or at least a default file extension when saving content in new Geany tabs.
A possible simple implementation would be allow the user to create `filetypes.None.conf` in which they could specify something like:
``` [settings] # default extension used when saving files extension=txt ```
Having the ability to set the filetype of new files is reasonable, just add a setting to `Edit->Preferences->Files->New Files` with a combo box to select the filetype. The semantics can simply be the same as `Files->New` then `Document->Set filetype->[what the setting says]`.
Having the ability to set the filetype of new files is reasonable, just add a setting to `Edit->Preferences->Files->New Files` with a combo box to select the filetype. The semantics can simply be the same as `Files->New` then `Document->Set filetype->[what the setting says]`.
Yes, that will work quite well.
Following this as it is a feature I would love to see.
github-comments@lists.geany.org