個人資料
歸檔
正文

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)
評論
目前還沒有任何評論
登錄後才可評論.