59

When I create a new file using PhpStorm it creates it's own comment at the top, this would be fine however when using codeigniter comments using /* */ do not work, anyway to disable this? if not i'm going to have to get a new editor.

Here is what I mean

<?php
/**
 * Created by PhpStorm.
 * User: Josh
 * Date: 28/02/2015
 * Time: 22:53
*/
JohnBob
  • 691
  • 1
  • 6
  • 5

3 Answers3

126

Windows: Go to File -> Settings -> Editor -> File and Code Templates -> Includes (TAB) -> PHP File Header

Mac: Go to PhpStorm -> Preferences -> Editor -> File and Code Templates -> Includes (TAB) -> PHP File Header

And then you can edit it or remove it, or whatever you wanna do :)

Jesper
  • 3,816
  • 2
  • 16
  • 24
10

settings > editor > file and code templates > includes(tab) > php file header

I recommend to erase content instead of deleting this element

Kamil Karkus
  • 1,283
  • 1
  • 11
  • 29
0

Instead of erasing the content you can just comment it out by surrounding it with {#...#} because it uses Apache Velocity template language.

Qcho
  • 91
  • 1
  • 4