当前位置:网站首页>Sublime Text3 set to run your own makefile
Sublime Text3 set to run your own makefile
2022-06-29 09:58:00 【Water like ice】
One 、Sublime Text3 brief introduction
Sublime Text3: One with code highlight 、 Grammar tip 、 Editor software that automatically completes and reacts quickly , Not only has the gorgeous interface , It also supports plug-in extension mechanism , Use her to write code , It's definitely a pleasure . Compared to what is difficult to do Vim, Puffy and heavy Eclipse,VS, Even if the volume is light and quick to start Editplus、Notepad++, stay SublimeText There was a general loss of color in front of me , No doubt this sexy editor is Coding and Writing Best choice , Not one of them. .
Two 、C/C++ Essential plug-ins
Package ControlManage plugins for plugins , The must of the mustCtagsJump essentialTerminalThe current file path opens the terminal , Efficiency artifactBracketHighlighterBrackets highlight
3、 ... and 、 Compilation and its shortcut key settings
Linux Many of the next projects are using makefile To manage , Yes, it is gcc+make And so on . stay sublime_text3 Call yourself to write Makefile, Significantly improve efficiency .
1、 Customize build The configuration script
stay sublime text3 in ,
tools----->build system------>new build system
Create a new configuration script , For example, I named it rotation.sublime-build:
{
"shell_cmd": "make",
"file_regex": "^(..[^:\n]*):([0-9]+):?([0-9]+)?:? (.*)$",
"working_dir": "/home/work/xRobot_ts_locat/xRobot_ME/trunk",
"selector": "source.c, source.cpp",
"keyfiles": ["Makefile", "makefile"],
"variants":
[
{
"name": "Clean",
"shell_cmd": "make rotation clean"
},
{
"name": "Run",
"shell_cmd": "make rotation"
}
]
}
among "shell_cmd": "make rotation" For compiling commands .
2、 Define shortcut keys
Preferences----->Key Bindins Modify the... On the right User Set up ( Copy everything on the left )
It is amended as follows :
{
"keys": ["f7"], "command": "build" },
{
"keys": ["ctrl+b"], "command": "build" },
{
"keys": ["ctrl+shift+b"], "command": "build", "args": {
"variant": "Run","select": true} },
{
"keys": ["ctrl+break"], "command": "cancel_build" },
边栏推荐
- es报错NoNodeAvailableException[None of the configured nodes are available:[.127.0.0.1}{127.0.0.1:9300]
- 2020-09-18 referer认证 url转义
- 力扣85题最大矩形
- 完美二叉树、完全二叉树、完满二叉树
- Fully Automated Delineation of Gross Tumor Volume for Head and Neck Cancer on PET-CT Using Deep Lear
- F5 BIG-IP iControl REST命令执行(CVE-2022-1388)
- Hystrix熔断器:服务熔断与服务降级
- 证券账号开户安全吗?是靠谱的吗?
- 2020-09-17 gateway业务流程 两个任务:referer认证和非商品模板化
- A 3D Dual Path U-Net of Cancer Segmentation Based on MRI
猜你喜欢
![[Huawei certification] the most complete and selected question bank in hcia-datacom history (with answer analysis)](/img/d4/f5ea847573433f7ca7bd429f57e40a.png)
[Huawei certification] the most complete and selected question bank in hcia-datacom history (with answer analysis)

基於PyQt5和Qt Designer的簡易加法計算器的制作

容器

Fully Automated Gross Tumor Volume Delineation From PET in Head and Neck Cancer Using Deep Learning

A 3D Dual Path U-Net of Cancer Segmentation Based on MRI

Segmentation of Head and Neck Tumours Using Modified U-net

JVM之方法返回地址

1424. diagonal traversal II

Automatic Multi-Organ SegmVentation on Abdominal CT With Dense V-Networks

JVM之对象的内存布局
随机推荐
2020-09-29 非商品模板化代码层次 rapidjson库
2020-09-25 boost库的noncopyable,用于单例模式
语言特性
JVM之 MinorGC、 MajorGC、 FullGC、
自定义mvc框架实现
2020-09-23左右值 右值引用 std::move()
完美二叉树、完全二叉树、完满二叉树
基於PyQt5和Qt Designer的簡易加法計算器的制作
Idea auto completion
A 3D Dual Path U-Net of Cancer Segmentation Based on MRI
Middle order traversal of Li Kou 94 binary tree
Es error nonodeavailableexception[none of the configured nodes are available:[.127.0.0.1}{127.0.0.1:9300]
In XML layout, the button is always displayed on the top layer
leetcode MYSQL数据库题目176
Fully Automated Gross Tumor Volume Delineation From PET in Head and Neck Cancer Using Deep Learning
CROSSFORMER: A VERSATILE VISION TRANSFORMER BASED ON CROSS-SCALE ATTENTION
ImageView picture fill problem
2020-09-21 referer字符串切分 boost gateway代码组织层次
UE4 compile a single file (VS and editor start respectively)
watch监听和computed计算属性的使用和区别