Skip to content

Commit

Permalink
Minor corrections.
Browse files Browse the repository at this point in the history
  • Loading branch information
emu2021makuake authored Jul 20, 2021
1 parent 7149580 commit 0e75a3a
Showing 1 changed file with 72 additions and 16 deletions.
88 changes: 72 additions & 16 deletions xml.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"prefix": "list>li",
"body": [
"<ListBox SelectedIndex=\"0\" Margin=\"5\">",
" <ListBoxItem Content=\"${1:item1}\" />",
" <ListBoxItem Content=\"${1:item1}\" />$2",
"</ListBox>",
]
},
Expand All @@ -83,7 +83,7 @@
"prefix": "combo>ci",
"body": [
"<ComboBox SelectedIndex=\"0\" Margin=\"5\">",
" <ComboBoxItem Content=\"${1:item1}\" />",
" <ComboBoxItem Content=\"${1:item1}\" />$2",
"</ComboBox>",
]
},
Expand All @@ -101,39 +101,67 @@
},
"Grid for XAML": {
"prefix": "grid",
"body": "<Grid>$1</Grid>"
"body": [
"<Grid>",
" $1",
"</Grid>",
]
},
"StackPanel for XAML": {
"prefix": "stack",
"body": "<StackPanel>$1</StackPanel>"
"body": [
"<StackPanel>",
" $1",
"</StackPanel>",
]
},
"Horizontal StackPanel for XAML": {
"prefix": "stackh",
"body": "<StackPanel Orientation=\"Horizontal\">$1</StackPanel>"
"body": [
"<StackPanel Orientation=\"Horizontal\">",
" $1",
"</StackPanel>",
]
},
"WrapPanel for XAML": {
"prefix": "wrap",
"body": "<WrapPanel>$1</WrapPanel>"
"body": [
"<WrapPanel>",
" $1",
"</WrapPanel>",
]
},
"DockPanel for XAML": {
"prefix": "dock",
"body": "<DockPanel>$1</DockPanel>"
"body": [
"<DockPanel>",
" $1",
"</DockPanel>",
]
},
"Grid RowDefinition for XAML": {
"prefix": "rd",
"body": "<RowDefinition Height=\"${1:1*}\" />$2"
},
"Grid RowDefinitions for XAML": {
"prefix": "rds",
"body": "<Grid.RowDefinitions>$1</Grid.RowDefinitions>"
"body": [
"<Grid.RowDefinitions>",
" $1",
"</Grid.RowDefinitions>",
]
},
"Grid ColumnDefinition for XAML": {
"prefix": "cd",
"body": "<ColumnDefinition Width=\"${1:1*}\" />$2"
},
"Grid ColumnDefinitions for XAML": {
"prefix": "cds",
"body": "<Grid.ColumnDefinitions>$1</Grid.ColumnDefinitions>"
"body": [
"<Grid.ColumnDefinitions>",
" $1",
"</Grid.ColumnDefinitions>",
]
},
"StackPanel>Button*3 for XAML": {
"prefix": "stack>btn*3",
Expand Down Expand Up @@ -195,23 +223,43 @@
},
"Style for XAML": {
"prefix": "style",
"body": "<Style TargetType=\"${1:Button}\">$2</Style>"
"body": [
"<Style TargetType=\"${1:Button}\">",
" $2",
"</Style>",
]
},
"Style x:Key... for XAML": {
"prefix": "style#",
"body": "<Style x:Key=\"${1:key1}\" TargetType=\"${2:Button}\">$3</Style>"
"body": [
"<Style x:Key=\"${1:key1}\" TargetType=\"${2:Button}\">",
" $3",
"</Style>",
]
},
"Window Resources for XAML": {
"prefix": "winres",
"body": "<Window.Resources>$1</Window.Resources>"
"body": [
"<Window.Resources>",
" $1",
"</Window.Resources>",
]
},
"Page Resources for XAML": {
"prefix": "pgres",
"body": "<Page.Resources>$1</Page.Resources>"
"body": [
"<Page.Resources>",
" $1",
"</Page.Resources>",
]
},
"UserControl Resources for XAML": {
"prefix": "ucres",
"body": "<UserControl.Resources>$1</UserControl.Resources>"
"body": [
"<UserControl.Resources>",
" $1",
"</UserControl.Resources>",
]
},
"Setter for XAML": {
"prefix": "set",
Expand All @@ -230,7 +278,11 @@
},
"Menu for XAML": {
"prefix": "menu",
"body": "<Menu>$1</Menu>"
"body": [
"<Menu>",
" $1",
"</Menu>",
]
},
"Menu>MenuItem for XAML": {
"prefix": "menu>mi",
Expand All @@ -242,7 +294,11 @@
},
"ContextMenu for XAML": {
"prefix": "cmenu",
"body": "<ContextMenu>$1</ContextMenu>"
"body": [
"<ContextMenu>",
" $1",
"</ContextMenu>",
]
},
"ContextMenu>MenuItem for XAML": {
"prefix": "cmenu>mi",
Expand Down

0 comments on commit 0e75a3a

Please sign in to comment.