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),那么还是无效. 因为上面只是在打完分号后执行脚本,直接智能打出分号,上面脚本不执行.

     
  • 相关阅读:
    [栈]
    [数据结构实验]学生成绩管理
    [数据结构实验]集合交并
    shapefile 转 geojson 文件类型
    ubuntu sublime text key
    opengl
    c++
    sublime text3 key
    ubuntu安装nvidia驱动
    全球国家svg边界svg
  • 原文地址:https://www.cnblogs.com/non-clockwork-cheng/p/6391449.html
Copyright © 2011-2022 走看看