个人资料
归档
正文

VS code & Azure DevOps

(2023-11-18 09:13:04) 下一个

1. VS code

2022: https://www.youtube.com/watch?v=5rmWZ9p3j2I

VScode有用户版和系统板,前者限于单用户但无需系统授权,安装后其bin会在path下。VScode可能崩溃且重安装死在prepare这一步,W11命令行安装runas /machine:x86 /trustlevel:0x20000 <程序名>也无效。此时只能下载绿色版,解压并增加其path:https://learn.microsoft.com/en-us/answers/questions/324197/unable-to-install-visual-studio-code-editor? 

Youtube: VS Code入门教程2020 #

Git:/GitGraphhttps://www.youtube.com/watch?v=foXiEpYA08A https://ithelp.ithome.com.tw/articles/10267030 VS Code 連GitHub: 開啟VS Code,點左邊選單的Source Control燃後Clone Repo,會自動跳轉到Github授權畫面,登入成功授權後就會回到 VS Code。

Git editor

git config --global core.editor
"'C:/Program Files (x86)/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin", or C:/prog/git/npp.bat with git config:

#!/bin/sh
"c:/Program Files/Notepad++/notepad++.exe" -multiInst -notabbar -nosession -noPlugin "$*"

C:proggit>git config --global core.editor C:/prog/git/npp.bat
with 

Git-cn1 https://www.youtube.com/watch?v=bK7dr7eG6KM  Git-cn2 https://www.youtube.com/watch?v=okSG4I99XuY 

Debug: launch.json https://www.youtube.com/watch?v=2Q_FeLtgXcI https://www.youtube.com/watch?v=prO6u1AUHDo 

【艾编程VScode教程】https://www.youtube.com/watch?v=kT_DEeGrHHs&list=PLtHkJSiWWERY9fiKB8kBMug9aqFTI5_Pa&index=4 

2. Azure DevOps

short: https://www.youtube.com/watch?v=4BibQ69MD8c mid:  https://youtu.be/wdUK7bCMXqs  long: https://www.youtube.com/watch?v=DoWhZO7nbCY

txt: https://ithelp.ithome.com.tw/users/20033961/ironman 

set git editor using VScode: git config  --global core.editor "code --new-window --wait"

set terminal: sht+Ctrl+P, Terminal: Select Default Profile, then pickup one.

find in Files: ctrl+sht+P, you can expand ... for inc/exc files, or .* for regular expression

3. MISC

3.1 Open multiple serial ports with a .bat file:

cd "Program Files"PuTTy
start putty.exe - load COM3
start putty.exe - load COM3

3.2 VS 

code analysis: https://devblogs.microsoft.com/cppblog/cmake-support-in-visual-studio-code-analysis-and-cmake-3-11/

c++ unit test: https://devblogs.microsoft.com/cppblog/cpp-testing-in-visual-studio/ 

https://devblogs-microsoft-com.translate.goog/cppblog/cpp-testing-in-visual-studio/?_x_tr_sl=en&_x_tr_tl=zh-CN&_x_tr_hl=en&_x_tr_pto=wapp 

[ 打印 ]
阅读 ()评论 (0)
评论
目前还没有任何评论
登录后才可评论.