As the Arduino IDE does not use up too much of human nature, so I recently studied under Vs Code instead of using Arduino development.
Installation steps are as follows:
A mounting VS Code. Baidu official website can be downloaded
Second, the installation Arduino.
Third, the installation in the VS Code arduino plug-in plug, a plug with a mark of Microsoft.
Four, VS Code Arduino path configuration. Press ctrl +, search Arduino, and then find arduino path, enter the installation directory arduino
V. completion. Download gtags, have the Baidu network disk, decompress, add gtags path to the user's PATH, then open cmd, arduino directory to the installation directory, run gtags
On US Serial undefined. Add the following line in the c_cpp_properties.json