This extension's snippet definitions
~/.vscode/extensions/waseemdev.flutter-xml-layout-0.0.31/snippets/dart.json
~/.vscode/extensions/waseemdev.flutter-xml-layout-0.0.31/snippets/xml.json
are missing the required description field in the JSON, which can break some snippet scanners. It should at least be defined and set to an empty string. For example
{
"fxml_widget": {
"prefix": "fxml_widget",
"body": [
"<${1:My}Page controller=\"${1:My}Controller\">",
" <Scaffold>",
" <appBar>",
" <AppBar>",
" <title>",
" <Text text=\"'${2:PageTitle}'\" />",
" </title>",
" </AppBar>",
" </appBar>",
" <body>",
" <Container>",
" </Container>",
" </body>",
" </Scaffold>",
"</${1:My}Page>"
]
}
}
should be
{
"fxml_widget": {
"prefix": "fxml_widget",
"body": [
"<${1:My}Page controller=\"${1:My}Controller\">",
" <Scaffold>",
" <appBar>",
" <AppBar>",
" <title>",
" <Text text=\"'${2:PageTitle}'\" />",
" </title>",
" </AppBar>",
" </appBar>",
" <body>",
" <Container>",
" </Container>",
" </body>",
" </Scaffold>",
"</${1:My}Page>"
],
"description": ""
}
}
This extension's snippet definitions
are missing the required
descriptionfield in the JSON, which can break some snippet scanners. It should at least be defined and set to an empty string. For example{ "fxml_widget": { "prefix": "fxml_widget", "body": [ "<${1:My}Page controller=\"${1:My}Controller\">", " <Scaffold>", " <appBar>", " <AppBar>", " <title>", " <Text text=\"'${2:PageTitle}'\" />", " </title>", " </AppBar>", " </appBar>", " <body>", " <Container>", " </Container>", " </body>", " </Scaffold>", "</${1:My}Page>" ] } }should be
{ "fxml_widget": { "prefix": "fxml_widget", "body": [ "<${1:My}Page controller=\"${1:My}Controller\">", " <Scaffold>", " <appBar>", " <AppBar>", " <title>", " <Text text=\"'${2:PageTitle}'\" />", " </title>", " </AppBar>", " </appBar>", " <body>", " <Container>", " </Container>", " </body>", " </Scaffold>", "</${1:My}Page>" ], "description": "" } }