-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvscode
More file actions
30 lines (25 loc) · 990 Bytes
/
vscode
File metadata and controls
30 lines (25 loc) · 990 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
ctrl+shift+p:C_CPP_properties.json
包含ros头文件:
"C:\\Users\\BZl\\AppData\\Local\\Packages\\CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc\\LocalState\\rootfs\\opt\\ros\\melodic\\include"
"/home/cjiejie/catkin_ws/src/dzpt_joy/include",
"/home/cjiejie/catkin_ws/devel/include",
"/opt/ros/melodic/include",
格式化代码:ctrl+K+F
按照层级折叠代码:cmd+k+1,2,3.....
展开代码:cmd+k+j
生成新窗口:ctrl+shift+n
复制光标所在行:shift+alt+向上/向下剪头
删除光标所在行:ctrl+shift+K
直接进入下一行:ctrl+enter
向上跳:crtl+shift+enter
创建块状注释:shift+alt+a ctrl /
打开123个并排标签:ctrl+123
跳到标签锚点:ctrl+shift+o
"/home/ai-iot/catkin_ws/src/dzpt_joy/include",
"/home/ai-iot/catkin_ws/devel/include",
"/opt/ros/kinetic//include"
//ubunu中设置vscode编译ros
设置环境变量:
export PATH=$PATH:/usr/share/code/bin
安装ros插件:
配置settings.json launch.json