Enable autocomplete or intellisense in Atom editor for PHP -


i'm first time user of atom editor php code. atom can autocomplete built-in functions of php. possible make editor autocomplete custom function written in separate file?

function.php

<?php function printsomething() {    echo "hello world"; } 

index.php

<?php require_once "function.php"; printsomething(); // autocompleted atom editor while typing 

thanks in advance.

there text file in %userprofile%.atom called snippets.cson. in there can add snippet.

more this: http://flight-manual.atom.io/using-atom/sections/snippets/

but need think can use later on other files well. otherwise need copy , paste.


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -