Created
May 7, 2020 15:24
Star
You must be signed in to star a gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
client-request (id:1) Thu May 7 11:20:43 2020: | |
(:jsonrpc "2.0" :id 1 :method "initialize" :params | |
(:processId 1241 :rootPath "/home/adam/tmp/" :rootUri "file:///home/adam/tmp/" :initializationOptions nil :capabilities | |
(:workspace | |
(:applyEdit t :executeCommand | |
(:dynamicRegistration :json-false) | |
:workspaceEdit | |
(:documentChanges :json-false) | |
:didChangeWatchedFiles | |
(:dynamicRegistration t) | |
:symbol | |
(:dynamicRegistration :json-false) | |
:configuration t) | |
:textDocument | |
(:synchronization | |
(:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t) | |
:completion | |
(:dynamicRegistration :json-false :completionItem | |
(:snippetSupport :json-false) | |
:contextSupport t) | |
:hover | |
(:dynamicRegistration :json-false :contentFormat | |
["markdown" "plaintext"]) | |
:signatureHelp | |
(:dynamicRegistration :json-false :signatureInformation | |
(:parameterInformation | |
(:labelOffsetSupport t))) | |
:references | |
(:dynamicRegistration :json-false) | |
:definition | |
(:dynamicRegistration :json-false) | |
:declaration | |
(:dynamicRegistration :json-false) | |
:implementation | |
(:dynamicRegistration :json-false) | |
:typeDefinition | |
(:dynamicRegistration :json-false) | |
:documentSymbol | |
(:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :symbolKind | |
(:valueSet | |
[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26])) | |
:documentHighlight | |
(:dynamicRegistration :json-false) | |
:codeAction | |
(:dynamicRegistration :json-false :codeActionLiteralSupport | |
(:codeActionKind | |
(:valueSet | |
["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"]))) | |
:formatting | |
(:dynamicRegistration :json-false) | |
:rangeFormatting | |
(:dynamicRegistration :json-false) | |
:rename | |
(:dynamicRegistration :json-false) | |
:publishDiagnostics | |
(:relatedInformation :json-false)) | |
:experimental nil))) | |
server-reply (id:1) Thu May 7 11:21:05 2020: | |
(:id 1 :jsonrpc "2.0" :result | |
(:capabilities | |
(:textDocumentSync | |
(:openClose t :change 2 :willSave :json-false :willSaveWaitUntil :json-false :save | |
(:includeText t)) | |
:hoverProvider t :completionProvider | |
(:resolveProvider :json-false :triggerCharacters | |
["."]) | |
:signatureHelpProvider | |
(:triggerCharacters | |
["(" ","]) | |
:definitionProvider t :typeDefinitionProvider :json-false :implementationProvider :json-false :referencesProvider t :documentHighlightProvider :json-false :documentSymbolProvider t :workspaceSymbolProvider t :codeActionProvider t :codeLensProvider nil :documentFormattingProvider t :documentRangeFormattingProvider :json-false :documentOnTypeFormattingProvider nil :renameProvider t :documentLinkProvider nil :colorProvider :json-false :foldingRangeProvider :json-false :declarationProvider :json-false :executeCommandProvider | |
(:commands | |
["ExplicitPackageVarImport" "ExpandFunction" "AddDefaultConstructor" "ReexportModule"]) | |
:workspace | |
(:workspaceFolders | |
(:supported t :changeNotifications t)) | |
:experimental nil))) | |
client-notification Thu May 7 11:21:05 2020: | |
(:jsonrpc "2.0" :method "initialized" :params #s(hash-table size 65 test eql rehash-size 1.5 rehash-threshold 0.8125 data | |
())) | |
client-notification Thu May 7 11:21:05 2020: | |
(:jsonrpc "2.0" :method "textDocument/didOpen" :params | |
(:textDocument | |
(:uri "file:///home/adam/tmp/main.jl" :version 0 :languageId "julia" :text "include(\"utils.jl\")\n\nlang = to_upper(\"julia\")\n"))) | |
client-notification Thu May 7 11:21:05 2020: | |
(:jsonrpc "2.0" :method "textDocument/didOpen" :params | |
(:textDocument | |
(:uri "file:///home/adam/tmp/utils.jl" :version 0 :languageId "julia" :text "to_upper(x) = uppercase(x)\n"))) | |
client-notification Thu May 7 11:21:05 2020: | |
(:jsonrpc "2.0" :method "workspace/didChangeConfiguration" :params | |
(:settings nil)) | |
client-request (id:2) Thu May 7 11:21:07 2020: | |
(:jsonrpc "2.0" :id 2 :method "textDocument/definition" :params | |
(:textDocument | |
(:uri "file:///home/adam/tmp/main.jl") | |
:position | |
(:line 2 :character 11))) | |
server-notification Thu May 7 11:21:08 2020: | |
(:method "textDocument/publishDiagnostics" :params | |
(:uri "file:///home/adam/tmp/main.jl" :version 0 :diagnostics | |
[]) | |
:jsonrpc "2.0") | |
server-notification Thu May 7 11:21:08 2020: | |
(:method "textDocument/publishDiagnostics" :params | |
(:uri "file:///home/adam/tmp/utils.jl" :version 0 :diagnostics | |
[]) | |
:jsonrpc "2.0") | |
server-notification Thu May 7 11:21:09 2020: | |
(:method "textDocument/publishDiagnostics" :params | |
(:uri "file:///home/adam/tmp/Example/src/Example.jl" :version 0 :diagnostics | |
[(:range | |
(:start | |
(:line 6 :character 0) | |
:end | |
(:line 6 :character 8)) | |
:severity 2 :code "Julia" :source "Julia" :message "Missing reference: to_lower" :relatedInformation nil) | |
(:range | |
(:start | |
(:line 9 :character 11) | |
:end | |
(:line 9 :character 21)) | |
:severity 2 :code "Julia" :source "Julia" :message "Missing reference: lower_case" :relatedInformation nil)]) | |
:jsonrpc "2.0") | |
internal Thu May 7 11:21:09 2020: | |
(:message "Diagnostics received for unvisited (file:///home/adam/tmp/Example/src/Example.jl)") | |
server-notification Thu May 7 11:21:09 2020: | |
(:method "textDocument/publishDiagnostics" :params | |
(:uri "file:///home/adam/tmp/Example/src/utils.jl" :version 0 :diagnostics | |
[]) | |
:jsonrpc "2.0") | |
internal Thu May 7 11:21:09 2020: | |
(:message "Diagnostics received for unvisited (file:///home/adam/tmp/Example/src/utils.jl)") | |
server-request (id:a7cf0aa2-fd6e-4322-8b17-a8ea174cc966) Thu May 7 11:21:09 2020: | |
(:method "workspace/configuration" :id "a7cf0aa2-fd6e-4322-8b17-a8ea174cc966" :params | |
(:items | |
[(:scopeUri nil :section "julia.format.indent") | |
(:scopeUri nil :section "julia.format.indents") | |
(:scopeUri nil :section "julia.format.ops") | |
(:scopeUri nil :section "julia.format.tuples") | |
(:scopeUri nil :section "julia.format.curly") | |
(:scopeUri nil :section "julia.format.calls") | |
(:scopeUri nil :section "julia.format.iterOps") | |
(:scopeUri nil :section "julia.format.comments") | |
(:scopeUri nil :section "julia.format.docs") | |
(:scopeUri nil :section "julia.format.lineends") | |
(:scopeUri nil :section "julia.format.kw") | |
(:scopeUri nil :section "julia.lint.run") | |
(:scopeUri nil :section "julia.lint.call") | |
(:scopeUri nil :section "julia.lint.iter") | |
(:scopeUri nil :section "julia.lint.nothingcomp") | |
(:scopeUri nil :section "julia.lint.constif") | |
(:scopeUri nil :section "julia.lint.lazy") | |
(:scopeUri nil :section "julia.lint.datadecl") | |
(:scopeUri nil :section "julia.lint.typeparam") | |
(:scopeUri nil :section "julia.lint.modname") | |
(:scopeUri nil :section "julia.lint.pirates")]) | |
:jsonrpc "2.0") | |
client-reply (id:a7cf0aa2-fd6e-4322-8b17-a8ea174cc966) Thu May 7 11:21:09 2020: | |
(:jsonrpc "2.0" :id "a7cf0aa2-fd6e-4322-8b17-a8ea174cc966" :result | |
[nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil]) | |
server-notification Thu May 7 11:21:09 2020: | |
(:method "textDocument/publishDiagnostics" :params | |
(:uri "file://utils.jl" :version 0 :diagnostics | |
[]) | |
:jsonrpc "2.0") | |
internal Thu May 7 11:21:09 2020: | |
(:message "Diagnostics received for unvisited (file://utils.jl)") | |
server-notification Thu May 7 11:21:09 2020: | |
(:method "textDocument/publishDiagnostics" :params | |
(:uri "file:///home/adam/tmp/utils.jl" :version 0 :diagnostics | |
[]) | |
:jsonrpc "2.0") | |
server-notification Thu May 7 11:21:09 2020: | |
(:method "textDocument/publishDiagnostics" :params | |
(:uri "file:///home/adam/tmp/Example/src/Example.jl" :version 0 :diagnostics | |
[]) | |
:jsonrpc "2.0") | |
internal Thu May 7 11:21:09 2020: | |
(:message "Diagnostics received for unvisited (file:///home/adam/tmp/Example/src/Example.jl)") | |
server-notification Thu May 7 11:21:09 2020: | |
(:method "textDocument/publishDiagnostics" :params | |
(:uri "file:///home/adam/tmp/Example/src/utils.jl" :version 0 :diagnostics | |
[]) | |
:jsonrpc "2.0") | |
internal Thu May 7 11:21:09 2020: | |
(:message "Diagnostics received for unvisited (file:///home/adam/tmp/Example/src/utils.jl)") | |
server-notification Thu May 7 11:21:09 2020: | |
(:method "textDocument/publishDiagnostics" :params | |
(:uri "file:///home/adam/tmp/main.jl" :version 0 :diagnostics | |
[]) | |
:jsonrpc "2.0") | |
server-request (id:a83d0f6d-9077-4d48-9937-411310c7de0e) Thu May 7 11:21:09 2020: | |
(:method "client/registerCapability" :id "a83d0f6d-9077-4d48-9937-411310c7de0e" :params | |
(:registrations | |
[(:method "workspace/didChangeWorkspaceFolders" :id "28c6550c-bd7b-11e7-abc4-cec278b6b50a")]) | |
:jsonrpc "2.0") | |
client-reply (id:a83d0f6d-9077-4d48-9937-411310c7de0e) Thu May 7 11:21:09 2020: | |
(:jsonrpc "2.0" :id "a83d0f6d-9077-4d48-9937-411310c7de0e" :result nil) | |
server-notification Thu May 7 11:21:09 2020: | |
(:method "textDocument/publishDiagnostics" :params | |
(:uri "file:///home/adam/tmp/main.jl" :version 0 :diagnostics | |
[]) | |
:jsonrpc "2.0") | |
server-notification Thu May 7 11:21:09 2020: | |
(:method "textDocument/publishDiagnostics" :params | |
(:uri "file:///home/adam/tmp/utils.jl" :version 0 :diagnostics | |
[]) | |
:jsonrpc "2.0") | |
server-request (id:c0df10dc-511e-4663-b59b-5a447635ef9c) Thu May 7 11:21:09 2020: | |
(:method "workspace/configuration" :id "c0df10dc-511e-4663-b59b-5a447635ef9c" :params | |
(:items | |
[(:scopeUri nil :section "julia.format.indent") | |
(:scopeUri nil :section "julia.format.indents") | |
(:scopeUri nil :section "julia.format.ops") | |
(:scopeUri nil :section "julia.format.tuples") | |
(:scopeUri nil :section "julia.format.curly") | |
(:scopeUri nil :section "julia.format.calls") | |
(:scopeUri nil :section "julia.format.iterOps") | |
(:scopeUri nil :section "julia.format.comments") | |
(:scopeUri nil :section "julia.format.docs") | |
(:scopeUri nil :section "julia.format.lineends") | |
(:scopeUri nil :section "julia.format.kw") | |
(:scopeUri nil :section "julia.lint.run") | |
(:scopeUri nil :section "julia.lint.call") | |
(:scopeUri nil :section "julia.lint.iter") | |
(:scopeUri nil :section "julia.lint.nothingcomp") | |
(:scopeUri nil :section "julia.lint.constif") | |
(:scopeUri nil :section "julia.lint.lazy") | |
(:scopeUri nil :section "julia.lint.datadecl") | |
(:scopeUri nil :section "julia.lint.typeparam") | |
(:scopeUri nil :section "julia.lint.modname") | |
(:scopeUri nil :section "julia.lint.pirates")]) | |
:jsonrpc "2.0") | |
client-reply (id:c0df10dc-511e-4663-b59b-5a447635ef9c) Thu May 7 11:21:09 2020: | |
(:jsonrpc "2.0" :id "c0df10dc-511e-4663-b59b-5a447635ef9c" :result | |
[nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil]) | |
server-reply (id:2) Thu May 7 11:21:10 2020: | |
(:id 2 :jsonrpc "2.0" :result | |
[(:uri "file://utils.jl" :range | |
(:start | |
(:line 0 :character 0) | |
:end | |
(:line 0 :character 26)))]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include("utils.jl") | |
lang = to_upper("julia") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
to_upper(x) = uppercase(x) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment