Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake extension is not loaded if source folder is not workspaceFolder #376

Closed
KoeMai opened this issue Apr 7, 2018 · 2 comments
Closed
Labels
duplicate a duplicate of an already present issue enhancement an enhancement to the product that is either not present or an improvement to an existing feature Feature: configure
Milestone

Comments

@KoeMai
Copy link
Contributor

KoeMai commented Apr 7, 2018

Brief Issue Summary

I have a project which has the CMakeLists.txt inside a sub folder. Visual studio code
does not activates the extension for this projects. I have to activate it by using a command.

Expected:

Extension starts if the project contains one CMakeLists.txt in any folder of workspaceFolder.

Platform and Versions

  • Operating System: Windows 10
  • CMake Version: 3.10.0
  • VSCode Version: 1.21.1
  • CMake Tools Extension Version: 0.11-beta5
@vector-of-bool
Copy link
Contributor

The activation event is defined in package.json, if CMakeLists.txt is present in the workspace directory. I'm not sure if there's a way to tweak it to be smarter about this.

@vector-of-bool vector-of-bool added this to the Backlog milestone Apr 7, 2018
@bobbrow
Copy link
Member

bobbrow commented Jul 24, 2019

Duplicate of #533 (I know. This one was first, but there's already a PR out that links to #533 which will address this one since we're triaging issues from newest to oldest.)

@bobbrow bobbrow closed this as completed Jul 24, 2019
@bobbrow bobbrow added enhancement an enhancement to the product that is either not present or an improvement to an existing feature Feature: configure duplicate a duplicate of an already present issue and removed tweak labels Jul 24, 2019
@github-actions github-actions bot locked and limited conversation to collaborators Jan 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate a duplicate of an already present issue enhancement an enhancement to the product that is either not present or an improvement to an existing feature Feature: configure
Projects
None yet
Development

No branches or pull requests

3 participants