Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
gray attributes in launch.json are confusing, please remove them #80026
Steps to Reproduce:
I understand from #13979 that this is considered intended behavior. It is nevertheless confusing:
TextMate scope inspector:
The impact of this confusion is magnified by the fact that every user who follows the VSCode C++ configuration tutorial will see it, and the screenshot in that tutorial does not show the gray attributes, further reinforcing the user's likely hypothesis that they have made a mistake.
This is what the tutorial looks like:
I have read through the discussion in #13353. My summary is that there was disagreement about whether these attributes even are "less important", and agreement that the use of gray color to signify that is likely to be confusing. But, at least within the discussion there, these concerns were not resolved.
In my opinion, the gray color fails to ameliorate the problems #13353 was filed to address, and certainly leads to confusion, so ought to simply be removed.
As a tangential suggestion, the attribute hover text might be a good place to explain caveats regarding understanding or modifying those fields.
@smcpeak Thanks for sharing your feedback.
I am also not a big fan of the gray in the
I am open for suggestions.
I remember that when it first came out, my initial reaction was to delete those lines, only to find out that it broke my launch configuration. I expected grey properties to act like today's unused parameters, in that it was inferred and/or unused and could therefore be deleted safely.