Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable PHPStorm new file branding

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
*/
like image 915
JohnBob Avatar asked Feb 28 '15 23:02

JohnBob


2 Answers

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 :)

like image 166
Jesper Avatar answered Nov 04 '22 14:11

Jesper


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

I recommend to erase content instead of deleting this element

like image 10
Kamil Karkus Avatar answered Nov 04 '22 14:11

Kamil Karkus