2016-02-04 83 views
4

我是我的PHP代碼的第一次使用Atom編輯器。 Atom可以自動完成PHP的內置功能。是否有可能使編輯器自動完成我的自定義函數寫入一個單獨的文件?在PHP的Atom編輯器中啓用自動完成或智能感知

function.php

<?php 
function printSomething() { 
    echo "Hello World"; 
} 

的index.php

<?php 
require_once "function.php"; 
printSomething(); // autocompleted by Atom editor while typing 

在此先感謝。

回答

相關問題