interactive icon indicating copy to clipboard operation
interactive copied to clipboard

Formatting of C# Code inside code cell

Open vabka opened this issue 4 years ago • 5 comments
trafficstars

Is your feature request related to a problem? Please describe. I want to be able to use code-formatting and refactoring features from other extensions in VS Code Currently, when i call "Format Document" i get an "There is no formatter for 'dotnet-interactive.csharp' file installed"

Describe the solution you'd like Code cell acting like plain file.


There is an issue from omnisharp-vscode: https://github.com/OmniSharp/omnisharp-vscode/issues/4804

vabka avatar Oct 15 '21 13:10 vabka

we want it; and python is supported image

heartacker avatar Dec 02 '21 00:12 heartacker

This would be great - especially useful when writing lots of linq code

mika76 avatar Jul 04 '22 20:07 mika76

I'd like to bump this (@jonsequitur maybe?) - I know it's not some crazy productivity feature or something, but man it would be so useful. I also wonder if it wouldn't be pretty easy to implement just using the C# extensions formatter?

mika76 avatar Dec 07 '23 08:12 mika76

I agree it would be very useful. I've added the help wanted tag because the team won't have time for it any time soon but we'd be happy to help someone prepare a PR.

jonsequitur avatar Dec 19 '23 23:12 jonsequitur