BartmanAbyss / vscode-amiga-debug

One-stop Visual Studio Code Extension to compile, debug and profile Amiga C/C++ programs compiled by the bundled gcc 12.2 with the bundled WinUAE/FS-UAE.
GNU General Public License v3.0
316 stars 39 forks source link

settings.json wrong? #238

Closed MihaMarkic closed 12 months ago

MihaMarkic commented 12 months ago

Hi, on Windows 10 when I init project, I get this (commented out) instead of (I guess) uncomented line in settings.json file:

"m68k.includePaths": [
        //"c:\\Users\\bwodok\\Documents\\Visual_Studio_Code\\vscode-amiga-debug\\bin\\win32\\opt\\m68k-amiga-elf\\sys-include"
        "C:\\Users\\[USER]\\.vscode\\extensions\\bartmanabyss.amiga-debug-1.7.4\\bin\\win32\\opt\\m68k-amiga-elf\\sys-include"
    ],

I guess that is wrong?

BartmanAbyss commented 12 months ago

Yeah, I shouldn't have included that file in the release, but it gets overwritten by the extension anyways with correct values, so it shouldn't be a problem.

BartmanAbyss commented 12 months ago

that include path is only used for the m68k assembler anyway

TheJare commented 11 months ago

It self-corrected as you said, however I was quite confused for a while by intellisense errors: to get intellisense to find those includes in main.c, I still had to close/reopen the project in vscode.