Vscode-cmake-tools: cmake.compileFile or cmake.outline.compileFile

Created on 30 Sep 2018  路  2Comments  路  Source: microsoft/vscode-cmake-tools

What is a difference between cmake.compileFile and cmake.outline.compileFile ?

The commad cmake.compileFile "Compile File" works fine.

But the "Compile This File" fails with a "Running the contributed command:'cmake.outline.compileFile' failed." message

Platform and Versions

CentOS 7, vscode 1.27.2, vscode-cmake-tools 1.1.2

build bug fixed (release pending)

Most helpful comment

cmake.outline.compileFile is an internal command for the compiling a file from the Project Outline view. The fact that it is visible in the Command Palette is a bug.

All 2 comments

cmake.outline.compileFile is an internal command for the compiling a file from the Project Outline view. The fact that it is visible in the Command Palette is a bug.

This issue has been addressed in CMake Tools 1.2.0 which is available in the VS Code Marketplace or on the Releases Page

Because the publisher id has changed, VS Code does not automatically upgrade you yet. The Marketplace team will enable this in the next few days. If you want to install 1.2.0 now, please make sure you uninstall any earlier versions of CMake Tools manually to avoid any conflicts.

Was this page helpful?
0 / 5 - 0 ratings