sdk icon indicating copy to clipboard operation
sdk copied to clipboard

Create a `solution` alias for the existing `sln` command

Open baronfel opened this issue 2 years ago • 9 comments

Is your feature request related to a problem? Please describe.

We should add a solution alias to the existing sln command. The current implementation of the sln command interacts with .sln files, but the new .slnx file format logically supports many of the same commands. Some quick surveys suggest that most users want the current sln command to interact with .slnx files, but the sln name could present some confusion. Adding a solution command

  • uses the name of the logical concept instead of tying the command to a particular file format
  • can be done in a lossless and back-compatible way
  • opens up design space for a sibling dotnet project command
  • can be tab-completed to mitigate the additional typing

baronfel avatar May 10 '24 14:05 baronfel

Hi @baronfel I am new to Open-Source Can i work on this issue.

kunalshokeen051 avatar May 11 '24 14:05 kunalshokeen051

Awesome @kunalshokeen051 - I want to check with the rest of the team to make sure we want to do this, but once we chat about it and agree I'd love to accept a PR from you!

baronfel avatar May 11 '24 17:05 baronfel

@kunalshokeen051 Ok, I've taken this to the team and we're all on board with the change. If you'd like to submit a PR we'd be happy to review and help get it merged.

baronfel avatar May 15 '24 21:05 baronfel

Why not the other way around?

Instead of just adding a solution alias to the sln command, can we rename the sln to solution command and make the command sln as a short-hand alias?

Nirmal4G avatar Jun 20 '24 20:06 Nirmal4G

That'd be fine - there's no huge functional difference.

baronfel avatar Jun 20 '24 20:06 baronfel

@baronfel Okay then, seems simple enough! If @kunalshokeen051 still wants to do it, please confirm, otherwise I can take it up.

Nirmal4G avatar Jun 21 '24 11:06 Nirmal4G

~~@marcpopMSFT Assigning this to @edvilme since the open source contributor hasn't had time to get to this one.~~ JK there's a PR now.

nagilson avatar Oct 01 '24 21:10 nagilson

Hi, due to this commit can we close this issue?

mariuszbyahoo avatar Oct 22 '24 11:10 mariuszbyahoo

We can! Thanks!

nagilson avatar Oct 22 '24 17:10 nagilson