project-system icon indicating copy to clipboard operation
project-system copied to clipboard

IntelliSense for package reference versions while editing csproj

Open srivatsn opened this issue 9 years ago • 9 comments

Today csproj has schema based IntelliSense but we should provide intellisense for package names and versions while editing the project file.

This likely requires a "MSBuild language service"

srivatsn avatar Nov 17 '16 17:11 srivatsn

+1 Specifically for a MSBuild Language Service. Would love to see a powerful MSBuild lang service that could also be shared with Code/VS for Mac/other LSP implementer. Sure the guys on the code team would agree.

RichiCoder1 avatar Nov 17 '16 19:11 RichiCoder1

One of my favorite features of the project.json system was having intellisense when manually adding Nuget packages, for both names and versions. I've found the csproj system frustrating because it lacks this.

michaeldaw avatar Dec 05 '16 17:12 michaeldaw

There's now an extension for package intellisense built out of https://github.com/dotnet/ProjFileTools Keeping this issue to track putting that in the box.

srivatsn avatar Mar 24 '17 13:03 srivatsn

Direct link to the VS Gallery page for the intellisense extension listed above: https://marketplace.visualstudio.com/items?itemName=ms-madsk.ProjectFileTools

I really wish this was built in to Visual Studio, like how it was built in for project.json

Daniel15 avatar May 09 '17 04:05 Daniel15

Still not working even after installing the ProjFileTools extension in Visual studio 2017 Pro.

avinashcodelabs avatar May 19 '17 19:05 avinashcodelabs

@avinash2wards What's not working? IntelliSense for packages? Or IntelliSense for MSBuild constructs?

davkean avatar May 21 '17 23:05 davkean

IntelliSense for the XML part seems to work, but not the IntelliSense for packages:

msbuild intellisense

I am using VS2017 15.3 Preview 3, with Project File Tools 1.0.2.

geirsagberg avatar Jun 28 '17 13:06 geirsagberg

Any update on the IntelliSense working for package references & versions as mentioned by @geirsagberg?

tb-mtg avatar Feb 03 '21 01:02 tb-mtg

Hey, I've noticed this issue has been dragging on for a while now, and it's still not fixed. Any updates on that? I see other people are hitting the same issue too, which shows there's a real need for a solution. There are tools like ProjFileTools and MonoDevelop.MSBuildEditor that could help, but they're either experimental or have been discontinued. Plus, MonoDevelop.MSBuildEditor was even promoted on the Visual Studio blog as offering a 'new MSBuild editing experience.' Wouldn't it make sense to integrate these into Visual Studio instead of starting from scratch?

cc @John0King @mhutch

Varorbc avatar Dec 13 '24 05:12 Varorbc