Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[Feature]: Add tab to command palette for Central Package Management XML #9944

Open
thompson-tomo opened this issue May 12, 2024 · 5 comments
Labels
feature-request Customer feature request Triaged

Comments

@thompson-tomo
Copy link

Related Problem

I use central package management and global package references and am wanting to make it nice and easy for me to determine what information i need to add to my files

The Elevator Pitch

When looking at package it should be quicker and easier for a developer to know what the xml element which needs to be added to install package as a global package reference. At the same time it should also be as easy to know how to add it when using central package management.

Additional Context and Details

No response

@thompson-tomo thompson-tomo added the feature-request Customer feature request label May 12, 2024
@joelverhagen
Copy link
Member

I want to make sure I understand what you mean. Today we have this for direct package dependency:
image

Are you asking for another tab for central package management XML?
Such as:

<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />

@thompson-tomo
Copy link
Author

Correct & I would suggest to also include the required info for the csproj in the same tab to make it as seamless as possible for developers.

@joelverhagen
Copy link
Member

Thanks for the confirmation.

Could you give an example of which required info you'd really like to see? If we put too much information in there, it might push the content down the page too far or be hard to understand. Would this additional information be copyable or just for reference? Perhaps a link to documentation could be an alternative?

@thompson-tomo
Copy link
Author

@joelverhagen sure what i would like is as follows.

  • New Tab "Central Package management"
  • Body of tab as described below
  • Footer with a link to central package management docs just like package reference

Body Contents

Directory.Packages.props file

<PackageVersion Include="WeMicroIt.Extensions.Configuration.JavaProperties" Version="1.0.0-preview-06" />

Project reference

<PackageReference Include="WeMicroIt.Extensions.Configuration.JavaProperties" />

While this ui tweak is being made i would suggest the cake tab is layed out the same way which also has 2 command options which are currently grouped together as one making not that easy to execute.

@joelverhagen joelverhagen changed the title [Feature]: Provide additional options of CSPROJ elements [Feature]: Add tab to command palette for Central Package Management XML May 18, 2024
@JonDouglas
Copy link
Contributor

This a fabulous idea! @jeffkl FYI for awareness

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Customer feature request Triaged
Projects
None yet
Development

No branches or pull requests

3 participants