• zend studio快捷模板 开发工具之zend studio一些配置


    以下是以Zend Studio 10.0.0版本为基础的:

    模板的配置(template):

    【菜单】->【Window】->【preferences】->【PHP】->【Editor】->【Templates】->新建模板就可以了,

    或者直接在Preferences上面的搜索框中输入template就可以找到了。

    epe  : echo '<pre>',print_r(${cursor},1);exit;

    eppe : echo '<pre>',print_r(${cursor},1);echo '<pre>',print_r(  ,1);exit;

    vd     : var_dump(${cursor});

    vde   :  var_dump(${cursor});exit;

    trc    :  

    try {
         ${cursor}
    } catch (Exception $$e) {
        Kohana::log('error', __CLASS__.'->'.__METHOD__.' Line:'.__LINE__.' 操作失败:'.$$this->last_query()." ".$$e->getMessage());
       return false;
    }

    lgd :  Kohana::log('debug', __CLASS__.'->'.__METHOD__.' Line:'.__LINE__.' '.var_export( ${cursor} ,true));

    lge  : Kohana::log('error', __CLASS__.'->'.__METHOD__.' Line:'.__LINE__.' '.var_export( ${cursor} ,true));

    lgs  : Kohana::log('error', __CLASS__.'->'.__METHOD__.' Line:'.__LINE__.' params: '.${cursor}.'  '." ".'  '." " );

    ###############------####

    echo __FILE__.' Line:'.__LINE__.'<pre>',print_r(${cursor},1);

    echo __FILE__.' Line:'.__LINE__.'<pre>',print_r(${cursor},1);exit;

    var_dump(${cursor});

    var_dump(${cursor});exit;

    log::write('File:'.__FILE__.' LINE:'.__LINE__." ".' '.var_export(${cursor},true));

            log::write('==API请求参数== '.var_export($$logMessage,true));
            log::write('$$API返回结果$$ '.var_export($$this->httpResponse,true));

    $$this->translator->${cursor};

    $$etime = microtime(true);//获取程序执行结束的时间
    $$totalTime = $$etime-$$stime;   //计算差值
    log::write('File:'.__FILE__.' LINE:'.__LINE__." ".'程序执行时间: '.var_export($$totalTime,true));

    $$stime = microtime(true); //获取程序开始执行的时间

    js,css,html快捷插件:aptana的安装配置

    http://www.zendstudio.net/archives/zend-studio-7-1-and-aptana-are-good-brothers/

    zendstudio中的花括号提示符颜色如何修改

    Window->Preferences->General->Editors->Structured Text Editor->Matching brackets hightlight

    Zend Studio 修改高亮变量的颜色、括号颜色

    Zend Studio 双击变量后会高亮所有用到的该变量的背景色,如何修改高亮变量的背景色:

    打开 Window->Preferences->General->Editors->Text Editors->Annotations->PHP elements 'read' occurrences(PHP elements 'write' occurrences)

    右侧选择高亮背景色 255,128,192

     

    Zend Studio 修改括号颜色,如下

     黄色:255,255,162

    当鼠标在分号前点击时,前面括号的颜色修改方式:

    打 开Window->Preferences->General->Editors->Structured Text Editors , Appearance color options 下修改 Matching brackets highlight的颜色即可

     

    系统自带的快捷键:
    CTRL+M | 将当前编辑窗口最大化/还原
    CTRL+E |搜索已打开的文件名
    CTRL+SHIFT+M | 搜索方法名
    CTRL+? | 注释或取消注释

     

  • 相关阅读:
    [CF1028D] Order book
    初入python,与同学者的第一次见面(小激动)
    jira与mysql的配合搭建调整
    linux内置的审计跟踪工具------last和lastb
    rman
    nginx和apache的一些比较
    NYOJ128前缀式计算
    NYOJ2括号配对问题
    大数加减乘以及高精度幂
    在不同的页面之间通过查询字符串传递信息
  • 原文地址:https://www.cnblogs.com/andydao/p/3617937.html
Copyright © 2020-2023  润新知