Skip to content
New issue

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

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

Already on GitHub? # to your account

Feature Request: Auto-Format #105

Open
MarkusMiller opened this issue Aug 16, 2022 · 2 comments
Open

Feature Request: Auto-Format #105

MarkusMiller opened this issue Aug 16, 2022 · 2 comments

Comments

@MarkusMiller
Copy link

In the ticket regarding the issues with Visual Studio 2022 it became apparent, that auto-formatting with CTRL-K, CTRL-F seems not to be working. It is working for the *.glsl extension, though, if NSight is taking over. It would be great, if the auto-formatting functionality was available in the glsl extension, too.

@danielscherzer
Copy link
Owner

danielscherzer commented Aug 17, 2022

I do not know how to setup/implement auto-formatting for glsl. I did not find any docu on how to enable this for an extension managed file type. If you have any insights. I'm happy to integrate them into the extension. I only found an article showing how to implement it yourself https://docs.microsoft.com/en-us/visualstudio/extensibility/internals/reformatting-code-in-a-legacy-language-service?view=vs-2022 , but not how to use the auto formatter for C/C# already somewhere inside Visual Studio.

@MarkusMiller
Copy link
Author

Ad hoc I don't know it either, unfortunately. Never dived into extension development. Might find to dive into it a bit after my PhD. Might take another year, though. Would suggest to leave this ticket open for now.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants