tonkv / qdevelop

Automatically exported from code.google.com/p/qdevelop
0 stars 0 forks source link

code snipets are needed #39

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
code snipets means:

I press "class" and this code is entered to the editor:

Class | {
public:

private:
};

The notation "|" means that the text cursor should be in that place.

Another example is "for":

for ( | ; ; )
{
}

Original issue reported on code.google.com by cucoma...@gmail.com on 18 Nov 2006 at 11:18

GoogleCodeExporter commented 9 years ago
I would like some sort of template library. This could be a directory inside the
project dir and / or the QDevelop dir ".\templates".
QDevelop would then allow "New from Template", offer the .h and *.cpp files as 
choice
(Icons like Word) and then do substitution of keywords like:

$Class$ -> the classes name e.g. SampleImpl
$ClassDef$ -> the define for the header file e.g. SAMPLEIMPL_H
$Date$
$Time$
$DateTime$

-Jens

Original comment by jens.re...@gmail.com on 5 Dec 2006 at 9:36

GoogleCodeExporter commented 9 years ago

Original comment by Lord.Div...@gmail.com on 14 Feb 2009 at 7:22