microsoft / microsoft/vscode-cmake-tools

[CMake Cache Editor] drop-down lists are not working properly

Open
#3,117 5 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

blocked-by-external Feature: cache editor
Dominant language
TypeScript
Stars
1.7k
Forks
546
Avg merge
2d 16h
Merged PRs (30d)
32

Description

Brief Issue Summary

Consider following code (from https://github.com/AmigaPorts/ACE):

set(ACE_LIBRARY_KIND OBJECT CACHE STRING "Build kind: static library or bunch of .o files. OBJECT allows for more link-time optimizations.")
set(ACE_LIBRARY_KINDS "OBJECT" "STATIC")
set_property(CACHE ACE_LIBRARY_KIND PROPERTY STRINGS ${ACE_LIBRARY_KINDS})

This results in following UI, which is correct:

obraz

however, clicking to expand the drop-down list does the following:

obraz

  • the drop-down list is in wrong position
  • other options than currently cached don't show up
CMake Tools Diagnostics
n/a
Debug Log
n/a
Additional Information

No response

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 CMake Cache Editor behavior with the ACE CMake snippet and inspect the dropdown handling in the TypeScript UI. Verify the dropdown placement and compare the displayed choices with the configured OBJECT and STATIC values. Done means the list opens in the correct position and includes all configured options.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, typescript
Domain
frontend, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.