nycdotnet / TSqlFlex

An addon for SSMS using the Red Gate SIP Framework
MIT License
73 stars 14 forks source link

Support for SSMS 2016 #45

Open Traisr opened 8 years ago

Traisr commented 8 years ago

What is the timeline for a release for SSMS 2016?

nycdotnet commented 8 years ago

Hi, It may be a while. My understanding is that the extension story for SSMS 2016 is significantly different than SSMS 2014 and earlier. See this post:

https://groups.google.com/forum/#!topic/ssms-addins/Whd1IUzFMJg

I'm not using SSMS 2016 yet. When/if I start using it, I will update T-SQL Flex to support it. In the meantime, pull requests accepted. Thanks!

nycdotnet commented 7 years ago

Sample WPF form for SSMS 2016 support:

<Window x:Class="WpfApp1.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:WpfApp1"
        mc:Ignorable="d"
        Title="MainWindow" Height="350" Width="525">
    <Grid >
        <Grid.RowDefinitions>
            <RowDefinition Height="*" MinHeight="40"></RowDefinition>
            <RowDefinition Height="1"></RowDefinition>
            <RowDefinition Height="*" MinHeight="40"></RowDefinition>
        </Grid.RowDefinitions>
        <DockPanel LastChildFill="True" Grid.Row="0">
            <UniformGrid Columns="2" DockPanel.Dock="Top" Background="Green">
                <WrapPanel>
                    <Button Content="Click me 1" Padding="5"></Button>
                </WrapPanel>
                <WrapPanel HorizontalAlignment="Right">
                    <Button Content="Click me 2" Padding="5"></Button>
                    <Button Content="Click me 3" Padding="5"></Button>
                </WrapPanel>
            </UniformGrid>
            <TextBox IsReadOnly="True" AcceptsReturn="True" Name="QueryBox"></TextBox>
        </DockPanel>
        <GridSplitter ResizeDirection="Rows" Grid.Row="1" Background="Black" HorizontalAlignment="Stretch"></GridSplitter>
        <DockPanel LastChildFill="True" Grid.Row="2">
            <UniformGrid Columns="2" DockPanel.Dock="Top" Background="Red">
                <WrapPanel>
                    <Button Content="Click me 1" Padding="5"></Button>
                </WrapPanel>
                <WrapPanel HorizontalAlignment="Right">
                    <Button Content="Click me 2" Padding="5"></Button>
                    <Button Content="Click me 3" Padding="5"></Button>
                </WrapPanel>
            </UniformGrid>
            <TextBox IsReadOnly="True" AcceptsReturn="True" Name="ResultsBox"></TextBox>
        </DockPanel>
    </Grid>
</Window>