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

Support for SSMS 2016 #45

Open
Traisr opened this issue Jun 3, 2016 · 2 comments
Open

Support for SSMS 2016 #45

Traisr opened this issue Jun 3, 2016 · 2 comments

Comments

@Traisr
Copy link

Traisr commented Jun 3, 2016

What is the timeline for a release for SSMS 2016?

@nycdotnet
Copy link
Owner

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
Copy link
Owner

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>

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

No branches or pull requests

2 participants