[Github-comments] [geany/geany] geany not merge local NF_XX_XX build-menu items for filetypes (#2740)

elextr notifications at xxxxx
Tue Feb 2 03:10:45 UTC 2021


Filetype dependent non-filetype commands are only loaded from the project file, not from the user filetype file.  

I admit that the [wiki](https://wiki.geany.org/howtos/configurebuildmenu) article could be clearer when it says:

"As noted before, filetype dependent settings are only considered if the file currently selected in the editor matches the filetype the setting is for. For settings in the filetype file, clearly that is the filetype the settings are in, but for project settings both the filetype and non-filetype dependent settings are stored in the project file."

which is intended to indicate only the project file has those settings.

This was done to retain backward compatibility with the preceeding build settings operation where the user non-filetype settings are loaded from the user config file, not the user filetype file because, after all, they are non-filetype settings.  

The reason non-filetype commands were read from system filetype commands was because there was already some hard coded exceptions that checked the filetype and overrode the default "make" commands, so that was removed and it was generalised.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2740#issuecomment-771319990
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210201/39922fe3/attachment.htm>


More information about the Github-comments mailing list