[Github-comments] [geany/geany-plugins] geanyprj/workingdir (#486)

Donjan Rodic notifications at xxxxx
Thu Oct 27 00:32:58 UTC 2016


@b4n @frlan hope you guys (or someone additional) can help me with these.

1. What would be the best (from what we see in `geanyplugin.h`) way of reloading the build menu from the config files? I'd like to add this explicitly because right now switching between non-project tabs with geanyprj loaded doesn't update the working dir from e.g. filedefs. [0]

2. I can't call `build_menu_update(doc);` from a plugin because the linker doesn't see its implementation. Is this supposed to be in `geanyplugin.h` <- `build.h` and we should also build `build.o` from Geany core and link it (help welcome) - or is it not supposed to be used from plugins?

---

[0] Currently I just unset the path instead of keeping it on the last geanyprj value. Setting it to the lowest priority (GEANY_BCS_DEF) doesn't help because the last value still lingers in higher priority. Being able to have two files from separate projects open in tabs next to each other is the killer feature of geanyprj, and works nicely with working dirs now, but probably others would like it to reload filedef paths when tabbing to a non-project file.


-- 
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-plugins/pull/486#issuecomment-256515325
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20161026/b34fad8b/attachment.html>


More information about the Github-comments mailing list