Minimal changes
This commit is contained in:
@@ -20,8 +20,6 @@ import (
|
|||||||
"cuelang.org/go/cue"
|
"cuelang.org/go/cue"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
type CompletionParams struct {
|
type CompletionParams struct {
|
||||||
TextDocument TextDocumentIdentifier `json:"textDocument"`
|
TextDocument TextDocumentIdentifier `json:"textDocument"`
|
||||||
Position Position `json:"position"`
|
Position Position `json:"position"`
|
||||||
@@ -171,7 +169,6 @@ type TextEdit struct {
|
|||||||
NewText string `json:"newText"`
|
NewText string `json:"newText"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
func RunServer() {
|
func RunServer() {
|
||||||
reader := bufio.NewReader(os.Stdin)
|
reader := bufio.NewReader(os.Stdin)
|
||||||
for {
|
for {
|
||||||
@@ -986,9 +983,7 @@ func formatNodeInfo(node *index.ProjectNode) string {
|
|||||||
if typ != "" {
|
if typ != "" {
|
||||||
sigInfo += fmt.Sprintf("**Type**: `%s` ", typ)
|
sigInfo += fmt.Sprintf("**Type**: `%s` ", typ)
|
||||||
}
|
}
|
||||||
if ds != "" {
|
|
||||||
sigInfo += fmt.Sprintf("**DataSource**: `%s` ", ds)
|
sigInfo += fmt.Sprintf("**DataSource**: `%s` ", ds)
|
||||||
}
|
|
||||||
|
|
||||||
// Size
|
// Size
|
||||||
dims := node.Metadata["NumberOfDimensions"]
|
dims := node.Metadata["NumberOfDimensions"]
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ package schema
|
|||||||
StateMachineEvent: {
|
StateMachineEvent: {
|
||||||
NextState!: string
|
NextState!: string
|
||||||
NextStateError!: string
|
NextStateError!: string
|
||||||
Timeout: uint32
|
Timeout?: uint32
|
||||||
[_= !~"^(Class|NextState|Timeout|NextStateError|[#_$].+)$"]: Message
|
[_= !~"^(Class|NextState|Timeout|NextStateError|[#_$].+)$"]: Message
|
||||||
...
|
...
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user