<div dir="ltr"><div>Hi</div><div><br></div><div>I am using vscode to edit (and build and debug) gdal. So far so good.</div><div>The compilation works with a simple task that runs a shell (see code below if you need it). Debug also works fine.<br></div><div><br></div><div>My problem is syntax highlighting. Apparently it does not realize that "GDAL_COMPILATION" is defined, so some variables appear as errors with something like<br></div><div><span style="font-family:monospace">identifier "GUIntptr_t" is undefined</span></div><div>To configure it I just did</div><div><span style="font-family:monospace">cmake .. -DBUILD_PYTHON_BINDINGS=ON  -DCMAKE_BUILD_TYPE=Debug</span></div><div><br></div><div>Does anybody uses visual studio code and had/solved this problem?</div><div>Thanks.</div><div>Javier</div><div><br></div><div>PS: this is my tasks.json:<br></div><div><span style="font-family:monospace">{<br>    "version": "2.0.0",<br>    "tasks": [<br>        {<br>            "label": "build",<br>            "type": "shell",<br>            "command": "cmake",<br>            "args": ["--build", "build", "-j", "12"],<br>            "problemMatcher": [<br>                "$gcc"<br>            ],<br>            "group": {<br>                "kind": "build",<br>                "isDefault": true<br>            },<br>            "presentation": {<br>                "revealProblems": "onProblem",<br>            }<br>        }<br>    ]<br>}</span></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div></div><div>.___ ._ ..._ .. . ._.  .___ .. __ . _. . __..  ... .... ._ .__</div></div></div></div></div></div>