You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Live templates autocomplete code AND, if relevant, prompt users to fill out variable names before the completion is considered done.
We'll use VAR to represent things that should be filled out by the user and "$" to represent the cursor position when done.
For now we'll collect everything here because there probably aren't that many Kobweb concepts but we could break this up into multiple bugs if that's better.
Actual live template shortcut names are open for debate!
Frontend
csss/cssstyle = CssStyle
valVAR=CssStyle {
base { Modifier.$ }
}
csssb/cssstylebase = CssStyle.base
valVAR=CssStyle.base {
Modifier.$
}
page
@Page
@Composable
funVAR() {
$
}
worker
val worker = rememberWorker {
VAR { output ->
$
}
}
Live templates autocomplete code AND, if relevant, prompt users to fill out variable names before the completion is considered done.
We'll use VAR to represent things that should be filled out by the user and "$" to represent the cursor position when done.
For now we'll collect everything here because there probably aren't that many Kobweb concepts but we could break this up into multiple bugs if that's better.
Actual live template shortcut names are open for debate!
Frontend
csss/cssstyle = CssStyle
csssb/cssstylebase = CssStyle.base
page
worker
initsilk
initkobweb
Backend
api
initapi
objapistream
apistream
The text was updated successfully, but these errors were encountered: