sublime C++配置

插件:c++

解析json pretty json,ctrl + alt + j解析 ctrl + alt + m還原shell

旁欄Side​Bar​Enhancementsjson

括號匹配BracketHighlighteride

旁欄顏色SyncedSidebarBgui

行末多餘空格TrailingSpacesurl

主題 material themespa

選中高亮Color Highlighter.net

安裝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_aiomsg3d

{ "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\"" } ] }
相關文章
相關標籤/搜索