标签:目录 快捷 www plugins window cab 选择 使用 select
在使用CakePHP框架时,因为MVC的关系,经常需要在多个文件之间来回切换。Eclipse中的一个插件可以让这些工作轻便些。
下载地址是:http://opencakefile.sourceforge.net/
把下载后的文件org.xicabin.cakephp.opencakefile_1.0.0.jar,放到eclipse的插件目录D:\Tools\eclipse\plugins下,重启PDT即可生效。
因为该插件开发得比较早,故view视图是的默认后缀是*.thtml,我们可在Window > Preferences > Open Cake File中设定。
当打开CakePHP中某个control文件时,可通过快捷键Ctrl+Shift+; ,快速切换到model 或view 等视图。(或在工具栏中,选择对应的图标)
其他使用方式如下:(部分快捷方式我没有用出来)
引用
1. Open a CakePHP model file
2. Click ‘Ctrl + Shift + ;‘ to switch to its controller file
3. Click ‘Ctrl + O‘ to select an action
4. Click ‘Ctrl + Shift + ;‘ to swtich to its view file
5. Click ‘Ctrl + Shift + ;‘ to swtich to its model file
6. Click ‘Ctrl + Shift + C‘ to swtich to its controller file
7. Click ‘Ctrl + Shift + V‘ to swtich to its view file
8. Click ‘Ctrl + Shift + M‘ to swtich to its model file
9. Select text like ‘products/index‘ and Click ‘Ctrl + Shift + V‘ to swtich to products‘s index view
http://att.koncoo.com/UpImages/file/2020-05/20200522065518_4623.html
http://att.koncoo.com/UpImages/file/2020-05/20200522070000_8539.html
http://att.koncoo.com/UpImages/file/2020-05/20200522070008_0072.html
http://att.koncoo.com/UpImages/file/2020-05/20200522065558_9946.html
http://att.koncoo.com/UpImages/file/2020-05/20200522065634_6430.html
http://att.koncoo.com/UpImages/file/2020-05/20200522070014_0981.html
http://att.koncoo.com/UpImages/file/2020-05/20200522065712_1713.html
http://att.koncoo.com/UpImages/file/2020-05/20200522065509_0483.html
http://att.koncoo.com/UpImages/file/2020-05/20200522065748_6303.html
http://att.koncoo.com/UpImages/file/2020-05/20200522065824_1176.html
http://ehtx.org.cn/editor/attached/file/20200522/20200522070026432643.html
http://ehtx.org.cn/editor/attached/file/20200522/20200522070054955495.html
http://ehtx.org.cn/editor/attached/file/20200522/20200522070095889588.html
http://ehtx.org.cn/editor/attached/file/20200522/20200522065859885988.html
http://ehtx.org.cn/editor/attached/file/20200522/20200522065597829782.html
http://ehtx.org.cn/editor/attached/file/20200522/20200522065719611961.html
http://ehtx.org.cn/editor/attached/file/20200522/20200522065523152315.html
http://ehtx.org.cn/editor/attached/file/20200522/20200522070023742374.html
http://ehtx.org.cn/editor/attached/file/20200522/20200522065686818681.html
http://ehtx.org.cn/editor/attached/file/20200522/20200522065711771177.html
http://hnqxwy.com/kindeditor/attached/file/20200522/20200522065580288028.html
http://hnqxwy.com/kindeditor/attached/file/20200522/20200522065670587058.html
http://hnqxwy.com/kindeditor/attached/file/20200522/20200522065564166416.html
http://hnqxwy.com/kindeditor/attached/file/20200522/20200522065729352935.html
http://hnqxwy.com/kindeditor/attached/file/20200522/20200522070089568956.html
http://hnqxwy.com/kindeditor/attached/file/20200522/20200522070075057505.html
http://hnqxwy.com/kindeditor/attached/file/20200522/20200522070058665866.html
http://hnqxwy.com/kindeditor/attached/file/20200522/20200522065673307330.html
http://hnqxwy.com/kindeditor/attached/file/20200522/20200522065892859285.html
http://hnqxwy.com/kindeditor/attached/file/20200522/20200522065751845184.html
http://www.0571qianyue.com/kindeditor/attached/file/20200522/20200522070015_2392.html
http://www.0571qianyue.com/kindeditor/attached/file/20200522/20200522065517_8558.html
http://www.0571qianyue.com/kindeditor/attached/file/20200522/20200522065742_7177.html
http://www.0571qianyue.com/kindeditor/attached/file/20200522/20200522065553_0651.html
http://www.0571qianyue.com/kindeditor/attached/file/20200522/20200522070041_4472.html
http://www.0571qianyue.com/kindeditor/attached/file/20200522/20200522070008_8431.html
http://www.0571qianyue.com/kindeditor/attached/file/20200522/20200522070001_7295.html
http://www.0571qianyue.com/kindeditor/attached/file/20200522/20200522065706_1824.html
http://www.0571qianyue.com/kindeditor/attached/file/20200522/20200522065629_6004.html
http://www.0571qianyue.com/kindeditor/attached/file/20200522/20200522065819_1750.html
http://www.20014.com/editor/attached/file/20200522/20200522070050_9797.html
http://www.20014.com/editor/attached/file/20200522/20200522070009_5891.html
http://www.20014.com/editor/attached/file/20200522/20200522065639_1672.html
http://www.20014.com/editor/attached/file/20200522/20200522065523_4016.html
http://www.20014.com/editor/attached/file/20200522/20200522065751_7766.html
http://www.20014.com/editor/attached/file/20200522/20200522065827_2922.html
http://www.20014.com/editor/attached/file/20200522/20200522070021_6203.html
http://www.20014.com/editor/attached/file/20200522/20200522070015_4797.html
http://www.20014.com/editor/attached/file/20200522/20200522065716_6828.html
http://www.20014.com/editor/attached/file/20200522/20200522065602_0735.html
标签:目录 快捷 www plugins window cab 选择 使用 select
原文地址:https://www.cnblogs.com/99876w/p/12937418.html