日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 人文社科 > 生活经验 >内容正文

生活经验

vscode配置记录

發布時間:2023/11/27 生活经验 29 豆豆
生活随笔 收集整理的這篇文章主要介紹了 vscode配置记录 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

vscode配置記錄

按照官網教程安裝好vs:實際上只需要配置launch.json的”program“如下所示

 "configurations": [{"name": "(gdb) Launch","type": "cppdbg","request": "launch","program": "/home/z/workPlace/deptrum/build-linux/bin/depth_magic_runner","args": ["~/workPlace/dataSet/haiwang/2/2/2/raw/speckle8_8.bmp","--ir",  "~/workPlace/dataSet/haiwang/2/2/2/raw/ir8_8.bmp","--thread", "1","--config",  "~/workPlace/dataSet/haiwang/2/2/GJ400365001020701G00057"],"stopAtEntry": false,//"cwd": "${workspaceFolder}","cwd": "/home/z/workPlace/deptrum/build-linux","environment": [],"externalConsole": false,"MIMode": "gdb","setupCommands": [{"description": "Enable pretty-printing for gdb","text": "-enable-pretty-printing","ignoreFailures": true}]}]
}

記錄一下2個配置文件launch.json和settings.json,2文件具體i配置分別如下所示

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","type": "cppdbg","request": "launch","program": "/home/z/workPlace/deptrum/build-linux/bin/depth_magic_runner","args": ["~/workPlace/dataSet/haiwang/2/2/2/raw/speckle8_8.bmp","--ir",  "~/workPlace/dataSet/haiwang/2/2/2/raw/ir8_8.bmp","--thread", "1","--config",  "~/workPlace/dataSet/haiwang/2/2/GJ400365001020701G00057"],// "args": [//     "~/workPlace/dataSet/test-data-3399/2/5/speckle8_5.bmp",//     "--ir",  "~/workPlace/dataSet/test-data-3399/2/5/ir8_5.bmp",//     //"--rgb",  "~/workPlace/dataSet/test-data-3399/2/5/5.jpg",//     "--thread", "1",//     "--config",  "~/workPlace/dataSet/test-data-3399/2/config"// ],// "args": [//     "~/workPlace/dataSet/gtest/gtest_file/indoor/NBF_004/raw/speckle8_1.bmp",//     "--ir", "~/workPlace/dataSet/gtest/gtest_file/indoor/NBF_004/raw/ir8_1.bmp",//     "--config", "~/workPlace/dataSet/gtest/gtest_file/indoor/config_0", //     "--thread", "1"// ],// "args": [//     "~/workPlace/dataSet/8788Mipi/data/013picture/laser-300-0-0.bmp",//     "--ir", "~/workPlace/dataSet/8788Mipi/data/013picture/led-300-0-0.bmp",//     "--config",  "~/workPlace/dataSet/8788Mipi/config/013/config",//     "--thread", "1"// ],// "args": [//     "~/workPlace/dataSet/mipi/3/speckle_1.bmp",//     "--ir", "~/workPlace/dataSet/mipi/3/ir_1.bmp",//     "--config",  "~/workPlace/dataSet/8788Mipi/config/013/config",//     "--thread", "1"// ],// "args": [//     "~/workPlace/dataSet/mipi/5/speckle.png",//     "--ir", "~/workPlace/dataSet/mipi/5/led.png",//     "--config",  "~/workPlace/dataSet/8788Mipi/config/013/config",//     "--thread", "1"// ],"stopAtEntry": false,//"cwd": "${workspaceFolder}","cwd": "/home/z/workPlace/deptrum/build-linux","environment": [],"externalConsole": false,"MIMode": "gdb","setupCommands": [{"description": "Enable pretty-printing for gdb","text": "-enable-pretty-printing","ignoreFailures": true}]}]
}

settings.json

{"files.associations": {"array": "cpp","string": "cpp","string_view": "cpp","*.tcc": "cpp","atomic": "cpp","cctype": "cpp","chrono": "cpp","clocale": "cpp","cmath": "cpp","cstdarg": "cpp","cstddef": "cpp","cstdint": "cpp","cstdio": "cpp","cstdlib": "cpp","ctime": "cpp","cwchar": "cpp","cwctype": "cpp","deque": "cpp","unordered_map": "cpp","vector": "cpp","exception": "cpp","algorithm": "cpp","functional": "cpp","iterator": "cpp","memory": "cpp","memory_resource": "cpp","numeric": "cpp","optional": "cpp","ratio": "cpp","set": "cpp","system_error": "cpp","tuple": "cpp","type_traits": "cpp","utility": "cpp","fstream": "cpp","initializer_list": "cpp","iosfwd": "cpp","iostream": "cpp","istream": "cpp","limits": "cpp","new": "cpp","ostream": "cpp","sstream": "cpp","stdexcept": "cpp","streambuf": "cpp","thread": "cpp","cinttypes": "cpp","typeinfo": "cpp","cstring": "cpp","map": "cpp"}
}

總結

以上是生活随笔為你收集整理的vscode配置记录的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。