-
Task
-
Resolution: Fixed
-
P2: Important
-
None
-
None
-
4de69daf8 (dev), 6cdf8b829 (dev), b1f94cc4f (dev), 550d7a7b4 (dev)
Propose code snippets for Quick related stuff in qmlls, just like QtC does.
done
in progress
to be done
wont do
Here is the list of snippets from QtC:
for 'property' ![]()
property type name: value
for 'states'
but only inside of 'Item' or types inheriting from Item/QQuickItem.
states: [
State {
name: "name"
PropertyChanges {
target: object
}
}
]
for 'transitions'
but only inside of 'Item' or types inheriting from Item/QQuickItem.
transitions: [
Transition {
from: "fromState"
to: "toState"
}
]
for 'BorderImage' ![]()
BorderImage {
id: name
source: "file"
width: 100; height: 100
border.left: 5; border.top: 5
border.right: 5; border.bottom: 5
}
for 'ColorAnimation' ![]()
ColorAnimation {
from: "white"
to: "black"
duration: 200
}
for 'Image' ![]()
Image {
id: name
source: "file"
}
for 'Item' ![]()
Item {
id: name
}
for 'NumberAnimation' ![]()
NumberAnimation {
target: object
property: "name"
duration: 200
easing.type: Easing.InOutQuad
}
for 'NumberAnimation with targets' ![]()
NumberAnimation {
targets: [object]
properties: "name"
duration: 200
}
for 'PauseAnimation' ![]()
PauseAnimation {
duration: 200
}
for 'PropertyAction' ![]()
PropertyAction {
target: object; property: "name" }
for 'PropertyAction with targets' ![]()
PropertyAction {
targets: [object]
properties: "name"
}
for 'PropertyChanges' ![]()
PropertyChanges {
target: object
}
for 'State' ![]()
State {
name: "name"
PropertyChanges {
target: object
}
}
for 'Text' ![]()
Text {
id: name
text: qsTr("text")
}
for 'Transition' ![]()
Transition {
from: "fromState"
to: "toState"
}
- is required for
-
QTBUG-113727 qmlls: improve Code completion using new QQmlLSUtils stuff
-
- Closed
-
-
QTBUG-119964
New QML LSP features (6.8)
-
- Closed
-
- relates to
-
QTBUG-120250 qmlls: Snippet completion for bindings
-
- Reported
-
- resulted from
-
QTCREATORBUG-30056 QML snippets don't work when Language Server is enabled
-
- Closed
-
- resulted in
-
QTBUG-121222 qmlls: suggest animator snippets
-
- Reported
-
-
QTBUG-121354 qmlls: do not suggest Transitions when outside a transitions bindings
-
- Reported
-