codeformatter icon indicating copy to clipboard operation
codeformatter copied to clipboard

Support DNX

Open jskeet opened this issue 10 years ago • 6 comments

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).

jskeet avatar Nov 27 '15 07:11 jskeet

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 [email protected] 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.

jaredpar avatar Nov 27 '15 18:11 jaredpar

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.

davidfowl avatar Nov 27 '15 19:11 davidfowl

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)?

stuartleeks avatar Mar 10 '17 14:03 stuartleeks

@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.

jaredpar avatar Mar 10 '17 17:03 jaredpar

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

stuartleeks avatar Mar 12 '17 21:03 stuartleeks

.net core formatter would be great...

gilescope avatar Nov 12 '18 14:11 gilescope