Open maxgerhardt opened 3 years ago
This feature request has received enough votes to be added to our backlog.
What's going on here? People still use SDCC and VSCode, I really want to see VSCode add support for SDCC.
any update?
@ArvoGuo No update.
+1
+1
+1
Any update?
+1
Any update?
There is already an addon for that https://marketplace.visualstudio.com/items?itemName=CL.eide
please close.
+1
Any update?
Type: LanguageService
This issue is closely related to #2499 but more general. The linked issue talks requests that VSCode supports some of SDCC compiler's syntax for Intel 8051 projects. This issue requests that SDCC is generally a supported and recognized compiler in VSCode's C/C++ extension, since SDCC can do much more (compile code for STM8, Z80, PIC14, PIC16, etc.).
Describe the bug
compilerPath
of the.vscode/c_cpp_properties.json
file, it is not being recongized correctly with the message "Unable to resolve configuration with compilerPath [..]/sdcc.exe. Using cl.exe instead."Steps to reproduce
c_cpp_properties.json
that is causing issues)platformio.ini
of the project to.vscode/c_cpp_properties.json
containing SDCC in thecompilerPath
, example:Expected behavior
The SDCC compiler is recongized correctly in VSCode and compiler-specific includes like `#include "mcs51/8051.h" are recongized, and special SDCC syntax for e.g. special function registers (SFRs) and interrupt definitions are recongized.
C/C++: Log Diagnostics
: None relevant -- see belowActual behavior
Error message in the "C/C++ Configuration warnings" output tab:
Translates to
Due to that of course, nothing SDCC specific like the compiler-specific includes or syntaxes are displayed correctly in VSCode.
Screenshots None relevant