IntelliSense not working + Unhandled exception in vscode trying to configure a simple C++ project

Manish Jain bourne.identity at hotmail.com
Sun Feb 16 18:31:51 UTC 2020


Hi,

On FreeBSD 12.1 amd64, I am trying to build a single-file C++ project in 
VSCode using cmake.

My CMakeLists.txt is as under:

<<
cmake_minimum_required (VERSION 3.0)
project(chkascii)

set(SOURCE chkascii.cc)
add_executable(${PROJECT_NAME} ${SOURCE})
 >>


Running cmake::configure in the VSCode command palette gives me:

<<
[rollbar] Unhandled exception: Unhandled Promise rejection: Update code 
model for cpptools TypeError: Cannot read property 'getApi' of undefined {}
 >>

Further, IntelliSense does not work in my VSCode C++ project under FreeBSD.

Everything works fine when I use and build the project under Linux.

Should I file a bug report, or is there something which can be fixed to 
make VSCode functional under FreeBSD ?


Thanks for any help.
Manish Jain


More information about the freebsd-questions mailing list