Commit c1a01126 authored by Dieter Konrad's avatar Dieter Konrad

Block Commentar

parent 43e4e9c6
......@@ -2,9 +2,23 @@
- https://keepachangelog.com/de/1.0.0/
## [1.2.1] - 2018-12-13
### Added
- Oneline Blockcomments like /* comment */
{
"name": "comment.qml",
"match": "(//[\\t|\\s|\\w|\\d|\\.]*[\\r\\n|\\n|:])"
},
"single-line-comment-consuming-line-ending": {
"begin": "(^[ \\t]+)?((//)(?:\\s*((@)internal)(?=\\s|$))?)",
"end": "(?=^)",
"contentName": "comment.line.double-slash.qml"
},
## [1.2.0] - 2018-12-10
### Changes
### Added
- Snippets for basic types
- Snipptes List [but, butid, prop, pint, pbool, pdouble, pvar,pstr, palias, moa]
......
{
"name": "qml",
"displayName": "QML",
"version": "1.2.0",
"version": "1.2.1",
"publisher": "cutetee",
"description": "Cute IDE - QML highlighting & snippets",
"author": {
......
......@@ -49,10 +49,6 @@
"name": "markup.changed.qml",
"match": "\\b(alias)\\b|\\b(signal)\\b"
},
{
"name": "comment.qml",
"match": "(//[\\t|\\s|\\w|\\d|\\.]*[\\r\\n|\\n|:])"
},
{
"Beschreibung": "QML Usertypen",
"name": "markup.changed.qml",
......@@ -89,10 +85,5 @@
]
}
},
"single-line-comment-consuming-line-ending": {
"begin": "(^[ \\t]+)?((//)(?:\\s*((@)internal)(?=\\s|$))?)",
"end": "(?=^)",
"contentName": "comment.line.double-slash.qml"
},
"scopeName": "source.qml"
}
\ No newline at end of file
......@@ -20,13 +20,12 @@ MouseArea {
}
/* Oneline Blockcomment */
color: "gray" // object properties
x: 20 // try to group related properties together
y: 20
height: 150
width: { // large bindings
if (photoImage.width > 200) {
if (photoImage.width > 200) {
photoImage.width;
} else {
200;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment