vscode十分的轻量化,本身扩展也很多。本文主要安利一款非常好用的插件,支持IAR和KEIL,同时分享一些不错的扩展,让你的嵌入式开发快起来。
准备工作
vscode
iar for stm8
stvp
主菜
EIDE手册
国人作者的项目,相当的不错,如果是万事俱备只欠东风的小伙伴,点进去学习就可以了,下文主要针对首次使用vscode的小伙伴。
扩展
Better Align
顾名思义,更好的对齐代码,让你的代码更美观
Bracket Pair Colorizer
让你的括号色彩斑斓,成双成对
C/C++
C++ Intellisense
C语言开发必备
Chinese (Simplified) Language Pack for Visual Studio Code
中文支持包
Comment Translate
使用谷歌翻译的API,看源码的注释时相当舒适
Github
提交/拉取你的代码仓库
速度慢的,hosts文件内添加如下文本,基本上可以满足使用
# GitHub Start
140.82.113.3 github.com
140.82.114.20 gist.github.com
185.199.110.153 github.github.io
151.101.184.133 assets-cdn.github.com
151.101.184.133 raw.githubusercontent.com
151.101.184.133 gist.githubusercontent.com
151.101.184.133 cloud.githubusercontent.com
151.101.184.133 camo.githubusercontent.com
151.101.184.133 avatars0.githubusercontent.com
199.232.68.133 avatars0.githubusercontent.com
199.232.28.133 avatars1.githubusercontent.com
151.101.184.133 avatars1.githubusercontent.com
151.101.184.133 avatars2.