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
-> {"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[{"code":"DOT4000","message":"Invalid edge operation, use \"--\" in undirected graph","range":{"end":{"character":12,"line":1},"start":{"character":10,"line":1}},"severity":1}]},"range":{"end":{"character":11,"line":1},"start":{"character":10,"line":1}},"textDocument":{"uri":"file:///Users/erasin/Development/uml-demo/demo1.dot"}},"id":41}
<- {"jsonrpc":"2.0","id":41,"result":null}
<- null
-> {"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[{"code":"DOT4000","message":"Invalid edge operation, use \"--\" in undirected graph","range":{"end":{"character":12,"line":1},"start":{"character":10,"line":1}},"severity":1}]},"range":{"end":{"character":12,"line":1},"start":{"character":11,"line":1}},"textDocument":{"uri":"file:///Users/erasin/Development/uml-demo/demo1.dot"}},"id":42}
<- {"jsonrpc":"2.0","id":42,"result":null}
<- null
cursor select diagnostics: have action back
-> {"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[{"code":"DOT4000","message":"Invalid edge operation, use \"--\" in undirected graph","range":{"end":{"character":12,"line":1},"start":{"character":10,"line":1}},"severity":1}]},"range":{"end":{"character":12,"line":1},"start":{"character":10,"line":1}},"textDocument":{"uri":"file:///Users/erasin/Development/uml-demo/demo1.dot"}},"id":43}
<- {"jsonrpc":"2.0","id":43,"result":[{"title":"Change \"->\" to \"--\".","command":"DOT.changeEdgeOp","arguments":[23,25,"--","file:///Users/erasin/Development/uml-demo/demo1.dot"]},{"title":"Fix all edges to match graph","command":"DOT.convertGraphType","arguments":[[{"start":23,"end":25}],"--",{"start":0,"end":5},"graph","file:///Users/erasin/Development/uml-demo/demo1.dot"]},{"title":"Convert graph to digraph","command":"DOT.convertGraphType","arguments":[[],"->",{"start":0,"end":5},"digraph","file:///Users/erasin/Development/uml-demo/demo1.dot"]}]}
<- [{"arguments":[23,25,"--","file:///Users/erasin/Development/uml-demo/demo1.dot"],"command":"DOT.changeEdgeOp","title":"Change \"->\" to \"--\"."},{"arguments":[[{"end":25,"start":23}],"--",{"end":5,"start":0},"graph","file:///Users/erasin/Development/uml-demo/demo1.dot"],"command":"DOT.convertGraphType","title":"Fix all edges to match graph"},{"arguments":[[],"->",{"end":5,"start":0},"digraph","file:///Users/erasin/Development/uml-demo/demo1.dot"],"command":"DOT.convertGraphType","title":"Convert graph to digraph"}]
When I move cursor to diagostic range, I want get code action, but callback nothing.
If I select diagostic range, lsp will back.
I think if cursor in diagostic range and get back action tip is better.
file: demo1.dot
cursor in range : no action
cursor select diagnostics: have action back
node
v18.6.0
lsp version
1.1.17
os
Macos
termial
Alacritty
editor
helix editor
lang support add
~/.config/helix/language.toml
The text was updated successfully, but these errors were encountered: