Thanks All for response,<div>At present I am trying to play with existing Geany "project" plugins )<br><br><div class="gmail_quote">On Tue, Jan 22, 2013 at 10:49 AM, Lex Trotman <span dir="ltr"><<a href="mailto:elextr@gmail.com" target="_blank">elextr@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 22 January 2013 19:15, Thomas Young <<a href="mailto:thomasyoung@free.fr">thomasyoung@free.fr</a>> wrote:<br>

> Hi all,<br>
><br>
><br>
>> One thing that's different from Geany from other IDEs I've used is that<br>
>> it doesn't have "files in the project" but rather just stores "where are<br>
>> the project's files" (ie. base path).<br>
><br>
> Right.<br>
> Speaking for myself, and the build setup I'm working with right now, this<br>
> actually suits me very well.<br>
><br>
> Essentially, the set of files for a 'project' for me is defined as 'all the<br>
> source files under a specified root directory'.<br>
> And this then fits in well with the way Geany works, because I can add new<br>
> source files just by creating files, or copying and renaming existing files,<br>
> and so on, without any additional 'add to project' action required.<br>
><br>
> (And from various posts I've seen, I have a feeling that quite a lot of<br>
> people have some kind of similar project setup now.)<br>
><br>
> One thing that _doesn't_ fit in so well with the geany (core) paradigm is<br>
> the 'go to tag definition' feature (which is included in Geany core).<br>
><br>
> I have a build setup on Windows, also, with MSVC, and for comparison in that<br>
> case I actually need to run a script to update visual studio project files<br>
> after adding a new object, and depend on visual studio detecting this and<br>
> offering to reload the project.<br>
><br>
> But then, after it reloads the project file, it then knows about all of the<br>
> relevant source code and can do this properly (if you give it a bit of time<br>
> to update it's source code indexing in the background).<br>
><br>
> In Geany, however, in order for the 'go to tag definition' feature to work<br>
> you actually need to make sure you have the source code file that defines<br>
> the tag loaded.<br>
> So, for this to actually be useful in the general case, you _do_ actually<br>
> need to have your whole set of project files loaded.<br>
<br>
</div></div>Hi Thomas,<br>
<br>
Or you can load tags files instead, so long as the symbols are in<br>
memory, and I am told (I don't use them myself) that the project<br>
plugins (there are two with slightly differing behaviour) will arrange<br>
for this to happen for you, rather like the msvc system.<br>
<div class="im"><br>
><br>
> So, this is actually completely inconsistent with the whole simple 'list of<br>
> open files is a session and there is no list of files in project' paradigm<br>
> being discussed, I think, and is then also confusing and misleading for<br>
> people starting to use Geany, as well as complicating the core source code<br>
> and dependencies.<br>
<br>
</div>Thats why the project plugins are plugins, they significantly change<br>
the paradigm.<br>
<div class="im"><br>
> So, I suggest that this whole 'tag' based code analysis thing should<br>
> actually be _removed_ from Geany core (and perhaps moved into one of the<br>
> project management plugins)!<br>
<br>
</div>No, it still works within the files that are open, we don't want to<br>
force people to use the full project paradigm of the plugins just to<br>
look for definitions in one or a few files.<br>
<div class="im"><br>
><br>
> (As an aside, for myself, I'm managed to hack something up that uses<br>
> libClang to lookup references, that doesn't need know about the whole set of<br>
> project files in order to work. It actually just executes the corresponding<br>
> compile command within libClang each time you click 'lookup reference', and<br>
> so fits in quite nicely with the 'no list of files in project' paradigm..)<br>
<br>
</div>That sounds interesting, are you going to make a plugin from it?<br>
Maybe you could load the symbols info into Geany and then not have to<br>
run clang again and again.  Matthew was also looking at something<br>
similar I think.<br>
<br>
Cheers<br>
Lex<br>
<br>
><br>
> Best regards,<br>
><br>
> Thomas<br>
><br>
><br>
>[...]<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
Devel mailing list<br>
<a href="mailto:Devel@lists.geany.org">Devel@lists.geany.org</a><br>
<a href="https://lists.geany.org/cgi-bin/mailman/listinfo/devel" target="_blank">https://lists.geany.org/cgi-bin/mailman/listinfo/devel</a><br>
</div></div></blockquote></div><br></div>