sencha vim plugin
- require python 2.7+
- require projects made with Sencha Command
NeoBundle 'tnker/vim-sencha-util'
- MVVM file toggle switch
- Jump to the corresponding file from the classpath
- Jump to the corresponding handler has been written with the view controller
- Jump to the xtype name file
app/
├ model/
├ store/
├ view/
| └ main/
| ├ MainController.js
| | ├ onClickButton()
| | └ onConfirm()
| ├ MainModel.js
| └ Main.js
└ Application.js
:SenchaMVVMToggle
View name as a prefix searches for each file.
[Hoge].js
[Hoge]Model.js
[Hoge]Controller.js
:SenchaParserReadCurrentLine
Ext.xxx.xxx
- Search for standard class package.
Xxx.xxx.xxx
- Find the package that you created yourself.(under the
app
directory)
- Find the package that you created yourself.(under the
:SenchaParserReadCurrentLine
:SenchaParserReadCurrentLine
- Sencha Touch 2.x
- Sencha Ext JS 5.x
- Sencha Ext JS 6.x (In the response)
map <silent> <C-@> :SenchaMVVMToggle<CR>
map <silent> <C-f> :SenchaParserReadCurrentLine<CR>