Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Change visualisation of structs/enums/unions declared using typedef #189

Closed
ffuugoo opened this issue Sep 8, 2016 · 4 comments
Closed
Assignees
Labels

Comments

@ffuugoo
Copy link

ffuugoo commented Sep 8, 2016

I have a mixed C/C++ code base, and so the "typedef - anonymous enum/union/struct - typename" declarations used extensively. (Is there special name for such declarations?)

However, Coati visualise such types in the form that is a bit annoying to use:
screenshot from 2016-09-08 17-23-56
screenshot from 2016-09-08 17-24-05

I think it would be nice to rework this aspect so that the "anonymous whatever" node could be excluded completely.

@mlangkabel
Copy link
Contributor

Hi @TitovRoman. Thanks for telling us! That should be possible.

@mlangkabel mlangkabel self-assigned this Feb 10, 2017
@kvakvs
Copy link

kvakvs commented Jul 6, 2017

Is this still being worked on?
In a C project with abundance of such typedef struct { ... } TypeName; they all become anonymous structs used by a single TypeName, not comfortable at all.

@mlangkabel
Copy link
Contributor

@kvakvs: Absolutely! We are planning to make this an optional feature that is enabled by default. I hope I'll get this done soon :)

@mlangkabel
Copy link
Contributor

Implemented with Sourcetrail version 2017.2.34 (actually this feature is pretty cool, thanks again for requesting it!)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants