News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Any way to do the following?

Started by h3x, December 30, 2012, 11:42:15 PM

Previous topic - Next topic

h3x

Either to make a default code option under settings work for empty files or somehow make it so that when i press ctrl + shift + n a c++ source file is created instead of an empty file.

Bascially what i need is for a file to be created with default source code when i press ctrl + shift + n.

ptDev

Go to Settings > Editor > Default Code. There you can input all the code that you want as part of every new source file you create.

Also, look into the code snippets plugin, it can also prove helpful to you.