sublime C++配置

插件:

解析json pretty json,ctrl + alt + j解析 ctrl + alt + m还原

旁栏Side​Bar​Enhancements

括号匹配BracketHighlighter

旁栏颜色SyncedSidebarBg

行末多余空格TrailingSpaces

主题 material theme

选中高亮Color Highlighter

安装Package Control 网址https://packagecontrol.io/installation#st3

import urllib.request,os,hashlib; h = '6f4c264a24d933ce70df5dedcf1dcaee' + 'ebe013ee18cced0ef93d5f746d80ef60'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)

 

c++ 按ctrl + B 编译显示cmd :https://blog.csdn.net/gl486546/article/details/78208634?tdsourcetag=s_pctim_aiomsg

{
    "encoding": "utf-8",
    "working_dir": "$file_path",
    "shell_cmd": "g++ -Wall -std=c++11 \"$file_name\" -o \"$file_base_name\"",
    "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
    "selector": "source.c++",

    "variants": 
    [
        {   
        "name": "Run",
            "shell_cmd": "g++ -Wall -std=c++11 \"$file\" -o \"$file_base_name\" && start cmd /c \"\"${file_path}/${file_base_name}\" & pause\""
        }
    ]
}

 

原文链接: https://www.cnblogs.com/lalalatianlalu/p/10942465.html

欢迎关注

微信关注下方公众号,第一时间获取干货硬货;公众号内回复【pdf】免费获取数百本计算机经典书籍

    sublime C++配置

原创文章受到原创版权保护。转载请注明出处:https://www.ccppcoding.com/archives/295811

非原创文章文中已经注明原地址,如有侵权,联系删除

关注公众号【高性能架构探索】,第一时间获取最新文章

转载文章受原作者版权保护。转载请注明原作者出处!

(0)
上一篇 2023年2月15日 下午5:15
下一篇 2023年2月15日 下午5:16

相关推荐