zoukankan      html  css  js  c++  java
  • 二.sublime配置 sublimecondeintel 分号后不要提示

    https://github.com/SublimeCodeIntel/SublimeCodeIntel/issues/461

    Thanks to @catgsmith ,I find a similar way to solve this problem in Windows:

    第一步:在sublimecodelintel中,在user key bindings -user中,添加如下配置.
    Select Package Settings > SublimeCodeIntel > Key Bindings - User, and add the following to the Default (Windows).sublime-keymap - User:


    { "keys": [";"], "command": "run_macro_file", "args": {"file": "Packages/User/unAutoSemiColon.sublime-macro"} }

    (注意外面还要有一层[   ]包裹两个{})

    第二步,新建一个脚本,保存在package的user下
    And then Select Preferences -> Browser Packages -> Users,save file unAutoSemiColon.sublime-macro:

    [
        {
            "args":
            {
                "characters": ";"
            },
            "command": "insert"
        }
    ]

    友情提醒:如果代码提示给出的关键字后面没有(keyword),那么还是无效. 因为上面只是在打完分号后执行脚本,直接智能打出分号,上面脚本不执行.

     
  • 相关阅读:
    保存windows 10的登录界面壁纸
    Python 从剪贴板中生成二维码
    SpringBoot
    IDEA8条配置
    Nodejs-hexoBlog
    Mybatis-Plus
    Javaweb文件上传
    GIt基本语法
    JS常用部分整合
    javaweb-maven学习总结
  • 原文地址:https://www.cnblogs.com/non-clockwork-cheng/p/6391449.html
Copyright © 2011-2022 走看看