[Github-comments] [geany/geany] Questions/discussions about build.c code (#2274)

Nick Treleaven notifications at xxxxx
Sun Sep 29 16:46:09 UTC 2019


@elextr Under [here](https://wiki.geany.org/howtos/configurebuildmenu#implementation_how_flexibility_is_achieved), it says:

3. settings from the user preferences file
4. settings from a user configured filetype file for the type of file selected in the editor
5. settings independent of filetype from the open project file
6. settings for a specific filetype for the type of file selected in the editor which come from the open project file

But in build.h we have this order:
```c
	GEANY_BCS_HOME_FT,	/**< Filetypes in ~/.config/geany/filedefs */
	GEANY_BCS_PREF,		/**< Preferences file ~/.config/geany/geany.conf */
	GEANY_BCS_PROJ_FT,	/**< Project file filetype command */
	GEANY_BCS_PROJ,		/**< Project file if open. */
```
The wiki and source don't match for any of these enum values. I also notice that GEANY_BCS_PROJ_FT doesn't get used for GEANY_GBG_FT in get_next_build_cmd, is that a bug?

Then it says: "in reality there are only three sources, system, user and project settings". Might it be possible to have the build sources enum just have those three sources (plus default if it can't be merged with system)?

-- 
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/2274#issuecomment-536319535
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190929/99585cd6/attachment.html>


More information about the Github-comments mailing list