Add command to enter on interactive shell of Symfony
This commit is contained in:
parent
a39314a5de
commit
c3d53ca448
8
README
8
README
@ -4,6 +4,7 @@ Symfony2 plugin for ViM
|
|||||||
This plugin handles:
|
This plugin handles:
|
||||||
* symfony routing autocompletion
|
* symfony routing autocompletion
|
||||||
* symfony DIC autocompletion
|
* symfony DIC autocompletion
|
||||||
|
* symfony console
|
||||||
* php stack trace navigation using quickfix list
|
* php stack trace navigation using quickfix list
|
||||||
|
|
||||||
=========================
|
=========================
|
||||||
@ -13,6 +14,13 @@ In other terms, check that ``app/console container:debug`` and ``app/console rou
|
|||||||
|
|
||||||
Then you can use <C-x><C-u> (user completion feature) to see all routes and DIC services with some extra informations in the ViM's menu popup.
|
Then you can use <C-x><C-u> (user completion feature) to see all routes and DIC services with some extra informations in the ViM's menu popup.
|
||||||
|
|
||||||
|
|
||||||
|
=========================
|
||||||
|
|
||||||
|
To open the Symfony console, you must have a ``app/console`` script to enter on interactive console.
|
||||||
|
|
||||||
|
<C-M> To open the console.
|
||||||
|
|
||||||
=========================
|
=========================
|
||||||
|
|
||||||
To handle stack trace navigation with Symfony2, you can use this exception handler class:
|
To handle stack trace navigation with Symfony2, you can use this exception handler class:
|
||||||
|
@ -55,3 +55,6 @@ fun! CompleteSymfony(findstart, base)
|
|||||||
return res
|
return res
|
||||||
endfun
|
endfun
|
||||||
set completefunc=CompleteSymfony
|
set completefunc=CompleteSymfony
|
||||||
|
|
||||||
|
" Open console
|
||||||
|
map <C-M> :! php app/console -s<CR>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user