microsoft / microsoft/vscode-cmake-tools

Provide a way to use python environment when using cmake-presets

Open
#1,915 18 comments 6 reactions 0 assignees View on GitHub
enhancement Feature: configure Feature: presets
Dominant language
TypeScript
Stars
1.7k
Forks
546
Avg merge
2d 16h
Merged PRs (30d)
32

Description

### Brief Issue Summary
I would expect vscode-cmake-tools to invoke the cmake binary within the python virtual environment that is the currently chosen interpreter by the python extension when using cmake presets.

Currently, any python dependencies in a cmake workflow must be installed in the global python environment when using cmake-presets.

Contributor guide

Open the contributing guide

Research direction

Start by reading the 18-comment discussion for decisions about how vscode-cmake-tools should interact with the Python extension and CMake presets. The work is done when a selected Python virtual environment is used for the preset workflow so its Python dependencies no longer need to be installed globally.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, python, typescript, vscode
Domain
build-system, developer-experience, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.