microsoft / vscode-arduino

Visual Studio Code extension for Arduino
Other
1.17k stars 221 forks source link

Special characters in c_cpp_properties.json are overwritten #1397

Open RadysCZ opened 2 years ago

RadysCZ commented 2 years ago

Hello, some advanced features that will help:

c_cpp_properties.json Bug: overwriting character "tilde" in path. I am using more computers to developing. On each computer i have different account user name (admin, admin2, ...). In file c_cpp_properties.json i am using "~", for example: "[tilde]\AppData\Local\Arduino15 etc, instead of "C:\Users\XXX\AppData\Local\...". This special format character "tilde" is repeately overwriting by arduino extension to previous full path.

Class name completion

Method body generator

Thank you. Radek

benmcmorran commented 2 years ago

IntelliSense in the Arduino extension is powered by the separate Microsoft C/C++ extension, so I'd suggest opening issues there for your second and third suggestions. The third suggestion appears to already be tracked by https://github.com/microsoft/vscode-cpptools/issues/664.

I'm leaving this issue open to track your first issue. We're currently investigating some broader changes to the way the Arduino extension configures IntelliSense, which could also end up fixing this issue.