mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
Put the new line at the end of the main code template.
This commit is contained in:
parent
0e0113adf1
commit
06d652b74c
1 changed files with 2 additions and 1 deletions
|
@ -61,7 +61,8 @@
|
|||
}</template>
|
||||
<template name="main" description="%mainMethod" context="org.eclipse.cdt.ui.text.templates.c" id="org.eclipse.cdt.ui.text.templates.c.main" enabled="true">int main(int argc, char **argv) {
|
||||
${cursor}
|
||||
}</template>
|
||||
}
|
||||
</template>
|
||||
<template name="class" description="%classDeclaration" context="org.eclipse.cdt.ui.text.templates.c" id="org.eclipse.cdt.ui.text.templates.cpp.class" enabled="true">class ${name} {
|
||||
${cursor}
|
||||
private:
|
||||
|
|
Loading…
Add table
Reference in a new issue