Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-02

"project template options" menu entry

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marc Santhoff

Hi,

I have found the meu entry "tools - project template options" and scanned the wiki for documentation about it - to no avail.

What does it do exactly and in which format are the template expected to be?

I assume this is something similar to the code completion feature (ctrl-j), does it affect this feature too?

What I was searching for is simple access to my personal copyright headers, comment block to put in front of functions and procedures, and so on. I'd love if I could use them like ordinary text files but without having to navigate a file manager to the directory outside the lazarus/fpc tree each time.

TIA,
Marc

Marc Santhoff

Reply by email

Michael Van Canneyt
to Marc Santhoff
Marc Santhoff wrote 16 lines
Hi, I have found the meu entry "tools - project template options" and scanned the wiki for documentation about it - to no avail. What does it do exactly and in which format are the template expected to be? I assume this is something similar to the code completion feature (ctrl-j), does it affect this feature too? What I was searching for is simple access to my personal copyright headers, comment block to put in front of functions and procedures, and so on. I'd love if I could use them like ordinary text files but without having to navigate a file manager to the directory outside the lazarus/fpc tree each time.

Project templates are complete projects to start from.

/components/projecttemplates/README.txt

explains their usage.

Michael.

Reply by email

Mattias Gärtner
to Michael Van Canneyt

Zitat von Michael Van Canneyt :

Show quoted text 8 lines
On Thu, 25 Feb 2010, Marc Santhoff wrote: > Hi, > > I have found the meu entry "tools - project template options" and > scanned the wiki for documentation about it - to no avail.

This menu item comes with the package 'projecttemplates' written by Michael van Canneyt.

I added a wiki page:
http://wiki.lazarus.freepascal.org/Project_Templates

Show quoted text 18 lines
> > What does it do exactly and in which format are the template expected to > be? > > I assume this is something similar to the code completion feature > (ctrl-j), does it affect this feature too? > > What I was searching for is simple access to my personal copyright > headers, comment block to put in front of functions and procedures, and > so on. I'd love if I could use them like ordinary text files but without > having to navigate a file manager to the directory outside the > lazarus/fpc tree each time. Project templates are complete projects to start from. /components/projecttemplates/README.txt explains their usage.

Mattias

Reply by email

Marc Santhoff
to Michael Van Canneyt: Project templates are complete projects to start from.…
Michael Van Canneyt wrote 5 lines
Project templates are complete projects to start from. /components/projecttemplates/README.txt explains their usage.

Very handy, it needs a little more work once to prepare the templates but then it does mostly what I need. And more, pre-fabbed menues, prepared applications having about dialog ansd stuff and whatever I like to put in there. Nice work!

Thank you both,
Marc

Marc Santhoff

Reply by email