microsoft / microsoft/vscode-cmake-tools

CMake toolchain files are not indexed/recognized by the extension

Open
#2,316 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement Feature: configure
Dominant language
TypeScript
Stars
1.7k
Forks
546
Avg merge
2d 16h
Merged PRs (30d)
32

Description

![image](https://user-images.githubusercontent.com/2801887/148582612-1b5da9f7-b8ce-4839-8399-cf859f751949.png)

I'm assuming this issue belongs here, based upon the `[Unspecified]` option in the drop-down menu.

> `[Unspecified] Unspecified (Let CMake guess what compilers and environment to use)`

**Expected Behavior:**

I don't care to see this drop-down menu when I have a toolchain file specified in my repository.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in a VS Code project that specifies a CMake toolchain file, then trace how toolchain files are indexed and how the configuration drop-down is populated. Done means the extension recognizes the specified toolchain and does not show the [Unspecified] option when it is unnecessary; no file or test is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, typescript
Domain
build-system, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.