Sublime text 2 - find file by class name in Zend Framework

前端 未结 2 1187
灰色年华
灰色年华 2021-01-24 19:59

When you press Ctrl+p Sublime will open popup when you can easily find the file. Sublime auto detect the file location in both situation when you press /

2条回答
  •  北恋
    北恋 (楼主)
    2021-01-24 20:50

    To get to the class definition you are looking for there exist several plugins doing "code intelligence". The plugins are language specific.

    The most popular is SublimeCodeIntel which provides Jump to symbol definition functionality. SublimeCodeIntel claims to do this for PHP too. However, who to setup this for your project should be another question.

    Some more options for possible source code static analysis in Sublime Text 2 in this blog post:

提交回复
热议问题