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

Add VisualStudio 2022 Package #275

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

lennybacon
Copy link

I created a working version for VisualStudio 2022.

  1. Changed Solution for VisualStudio 2022.
  2. Changed Target Frameworks to .NET 4.8
  3. Added VS2022Lib which references VisualStudio 2022 extensibility assemblies.
  4. Added Package for VisualStudio 2022.
  5. Had to fix the version numbers of the references projects.

Open Questions:

  • For 3) The files might be linked from the SSMSLib project.
  • I would like to omit 5. I have no Idea of the build process or how versions are set

Looking forward hearing from you!

@gbny
Copy link

gbny commented Feb 3, 2022

Bump!

@crazycga
Copy link

It's really too bad this project appears to be abandoned. Thank you @lennybacon for updating this package; I'm installing it in my dev system because I use PoorSQL all the time. In fact, I train everyone that works for me that it's a requirement to run all SQL code through it (with certain settings) before checkin. So having it as a package is GREAT.

@Da13Harris
Copy link

Da13Harris commented May 25, 2022

Yes, thank you @lennybacon for the update. It's much appreciated. Our team has also installed it in VS 2022 from your fork.

@TaoK It would be great if you could accept the pull request and get it into the marketplace, but I understand that open source can be thankless work. Either way, thanks for the effort you've put into it. This really is an excellent SQL formatter.

@Grendagon
Copy link

I'd really like to use this but I have no experience installing VS plugins from source. Can anyone help with a list of steps to get this working in my IDE?

@lennybacon
Copy link
Author

@Grendagon

  • Just download the sources.
  • Install Visual Studio 2022
  • Open the Project
  • Compile the sources ([CTRL]+[SHIFT]+[B])
  • Find the *.vsix in the output folder.
  • Double click the *.vsix to install

@mj6robinson
Copy link

I have thrown up the port onto marketplace - https://marketplace.visualstudio.com/items?itemName=mick9956.PoorMansTSqlFormatter

@lennybacon
Copy link
Author

@mj6robinson thank you. A merge would be even better but this will allow to just install and use it.

@mpsoftdev
Copy link

+1

@GerritKViehmannHE
Copy link

My path to a working install for SSMS 20 was:
2. Deinstall [sic] the Microsoft C++ 2015-2022 Redistributable and also Microsoft C++ 2015 Redistributable
3. Install PoorMansTSqlFormatterSSMSPackage.Setup.1.6.16.msi
4. Install Microsoft Visual Studio 2015 Shell (Isolated) (found [vs_isoshell.exe] in the Visual Studio 2015 SDK. The cat file on the official MS VS website doesn't work)
5. Copy the PKGDEF File to "C:\Program Files (x86)\Microsoft SQL Server Management Studio 20\Common7\IDE\Extensions\PoorMansTSqlFormatterSSMSPackage.pkgdef"

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

Successfully merging this pull request may close these issues.

8 participants