dotnet / codeformatter

Tool that uses Roslyn to automatically rewrite the source to follow our coding styles
MIT License
1.24k stars 244 forks source link

Support DNX #199

Open jskeet opened 8 years ago

jskeet commented 8 years ago

This is a sort of bigger feature request version of issue #172.

In the brave new world, DNX-based projects and solutions are going to be more and more common. I haven't yet figured out a way of telling codeformatter to format all the code within a DNX solution or DNX project, as you can't specify individual source files (entirely reasonably, given that it's doing more than formatting).

jaredpar commented 8 years ago

This is definitely in the works now. The intent is to add support for project.json based projects. A couple of other pieces need to fall into place before we get full parity with MSBuild based project. But this will be coming.

Sent using OWA for iPhone


From: Jon Skeet notifications@github.com Sent: Thursday, November 26, 2015 11:37:10 PM To: dotnet/codeformatter Subject: [codeformatter] Support DNX (#199)

This is a sort of bigger feature request version of issue #172https://github.com/dotnet/codeformatter/issues/172.

In the brave new world, DNX-based projects and solutions are going to be more and more common. I haven't yet figured out a way of telling codeformatter to format all the code within a DNX solution or DNX project, as you can't specify individual source files (entirely reasonably, given that it's doing more than formatting).

Reply to this email directly or view it on GitHubhttps://github.com/dotnet/codeformatter/issues/199.

davidfowl commented 8 years ago

The workspace implementation should be good enough (hopefully) https://github.com/dotnet/cli/tree/master/src/Microsoft.DotNet.ProjectModel.Workspaces. We need to start producing packages for these so we can consume them here.

stuartleeks commented 7 years ago

Now that VS2017 is released, can we get a version of code formatter that will work on .NET Core based csproj projects (#256), and on a machine with only VS2017 installed, i.e. where .NET 4.5.2 isn't installed (#255)?

jaredpar commented 7 years ago

@stuartleeks it's on my radar to do. Still a lot of VS 2017 ship work going on right now. Once that calms down though going to be taking a look at this.

stuartleeks commented 7 years ago

I'll keep my fingers crossed that things calm down soon then :-)

gilescope commented 5 years ago

.net core formatter would be great...