microsoft / microsoft/vscode-cpptools

'databaseFilename' display error in C/C++ Configuration UI

Open
#13,239 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Feature: Configuration Language Service
Dominant language
TypeScript
Stars
6.2k
Forks
1.7k
Avg merge
14h 46m
Merged PRs (30d)
61

Description

Environment
  • OS and Version: Windows/Linux/Mac
  • VS Code Version: 1.96.4
  • C/C++ Extension Version: 1.23.4(pre-release)
  • If using SSH remote, specify OS of remote machine: NA
Bug Summary and Steps to Reproduce

Bug Summary: 'databaseFilename' display error in C/C++ Configuration UI

Steps to reproduce:

  1. Open 'C/C++ Configuration UI', navigate to 'Browse: database filename'.
  2. Type 'C:/test.cpp' in input box.
  3. Observe the result.

Expected behavior: the C/C++ Configuration UI should not show the error

Actual behavior: “databaseFilename” in the C/C++ Configuration UI displays an error message not shown in the ‘c_cpp.properties.json’ file
Image

Configuration and Logs
/
Other Extensions

No response

Additional context

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

Begin by reproducing the error in the C/C++ Configuration UI through “Browse: database filename” using C:/test.cpp. Inspect how this value is displayed compared with c_cpp.properties.json; the issue is done when the UI no longer shows an error that is absent from the configuration file.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, typescript
Domain
devtools
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.