microsoft / microsoft/vscode-cmake-tools

FetchContent: missing git password prompt

Open
#3,439 18 comments 3 reactions 0 assignees View on GitHub
Feature: other Feature: remote investigation needed
Dominant language
TypeScript
Stars
1.7k
Forks
546
Avg merge
2d 16h
Merged PRs (30d)
32

Description

### Brief Issue Summary

When configuring a project using the CMake tools extension and CMakePresets there is no password prompt for git repositories cloned by FetchContent.
When running the same cmake presets from the terminal directly, there is a prompt which asks for the password for the private repository.

Since the CMake tools extension just uses the "output" window there will probably be no way to get this working, right?

Best regards, Manuel

### CMake Tools Diagnostics

_No response_

### Debug Log

_No response_

### Additional Information

_No response_

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by reproducing the CMake Tools extension and terminal behavior with a CMake preset whose FetchContent repository requires a password, then trace how configuration output and input are handled. Done means the extension supports the required authentication interaction or clearly documents the confirmed limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, git, typescript
Domain
build-system, developer-experience, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.