microsoft / microsoft/vscode-cmake-tools
[CMake Cache Editor] drop-down lists are not working properly
Open
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:

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

- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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