thinkphp的自动完成脚本(in Autohotkey)

该日志由 xm 发表于 2009-07-30

   工欲善其事,必先利其器。开发thinkphp用什么ide是一个问题。很多高手喜欢用editplus,因为它启动快速、占用资源小,而且有非常好的自动完成和剪辑库的功能。不过,对于像我等这种菜鸟来说,editplus的功能还是不够强大。比如,连代码提示也没有,实在是不能忍。因此,我选择了phpdesigner这个ide。但是,这个ide(包括试用过的其他很多ide)似乎没有代码自动完成功能(我没有找到),看着网上高手发布的acp文件只有流口水的份。

    能不能两者兼得呢?

    利用autohotkey的hotstring,其实可以方便地实现自动完成功能。因此,就使用phpdesigner这个软件就可以了

    以下为Autohotkey代码,完善中。。。(如对Autohotkey使用有疑问,可以在网上搜索。有时间我也写写相关的入门文章.)

  1. ::ta::$this->assign('',);{left 4}  
  2. ::td::$this->display();  
  3. ::ab::public class Action extends BaseAction{{}{}}{left 27}  
  4. ::an::public class Action extends Action{{}{}}{left 23}  
  5. ::fun::public function (){{}{}}{left 4} 
  6. ::arr::
    Clipboard=
    (
    array=(
    ''=>'',
    ''=>'',
    ''=>''
    `)
    )
    send,^v
    Return
     

 

 标签:    thinkphp, autohotkey
 网摘:  Yahoo Baidu Google Bolaa 365Key Yesky Wozhai POCO ViVi Hexun Del.icio.us Furl Blogmarks 分享到饭否
相关文章: (最多只显示10条记)
thinkphp的RBAC实现的一点想法(修改中) (浏览:889, 评论:0)
thinkphp即将有大动作 (浏览:722, 评论:0)
thinkphp的模板定位 (浏览:530, 评论:0)
thinkphp的widget (浏览:347, 评论:0)
thinknew (浏览:255, 评论:0)
thinkphp 1.6 rc1发布 (浏览:376, 评论:0)
yblog学习——Input类的使用 (浏览:427, 评论:0)
yblog学习——widget的实现 (浏览:389, 评论:0)
yblog学习——action设计 (浏览:437, 评论:0)
yblog学习——工程间调用 (浏览:387, 评论:0)
发表评论:( 来了就留个脚印吧!你的参与是我最大的动力!)

    

我要啦免费统计