Advertisement
Guest User

Untitled

a guest
Feb 21st, 2019
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.93 KB | None | 0 0
  1.  
  2. LSP4E to org.eclipse.shellwax.ls:Content-Length: 1214
  3.  
  4.  
  5. LSP4E to org.eclipse.shellwax.ls:{"jsonrpc":"2.0","id":"1","method":"initialize","params":{"processId":1563,"rootPath":"/home/akurtakov/work/runtime-EclipseApplication/test/","rootUri":"file:///home/akurtakov/work/runtime-EclipseApplication/test/","capabilities":{"workspace":{"applyEdit":true,"workspaceEdit":{"documentChanges":true,"resourceOperations":["create","delete","rename"],"failureHandling":"undo"},"symbol":{},"executeCommand":{"dynamicRegistration":true},"workspaceFolders":true},"textDocument":{"synchronization":{"willSave":true,"willSaveWaitUntil":true,"didSave":true},"completion":{"completionItem":{"snippetSupport":true}},"hover":{},"signatureHelp":{},"references":{},"documentHighlight":{},"documentSymbol":{"symbolKind":{"valueSet":[18,17,5,14,9,10,22,24,8,1,12,11,20,6,2,3,21,16,19,25,4,7,15,23,26,13]},"hierarchicalDocumentSymbolSupport":true},"formatting":{},"rangeFormatting":{},"definition":{},"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}},"dynamicRegistration":true},"codeLens":{},"documentLink":{},"colorProvider":{},"rename":{}}},"clientName":"Eclipse Platform","trace":"off"}}
  6. org.eclipse.shellwax.ls to LSP4E:{"jsonrpc":"2.0","method":"window/logMessage","params":{"type":4,"message":"Initialized server v. 1.5.5 for file:///home/akurtakov/work/runtime-EclipseApplication/test/"}}
  7. org.eclipse.shellwax.ls to LSP4E:{"jsonrpc":"2.0","method":"window/logMessage","params":{"type":4,"message":"Analyzing file:///home/akurtakov/work/runtime-EclipseApplication/test/test.sh"}}
  8. org.eclipse.shellwax.ls to LSP4E:{"jsonrpc":"2.0","id":"1","result":{"capabilities":{"textDocumentSync":1,"completionProvider":{"resolveProvider":true},"hoverProvider":true,"documentHighlightProvider":true,"definitionProvider":true,"documentSymbolProvider":true,"referencesProvider":true}}}
  9. LSP4E to org.eclipse.shellwax.ls:Content-Length: 52
  10.  
  11.  
  12. LSP4E to org.eclipse.shellwax.ls:{"jsonrpc":"2.0","method":"initialized","params":{}}
  13. LSP4E to org.eclipse.shellwax.ls:Content-Length: 818
  14.  
  15.  
  16. LSP4E to org.eclipse.shellwax.ls:{"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"uri":"file:///home/akurtakov/work/runtime-EclipseApplication/test/test.sh","languageId":"sh","version":1,"text":"#!/bin/sh\n# A simple script with a function...\n\nadd_a_user()\n{\n USER\u003d$1\n PASSWORD\u003d$2\n shift; shift;\n # Having shifted twice, the rest is now comments ...\n COMMENTS\u003d$@\n echo \"Adding user $USER ...\"\n echo useradd -c \"$COMMENTS\" $USER\n echo passwd $USER $PASSWORD\n echo \"Added user $USER ($COMMENTS) with pass $PASSWORD\"\n}\n\n###\n# Main body of script starts here\n###\necho \"Start of script...\"\nadd_a_user bob letmein Bob Holness the presenter\nadd_a_user fred badpassword Fred Durst the singer\nadd_a_user bilko worsepassword Sgt. Bilko the role model\necho \"End of script...\""}}}
  17. LSP4E to org.eclipse.shellwax.ls:Content-Length: 208
  18.  
  19.  
  20. LSP4E to org.eclipse.shellwax.ls:{"jsonrpc":"2.0","id":"2","method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///home/akurtakov/work/runtime-EclipseApplication/test/test.sh"},"position":{"line":0,"character":0}}}
  21. org.eclipse.shellwax.ls to LSP4E:{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///home/akurtakov/work/runtime-EclipseApplication/test/test.sh","diagnostics":[]}}
  22. org.eclipse.shellwax.ls to LSP4E:{"jsonrpc":"2.0","id":"2","result":[]}
  23. LSP4E to org.eclipse.shellwax.ls:Content-Length: 209
  24.  
  25.  
  26. LSP4E to org.eclipse.shellwax.ls:{"jsonrpc":"2.0","id":"3","method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///home/akurtakov/work/runtime-EclipseApplication/test/test.sh"},"position":{"line":9,"character":13}}}
  27. org.eclipse.shellwax.ls to LSP4E:{"jsonrpc":"2.0","id":"3","result":[]}
  28. LSP4E to org.eclipse.shellwax.ls:Content-Length: 272
  29.  
  30.  
  31. LSP4E to org.eclipse.shellwax.ls:{"jsonrpc":"2.0","id":"4","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///home/akurtakov/work/runtime-EclipseApplication/test/test.sh"},"uri":"file:///home/akurtakov/work/runtime-EclipseApplication/test/test.sh","position":{"line":5,"character":5}}}
  32. org.eclipse.shellwax.ls to LSP4E:{"jsonrpc":"2.0","method":"window/logMessage","params":{"type":4,"message":"Hovering over 5:5"}}
  33. org.eclipse.shellwax.ls to LSP4E:{"jsonrpc":"2.0","id":"4","result":null}
  34. LSP4E to org.eclipse.shellwax.ls:Content-Length: 208
  35.  
  36.  
  37. LSP4E to org.eclipse.shellwax.ls:{"jsonrpc":"2.0","id":"5","method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///home/akurtakov/work/runtime-EclipseApplication/test/test.sh"},"position":{"line":4,"character":1}}}
  38. org.eclipse.shellwax.ls to LSP4E:{"jsonrpc":"2.0","id":"5","result":[]}
  39. LSP4E to org.eclipse.shellwax.ls:Content-Length: 272
  40.  
  41.  
  42. LSP4E to org.eclipse.shellwax.ls:{"jsonrpc":"2.0","id":"6","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///home/akurtakov/work/runtime-EclipseApplication/test/test.sh"},"uri":"file:///home/akurtakov/work/runtime-EclipseApplication/test/test.sh","position":{"line":3,"character":5}}}
  43. org.eclipse.shellwax.ls to LSP4E:{"jsonrpc":"2.0","method":"window/logMessage","params":{"type":4,"message":"Hovering over 3:5"}}
  44. org.eclipse.shellwax.ls to LSP4E:{"jsonrpc":"2.0","id":"6","result":null}
  45. LSP4E to org.eclipse.shellwax.ls:Content-Length: 208
  46.  
  47.  
  48. LSP4E to org.eclipse.shellwax.ls:{"jsonrpc":"2.0","id":"7","method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///home/akurtakov/work/runtime-EclipseApplication/test/test.sh"},"position":{"line":3,"character":5}}}
  49. org.eclipse.shellwax.ls to LSP4E:{"jsonrpc":"2.0","id":"7","result":[{"range":{"start":{"line":3,"character":0},"end":{"line":3,"character":10}}},{"range":{"start":{"line":20,"character":0},"end":{"line":20,"character":10}}},{"range":{"start":{"line":21,"character":0},"end":{"line":21,"character":10}}},{"range":{"start":{"line":22,"character":0},"end":{"line":22,"character":10}}}]}
  50. LSP4E to org.eclipse.shellwax.ls:Content-Length: 208
  51.  
  52.  
  53. LSP4E to org.eclipse.shellwax.ls:{"jsonrpc":"2.0","id":"8","method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///home/akurtakov/work/runtime-EclipseApplication/test/test.sh"},"position":{"line":4,"character":1}}}
  54. org.eclipse.shellwax.ls to LSP4E:{"jsonrpc":"2.0","id":"8","result":[]}
  55. LSP4E to org.eclipse.shellwax.ls:Content-Length: 169
  56.  
  57.  
  58. LSP4E to org.eclipse.shellwax.ls:{"jsonrpc":"2.0","id":"9","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///home/akurtakov/work/runtime-EclipseApplication/test/test.sh"}}}
  59. org.eclipse.shellwax.ls to LSP4E:{"jsonrpc":"2.0","id":"9","result":[{"name":"add_a_user","kind":12,"location":{"uri":"file:///home/akurtakov/work/runtime-EclipseApplication/test/test.sh","range":{"start":{"line":3,"character":0},"end":{"line":14,"character":1}}}},{"name":"USER","location":{"uri":"file:///home/akurtakov/work/runtime-EclipseApplication/test/test.sh","range":{"start":{"line":5,"character":2},"end":{"line":5,"character":9}}},"containerName":"add_a_user"},{"name":"PASSWORD","location":{"uri":"file:///home/akurtakov/work/runtime-EclipseApplication/test/test.sh","range":{"start":{"line":6,"character":2},"end":{"line":6,"character":13}}},"containerName":"add_a_user"},{"name":"COMMENTS","location":{"uri":"file:///home/akurtakov/work/runtime-EclipseApplication/test/test.sh","range":{"start":{"line":9,"character":2},"end":{"line":9,"character":13}}},"containerName":"add_a_user"}]}
  60. LSP4E to org.eclipse.shellwax.ls:Content-Length: 210
  61.  
  62.  
  63. LSP4E to org.eclipse.shellwax.ls:{"jsonrpc":"2.0","id":"10","method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///home/akurtakov/work/runtime-EclipseApplication/test/test.sh"},"position":{"line":18,"character":3}}}
  64. org.eclipse.shellwax.ls to LSP4E:{"jsonrpc":"2.0","id":"10","result":[]}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement