On 12.10.2015 20:19, Anthony Walter wrote:
I'll looked at CodeTools, attempted changes, and rapidly gave up after trying to work through all kinds of confusion.

Just don't give up, otherwise Lazarus won't move forward!

Earlier this year I offered to try once again if only I could get a little help/tutelage but no follow up contact was made. The offer still stands. If the maintainer of CodeTools want some help, I'll be glad to do what I can but can we setup some time to chat (like on IRC) to help me get more familiar with however CodeTools is organized?

I cannot speak for Mattias but from my point of view (and I am at the same side as you - learning CodeTools code), you should not need or require such help. You can study by debugging the code. And I always got answers from Mattias to specific technical questions (I think I didn't have more than 3, though). One of my first patches for CodeTools was class helper support http://bugs.freepascal.org/view.php?id=28266 and it was 2 weeks of work. To support file names with dotted namespaces you won't probably need so much time but it should not be underestimated.

You probably will have to create a new structure for file namespaces, break filenames to pieces by dots and store the file information accordingly. Actually, thinking of it now, it should be possible with this approach.

Question to FPC people: does FPC support defining namespaces as Delphi does?
E.g. that a unit "MyCompany.MyLibrary.MyUnit.pas" I can be refered to with only "MyUnit" in the uses clause if the namespace "MyCompany.MyLibrary" is added to the project settings?

I have never used dotted names in FPC, only in Delphi, so forgive me if it is a dumb question.

Ondrej




--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to