AdvancedOptionPageControl.xaml 4.7 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
<options:AbstractOptionPageControl
    x:Class="Microsoft.VisualStudio.LanguageServices.CSharp.Options.AdvancedOptionPageControl"
    x:ClassModifier="internal"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:options="clr-namespace:Microsoft.VisualStudio.LanguageServices.Implementation.Options;assembly=Microsoft.VisualStudio.LanguageServices.Implementation"
    xmlns:local="clr-namespace:Microsoft.VisualStudio.LanguageServices.CSharp.Options"
    mc:Ignorable="d" d:DesignHeight="500" d:DesignWidth="500">

    <ScrollViewer VerticalScrollBarVisibility="Auto">
        <StackPanel>
C
CyrusNajmabadi 已提交
14
            <GroupBox x:Uid="UsingDirectivesGroupBox"
C
CyrusNajmabadi 已提交
15
                      Header="{x:Static local:AdvancedOptionPageStrings.Option_Using_Directives}">
16 17 18 19
                <StackPanel>
                    <CheckBox x:Name="PlaceSystemNamespaceFirst"
                              x:Uid="SortUsings_PlaceSystemFirst"
                              Content="{x:Static local:AdvancedOptionPageStrings.Option_PlaceSystemNamespaceFirst}" />
C
CyrusNajmabadi 已提交
20 21 22 23 24 25
                    <CheckBox x:Name="SuggestForTypesInReferenceAssemblies"
                              x:Uid="AddImport_SuggestForTypesInReferenceAssemblies"
                              Content="{x:Static local:AdvancedOptionPageStrings.Option_Suggest_usings_for_types_in_reference_assemblies}" />
                    <CheckBox x:Name="SuggestForTypesInNuGetPackages"
                              x:Uid="AddImport_SuggestForTypesInNuGetPackages"
                              Content="{x:Static local:AdvancedOptionPageStrings.Option_Suggest_usings_for_types_in_NuGet_packages}" />
26 27
                </StackPanel>
            </GroupBox>
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
            <GroupBox x:Uid="HighlightingGroupBox"
                      Header="{x:Static local:AdvancedOptionPageStrings.Option_Highlighting}">
                <StackPanel>
                    <CheckBox x:Name="EnableHighlightReferences"
                              Content="{x:Static local:AdvancedOptionPageStrings.Option_EnableHighlightReferences}" />
                    <CheckBox x:Name="EnableHighlightKeywords"
                              Content="{x:Static local:AdvancedOptionPageStrings.Option_EnableHighlightKeywords}" />
                </StackPanel>
            </GroupBox>
            <GroupBox x:Uid="OutliningGroupBox"
                      Header="{x:Static local:AdvancedOptionPageStrings.Option_Outlining}">
                <StackPanel>
                    <CheckBox x:Name="EnterOutliningMode"
                              Content="{x:Static local:AdvancedOptionPageStrings.Option_EnterOutliningMode}" />
                    <CheckBox x:Name="DisplayLineSeparators"
                              Content="{x:Static local:AdvancedOptionPageStrings.Option_DisplayLineSeparators}" />
                </StackPanel>
            </GroupBox>
            <GroupBox x:Uid="EditorHelpGroupBox"
                      Header="{x:Static local:AdvancedOptionPageStrings.Option_EditorHelp}">
                <StackPanel>
                    <CheckBox x:Name="GenerateXmlDocCommentsForTripleSlash"
                              Content="{x:Static local:AdvancedOptionPageStrings.Option_GenerateXmlDocCommentsForTripleSlash}" />
P
Paul Chen 已提交
51 52
                    <CheckBox x:Name="InsertAsteriskAtTheStartOfNewLinesWhenWritingBlockComments"
                              Content="{x:Static local:AdvancedOptionPageStrings.Option_InsertAsteriskAtTheStartOfNewLinesWhenWritingBlockComments}"/>
53 54
                    <CheckBox x:Name="ClosedFileDiagnostics"
                              Content="{x:Static local:AdvancedOptionPageStrings.Option_ClosedFileDiagnostics}" />
55 56
                    <CheckBox x:Name="RenameTrackingPreview"
                              Content="{x:Static local:AdvancedOptionPageStrings.Option_RenameTrackingPreview}" />
57 58 59 60 61 62 63 64
                </StackPanel>
            </GroupBox>
            <GroupBox x:Uid="ExtractMethodGroupBox"
                      Header="{x:Static local:AdvancedOptionPageStrings.Option_ExtractMethod}">
                <StackPanel>
                    <CheckBox x:Name="DontPutOutOrRefOnStruct"
                              Content="{x:Static local:AdvancedOptionPageStrings.Option_DontPutOutOrRefOnStruct}" />
                    <CheckBox x:Name="AllowMovingDeclaration"
65 66
                              Content="{x:Static local:AdvancedOptionPageStrings.Option_AllowMovingDeclaration}"
                              Visibility="Collapsed" />
67 68 69 70 71
                </StackPanel>
            </GroupBox>
        </StackPanel>
    </ScrollViewer>
</options:AbstractOptionPageControl>