Tobias Hunger
38cce7eb83
Update License according to agreement with Free Qt Foundation
...
* Update all files in share folder
Change-Id: I8a82c3eb2eb614d4339dd4c4e690f54b5f29d813
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com >
2016-01-19 16:05:29 +00:00
Tobias Hunger
0cda81a99c
Snippets: Add license snippets
...
Change-Id: If3b3d9b4f602848ffe39c72a90d4b0f1275eb828
Reviewed-by: David Schulz <david.schulz@theqtcompany.com >
2015-10-19 08:43:27 +00:00
Tobias Hunger
ee47b652a6
Snippets: Allow lowercase/titlecase/uppercase modifiers for variables
...
Use the same syntax already used in the custom wizard to denote
variables that are modified to be lower-/title-/uppercase:
$tESt:u$ will become TEST
$tESt:c$ will become TESt
$tESt:l$ will become test
The snippet will be inserted without any name mangling happening.
Once the editing is done the name mangling is applied to all fields.
Change-Id: I7c1f5a1ad2bb5acf1b88b54de51bb39391c64763
Reviewed-by: David Schulz <david.schulz@digia.com >
2013-08-20 14:49:17 +02:00
Sergio Martins
01252c53df
Remove semicolon from Q_PROPERTY snipplet.
...
Change-Id: I3e5ae3eb17701c7c0dceca53011ab9998449f531
Reviewed-by: Eike Ziller <eike.ziller@digia.com >
2013-07-16 13:57:30 +02:00
Christian A. Reiter
8be991b1ba
add $type$ variable to Q_PROPERTY cpp snippet
...
Task-Number: QTCREATORBUG-7368
Change-Id: I7201a552baa7b9c92e129dcc2cc63cb1a4524dbd
Reviewed-by: Eike Ziller <eike.ziller@digia.com >
2013-03-27 09:11:02 +01:00
Nikolai Kosjar
660afe2a63
Editor: Add snippet for main function
...
Change-Id: Iec778663351a866432a215cb9ab90d6261763141
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-02-19 01:25:13 +01:00
Tobias Hunger
3f85291282
Add snippet for Q_PROPERTY
...
Change-Id: I7dd40f8da1ebd108748eb89fc84f7fbfce90e36b
Reviewed-by: David Schulz <david.schulz@digia.com >
2013-02-12 15:43:43 +01:00
Yuchen Deng
237ddd0f91
Snippets: Add 'switch' trigger for C++ code snippets
...
Change-Id: Id8f860e1469d7e01e42fb39d3273817623aeded6
Merge-request: 2207
Reviewed-on: http://codereview.qt-project.org/6166
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com >
2011-10-06 16:46:18 +02:00
Yuchen Deng
625b0ae6eb
Snippets: Put the cursor in a more useful final position
...
e.g.
for (int $var$ = 0; $var$ < $total$; ++$var$) {
$$
}
In final, we need put the cursor at the $$ position.
This makes the code easier to write.
Change-Id: Ied1e6f6bc15277dae43d3052bfb2543124afcb82
Merge-request: 2207
Reviewed-on: http://codereview.qt-project.org/6165
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com >
2011-10-06 16:45:56 +02:00
Leandro Melo
898bc97cce
Snippets: Make it flexible for adding builtin snippets
...
Instead of in one XML embedded as a resource, now builtin
snippets can be specified on any XML distributed under share.
2010-12-08 17:22:14 +01:00
Leandro Melo
7528c6d617
Snippets: Feature enhancement start...
...
Provide an interface so users can create/edit/remove snippets.
2010-12-08 17:22:07 +01:00
Leandro Melo
769b2103a3
Snippets: Add more templates.
2010-09-27 10:31:41 +02:00
Leandro Melo
cafcce0c37
Add support for C++ snippets.
2010-09-24 20:22:03 +02:00