benlaan / sqlformat

.NET SQL Parser and Formatter Tool and SSMS Plugin
http://sqlformat.benlaan.com
BSD 3-Clause "New" or "Revised" License
70 stars 27 forks source link

Support integrating with Visual Studio #14

Open flcdrg opened 10 years ago

flcdrg commented 10 years ago

http://blog.bagearon.com/2012/03/sql-server-management-studio-2012-color-themes-extension-support/

FYI looks like SSMS 2012 and above do support MEF extensions by installing into C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\Extensions

benlaan commented 9 years ago

Hey Dave, does this SSMS 2012 integration work yet? If not, what is outstanding? I have just upgraded at work to SSMS 2012 and I'm missing this funcitonality!

flcdrg commented 9 years ago

I think the only thing to finish before closing this item would be to fix the problem where it pops up a couple of alerts when it starts up. Otherwise should be fine. I should test it with 2014

benlaan commented 9 years ago

Cool. I'll have a look - hopefully tonight

On 18 March 2015 at 15:11, David Gardiner notifications@github.com wrote:

I think the only thing to finish before closing this item would be to fix the problem where it pops up a couple of alerts when it starts up. Otherwise should be fine. I should test it with 2014

— Reply to this email directly or view it on GitHub https://github.com/benlaan/sqlformat/issues/14#issuecomment-82736955.

http://benlaan.com

benlaan commented 9 years ago

@flcdrg - I debugged this last night and found that it is working when a config file it is looking for is present. I then modified the code to look for 'GenericPane' instead of 'DockingView' and it is now working on my machine.

I don't understand what MEF has to do with it?

flcdrg commented 9 years ago

I originally thought it might be relevant, but I suspect for this kind of extension is might not be