microsoft / microsoft/vscode-cpptools

Display typedef name of struct in outline instead of unnamed_struct

Open
#5,877 17 comments 27 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

embedded Feature Request Language Service more votes needed Visual Studio
Dominant language
TypeScript
Stars
6.2k
Forks
1.7k
Avg merge
14h 46m
Merged PRs (30d)
61

Description

I'm not sure outline is provided by this ext, but if so, It wil be great to optimize the ouline to improve the show of typedef (enumeration and struct) using its alias.
image

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 tracing how the C/C++ extension builds the outline entries for typedefs, structs, and enumerations. Use the linked screenshot and issue description to define the expected display: show a typedef alias instead of an unnamed_struct label. Done means the outline consistently presents the alias for the affected declarations and preserves existing outline behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, typescript
Domain
devtools, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.