当前位置:网站首页>vscode config
vscode config
2022-06-26 05:09:00 【古路】
0.插件
- C/C++
- C++ Intellisense
- Doxygen Documentation Generator
- Msg Language Support
- XML Tools
- Todo Tree: 注释的高亮显示
- Chinese (Simplified)
- CMake
- CMake Tools
- Comment Translate
- Draw.io Integration (画流程图)
- Drawio Preview
- indent-rainbow(显示空格)
- LeetCode
- PlantUML(画类图)
- ROS
1.seetings.json
{
"doxdocgen.generic.paramTemplate": "@param[in] {param} ",
// 在注释中搜索以 * // , # , ; , 开头的标签! -- 或 / *
"todo-tree.regex.regex": "((\\*|//|#|<!--|;|/\\*|^)\\s*($TAGS):|^\\s*- \\[ \\])",
"todo-tree.highlights.defaultHighlight": {
"icon": "alert",
"type": "text",
"foreground": "red",
"iconColour": "green"
},
"todo-tree.general.tags": [
"?",
"!",
"param",
"Step",
"c++11",
"note",
"tag",
"todo",
],
"todo-tree.highlights.customHighlight": {
"?": {
"icon": "question",
"foreground": "yellow",
"iconColour": "yellow",
"type": "text-and-comment"
},
"!": {
"foreground": "red",
"icon": "issue-opened",
"iconColour": "red",
"type": "text-and-comment"
},
"Step": {
"foreground": "#7CFC00",
"icon": "question",
"iconColour": "green",
"type": "text-and-comment",
"hideFromTree": true
},
"c++11": {
"icon": "tag",
"foreground": "violet",
"rulerColour": "violet",
"iconColour": "violet",
"type": "text-and-comment",
},
"note": {
"icon": "note",
"foreground": "orange",
"rulerColour": "orange",
"iconColour": "orange",
"type": "text-and-comment",
},
"param": {
"icon": "issue-closed",
"foreground": "orange",
"rulerColour": "orange",
"iconColour": "orange",
"type": "text-and-comment",
},
"tag": {
"icon": "tag",
"foreground": "#7CFC00",
"rulerColour": "#7CFC00",
"iconColour": "#7CFC00",
"rulerLane": "full",
"type": "text-and-comment",
},
"todo": {
"foreground": "#f90",
"rulerColour": "#f90",
"iconColour": "#f90",
"type": "text-and-comment",
},
},
"python.autoComplete.extraPaths": [
"/opt/ros/kinetic/lib/python2.7/dist-packages"
],
"todo-tree.tree.showBadges": false,
"todo-tree.general.revealBehaviour": "highlight todo",
"todo-tree.tree.showCountsInTree": true,
"todo-tree.filtering.excludeGlobs": [
"**/*.txt",
"**/*.md"
],
"files.associations": {
"*.cc": "cpp",
"vector": "cpp",
"mutex": "cpp",
"list": "cpp",
"xtree": "cpp",
"map": "cpp",
"algorithm": "cpp",
"bitset": "cpp",
"cctype": "cpp",
"chrono": "cpp",
"cmath": "cpp",
"concepts": "cpp",
"cstdarg": "cpp",
"cstddef": "cpp",
"cstdint": "cpp",
"cstdio": "cpp",
"cstdlib": "cpp",
"cstring": "cpp",{
"doxdocgen.generic.paramTemplate": "@param[in] {param} ",
// 在注释中搜索以 * // , # , ; , 开头的标签! -- 或 / *
"todo-tree.regex.regex": "((\\*|//|#|<!--|;|/\\*|^)\\s*($TAGS):|^\\s*- \\[ \\])",
"todo-tree.highlights.defaultHighlight": {
"icon": "alert",
"type": "text",
"foreground": "red",
"iconColour": "green"
},
"todo-tree.general.tags": [
"?",
"!",
"param",
"Step",
"c++11",
"note",
"tag",
"todo",
],
"todo-tree.highlights.customHighlight": {
"?": {
"icon": "question",
"foreground": "yellow",
"iconColour": "yellow",
"type": "text-and-comment"
},
"!": {
"foreground": "red",
"icon": "issue-opened",
"iconColour": "red",
"type": "text-and-comment"
},
"Step": {
"foreground": "#7CFC00",
"icon": "question",
"iconColour": "green",
"type": "text-and-comment",
"hideFromTree": true
},
"c++11": {
"icon": "tag",
"foreground": "violet",
"rulerColour": "violet",
"iconColour": "violet",
"type": "text-and-comment",
},
"note": {
"icon": "note",
"foreground": "orange",
"rulerColour": "orange",
"iconColour": "orange",
"type": "text-and-comment",
},
"param": {
"icon": "issue-closed",
"foreground": "orange",
"rulerColour": "orange",
"iconColour": "orange",
"type": "text-and-comment",
},
"tag": {
"icon": "tag",
"foreground": "#7CFC00",
"rulerColour": "#7CFC00",
"iconColour": "#7CFC00",
"rulerLane": "full",
"type": "text-and-comment",
},
"todo": {
"foreground": "#f90",
"rulerColour": "#f90",
"iconColour": "#f90",
"type": "text-and-comment",
},
},
"python.autoComplete.extraPaths": [
"/opt/ros/kinetic/lib/python2.7/dist-packages"
],
"todo-tree.tree.showBadges": false,
"todo-tree.general.revealBehaviour": "highlight todo",
"todo-tree.tree.showCountsInTree": true,
"todo-tree.filtering.excludeGlobs": [
"**/*.txt",
"**/*.md"
],
"files.associations": {
"*.cc": "cpp",
"vector": "cpp",
"mutex": "cpp",
"list": "cpp",
"xtree": "cpp",
"map": "cpp",
"algorithm": "cpp",
"bitset": "cpp",
"cctype": "cpp",
"chrono": "cpp",
"cmath": "cpp",
"concepts": "cpp",
"cstdarg": "cpp",
"cstddef": "cpp",
"cstdint": "cpp",
"cstdio": "cpp",
"cstdlib": "cpp",
"cstring": "cpp",
"ctime": "cpp",
"cwchar": "cpp",
"deque": "cpp",
"exception": "cpp",
"fstream": "cpp",
"initializer_list": "cpp",
"iomanip": "cpp",
"ios": "cpp",
"iosfwd": "cpp",
"iostream": "cpp",
"istream": "cpp",
"iterator": "cpp",
"limits": "cpp",
"memory": "cpp",
"new": "cpp",
"numeric": "cpp",
"ostream": "cpp",
"queue": "cpp",
"ratio": "cpp",
"set": "cpp",
"sstream": "cpp",
"stack": "cpp",
"stdexcept": "cpp",
"streambuf": "cpp",
"string": "cpp",
"system_error": "cpp",
"thread": "cpp",
"tuple": "cpp",
"type_traits": "cpp",
"typeinfo": "cpp",
"unordered_map": "cpp",
"utility": "cpp",
"xfacet": "cpp",
"xhash": "cpp",
"xiosbase": "cpp",
"xlocale": "cpp",
"xlocinfo": "cpp",
"xlocmon": "cpp",
"xlocnum": "cpp",
"xloctime": "cpp",
"xmemory": "cpp",
"xstddef": "cpp",
"xstring": "cpp",
"xtr1common": "cpp",
"xutility": "cpp",
"clocale": "cpp",
"cwctype": "cpp",
"array": "cpp",
"atomic": "cpp",
"hash_map": "cpp",
"hash_set": "cpp",
"strstream": "cpp",
"*.tcc": "cpp",
"cinttypes": "cpp",
"complex": "cpp",
"condition_variable": "cpp",
"forward_list": "cpp",
"unordered_set": "cpp",
"functional": "cpp",
"optional": "cpp",
"string_view": "cpp",
"cfenv": "cpp",
"typeindex": "cpp",
"core": "cpp",
"csignal": "cpp",
"any": "cpp",
"future": "cpp",
"memory_resource": "cpp",
"random": "cpp",
"bit": "cpp",
"*.inc": "cpp"
},
"python.autoComplete.extraPaths": [
"/opt/ros/kinetic/lib/python2.7/dist-packages"
],
"python.analysis.extraPaths": [
"/opt/ros/kinetic/lib/python2.7/dist-packages"
]
}
"ctime": "cpp",
"cwchar": "cpp",
"deque": "cpp",
"exception": "cpp",
"fstream": "cpp",
"initializer_list": "cpp",
"iomanip": "cpp",
"ios": "cpp",
"iosfwd": "cpp",
"iostream": "cpp",
"istream": "cpp",
"iterator": "cpp",
"limits": "cpp",
"memory": "cpp",
"new": "cpp",
"numeric": "cpp",
"ostream": "cpp",
"queue": "cpp",
"ratio": "cpp",
"set": "cpp",
"sstream": "cpp",
"stack": "cpp",
"stdexcept": "cpp",
"streambuf": "cpp",
"string": "cpp",
"system_error": "cpp",
"thread": "cpp",
"tuple": "cpp",
"type_traits": "cpp",
"typeinfo": "cpp",
"unordered_map": "cpp",
"utility": "cpp",
"xfacet": "cpp",
"xhash": "cpp",
"xiosbase": "cpp",
"xlocale": "cpp",
"xlocinfo": "cpp",
"xlocmon": "cpp",
"xlocnum": "cpp",
"xloctime": "cpp",
"xmemory": "cpp",
"xstddef": "cpp",
"xstring": "cpp",
"xtr1common": "cpp",
"xutility": "cpp",
"clocale": "cpp",
"cwctype": "cpp",
"array": "cpp",
"atomic": "cpp",
"hash_map": "cpp",
"hash_set": "cpp",
"strstream": "cpp",
"*.tcc": "cpp",
"cinttypes": "cpp",
"complex": "cpp",
"condition_variable": "cpp",
"forward_list": "cpp",
"unordered_set": "cpp",
"functional": "cpp",
"optional": "cpp",
"string_view": "cpp",
"cfenv": "cpp",
"typeindex": "cpp",
"core": "cpp",
"csignal": "cpp",
"any": "cpp",
"future": "cpp",
"memory_resource": "cpp",
"random": "cpp",
"bit": "cpp",
"*.inc": "cpp"
},
"python.autoComplete.extraPaths": [
"/opt/ros/kinetic/lib/python2.7/dist-packages"
],
"python.analysis.extraPaths": [
"/opt/ros/kinetic/lib/python2.7/dist-packages"
]
}
2.tasks.json
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "catkin_make",
"type": "shell",
"command": "catkin_make_isolated --install --use-ninja", // catkin_make
"args": [],
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"reveal": "always"
},
"problemMatcher": "$msCompile"
},
]
}
3.launch.json
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "(gdb) Launch test_code", // 配置名称, 将会在调试配置下拉列表中显示
"type": "cppdbg", // 调试器类型 该值自动生成
"request": "launch", // 调试方式,还可以选择attach
"program": "${workspaceRoot}/devel/lib/beginner_tutorials/test_node", //要调试的程序(完整路径, 支持相对路径)
"args": [], // 传递给上面程序的参数, 没有参数留空即可
"stopAtEntry": false, // 是否停在程序入口点(停在main函数开始)
"cwd": "${workspaceFolder}", // 调试程序时的工作目录
"environment": [], // 针对调试的程序, 要添加到环境中的环境变量. 例如: [ { "name": "squid", "value": "clam" } ]
"externalConsole": false, // 如果设置为true, 则为应用程序启动外部控制台. 如果为false, 则不会启动控制台, 并使用VS Code的内置调试控制台.
"MIMode": "gdb", // VSCode要使用的调试工具
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}
4.c_cpp_properties.json
{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/**"
],
"defines": [],
"compilerPath": "/usr/bin/gcc",
"cStandard": "c11",
"cppStandard": "c++17",
"intelliSenseMode": "clang-x64",
"compileCommands": "${workspaceFolder}/build_isolated/cartographer/install/compile_commands.json"
}
],
"version": 4
}
边栏推荐
- Use to_ Numeric to numeric type
- Ai+ remote sensing: releasing the value of each pixel
- Day4 branch and loop jobs
- pycharm 导包错误没有警告
- Technical problems to be faced in mobile terminal im development
- ssh连win10报错:Permission denied (publickey,keyboard-interactive).
- AD教程系列 | 4 - 创建集成库文件
- PowerShell runtime system IO exceptions
- Multipass Chinese document - remove instance
- 瀚高数据库自定义操作符‘!~~‘
猜你喜欢
How to select the data transmission format of instant messaging application
[latex] error type summary (hold the change)
Final review of brain and cognitive science
Wechat applet exits the applet (navigator and api--wx.exitminiprogram)
钟珊珊:被爆锤后的工程师会起飞|OneFlow U
PowerShell runtime system IO exceptions
PHP二维/多维数组按照指定的键值来进行升序和降序
A beginner's entry is enough: develop mobile IM from zero
Happy New Year!
86.(cesium篇)cesium叠加面接收阴影效果(gltf模型)
随机推荐
How to select the data transmission format of instant messaging application
6.1 - 6.2 introduction to public key cryptography
Multipass Chinese document - use packer to package multipass image
Technical past: tcp/ip protocol that has changed the world (precious pictures, caution for mobile phones)
[greedy college] Figure neural network advanced training camp
Learn from small samples and run to the sea of stars
Créateur de génie: cavalier solitaire, magnat de la technologie et ai | dix ans d'apprentissage profond
Zuul implements dynamic routing
微信小程序保存圖片的方法
Wechat applet exits the applet (navigator and api--wx.exitminiprogram)
Create a binary response variable using the cut sub box operation
天才制造者:独行侠、科技巨头和AI|深度学习崛起十年
0622 horse palm fell 9%
Computer Vision Tools Chain
[leetcode] 713: subarray with product less than k
5. < tag stack and general problems > supplement: lt.946 Verify the stack sequence (the same as the push in and pop-up sequence of offer 31. stack)
LSTM in tensorflow_ Layers actual combat
程序人生
C# 39. string类型和byte[]类型相互转换(实测)
[greedy college] recommended system engineer training plan