Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code browser/All members - support for record #19

Open
Jarek300 opened this issue Dec 14, 2020 · 2 comments
Open

Code browser/All members - support for record #19

Jarek300 opened this issue Dec 14, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@Jarek300
Copy link

Command 'Code browser/All members' shows members of classes and structs but not records (new in C# 9).

@sergey-visual-studio
Copy link
Owner

Thanks for reporting it. I'll investigate to see if it's exposed via VS extensibility API.

@sergey-visual-studio
Copy link
Owner

sergey-visual-studio commented Jan 9, 2021

Took a couple of weeks off but kept an eye on it. Investigated it around the holidays and as I suspected, VS file code model doesn't support it. It gets worse though. Turns out Microsoft's done extending file code model APIs, that's the API set that's been there since practically earliest versions of VS, and put their efforts into Roslyn now. File code model is what DPack's been relying on since first version as well. I'm gonna be looking into swapping out the file processor to use Roslyn APIs instead.

Microsoft's Roslyn unfortunately doesn't support C++ file parsing, which DPack supports (via file code model). I'll need to look for a standalone C++ parser library if I am to address this issue, ultimately replacing one API set with 2 now, which is unfortunate. If anybody is interested in taking it on please reach out.

@sergey-visual-studio sergey-visual-studio added the enhancement New feature or request label Jul 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants