Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Feb 2020 18:31:46 +0000
From:      Manish Jain <bourne.identity@hotmail.com>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>, "tagattie@yandex.com" <tagattie@yandex.com>
Subject:   IntelliSense not working + Unhandled exception in vscode trying to configure a simple C++ project
Message-ID:  <DB8PR06MB64426AC8CD944F482445161DF6170@DB8PR06MB6442.eurprd06.prod.outlook.com>

next in thread | raw e-mail | index | archive | help

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


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DB8PR06MB64426AC8CD944F482445161DF6170>