Author Topic: Any way to do the following?  (Read 3297 times)

Offline h3x

  • Single posting newcomer
  • *
  • Posts: 3
Any way to do the following?
« on: December 30, 2012, 11:42:15 pm »
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.

Offline ptDev

  • Almost regular
  • **
  • Posts: 222
Re: Any way to do the following?
« Reply #1 on: December 31, 2012, 08:52:18 am »
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.