robocorp / robotframework-lsp

Robocorp extensions for VS Code: Robocorp Code and RFW LSP
https://robocorp.com/docs/developer-tools/visual-studio-code
Apache License 2.0
206 stars 93 forks source link

Find definition should not resolve links. #133

Closed fabioz closed 4 years ago

fabioz commented 4 years ago

This is related to resolving the following:

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - MainThread - DEBUG - robotframework_ls.__main__
Arguments: ['-vv', '--log-file=C:\\Users\\avaissi\\lsp_logs\\robotframework_ls.log']

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - MainThread - DEBUG - robotframework_ls.__main__
Python: 3.7.5 (default, Oct 31 2019, 15:18:51) [MSC v.1916 64 bit (AMD64)] - lsp: 0.3.1 - platform: win32 - sys.prefix: c:\users\avaissi\appdata\local\robocorp\robocodelab\envs\46cbe3fe27 - sys.executable: c:\users\avaissi\appdata\local\robocorp\robocodelab\envs\46cbe3fe27\python.exe

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - MainThread - INFO - robocode_ls_core.python_ls
Starting RobotFrameworkLanguageServer IO language server. pid: 10248

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.streams
Read: {"jsonrpc":"2.0","id":0,"method":"initialize","params":{"capabilities":{"textDocument":{"hover":{"dynamicRegistration":true,"contentFormat":["markdown","plaintext"]},"synchronization":{"dynamicRegistration":true,"willSave":false,"didSave":true,"willSaveWaitUntil":false},"completion":{"dynamicRegistration":true,"completionItem":{"snippetSupport":false,"commitCharactersSupport":true,"documentationFormat":["markdown","plaintext"],"deprecatedSupport":false,"preselectSupport":false},"contextSupport":false},"signatureHelp":{"dynamicRegistration":true,"signatureInformation":{"documentationFormat":["markdown","plaintext"]}},"declaration":{"dynamicRegistration":true,"linkSupport":true},"definition":{"dynamicRegistration":true,"linkSupport":true},"typeDefinition":{"dynamicRegistration":true,"linkSupport":true},"implementation":{"dynamicRegistration":true,"linkSupport":true}},"workspace":{"didChangeConfiguration":{"dynamicRegistration":true}}},"initializationOptions":null,"processId":null,"rootUri":"file:///c:/Users/avaissi/Robots/project%20new/.virtual_documents","workspaceFolders":null}}

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.endpoint
Handling request from client {'jsonrpc': '2.0', 'id': 0, 'method': 'initialize', 'params': {'capabilities': {'textDocument': {'hover': {'dynamicRegistration': True, 'contentFormat': ['markdown', 'plaintext']}, 'synchronization': {'dynamicRegistration': True, 'willSave': False, 'didSave': True, 'willSaveWaitUntil': False}, 'completion': {'dynamicRegistration': True, 'completionItem': {'snippetSupport': False, 'commitCharactersSupport': True, 'documentationFormat': ['markdown', 'plaintext'], 'deprecatedSupport': False, 'preselectSupport': False}, 'contextSupport': False}, 'signatureHelp': {'dynamicRegistration': True, 'signatureInformation': {'documentationFormat': ['markdown', 'plaintext']}}, 'declaration': {'dynamicRegistration': True, 'linkSupport': True}, 'definition': {'dynamicRegistration': True, 'linkSupport': True}, 'typeDefinition': {'dynamicRegistration': True, 'linkSupport': True}, 'implementation': {'dynamicRegistration': True, 'linkSupport': True}}, 'workspace': {'didChangeConfiguration': {'dynamicRegistration': True}}}, 'initializationOptions': None, 'processId': None, 'rootUri': 'file:///c:/Users/avaissi/Robots/project%20new/.virtual_documents', 'workspaceFolders': None}}

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.python_ls
Language server initialized with:
    processId: None
    rootUri: file:///c:/Users/avaissi/Robots/project%20new/.virtual_documents
    rootPath: None
    initializationOptions: None
    workspaceFolders: None

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - MainThread - INFO - robotframework_ls.robotframework_ls_impl
Server capabilities: {'codeActionProvider': False, 'completionProvider': {'resolveProvider': False}, 'documentFormattingProvider': True, 'documentHighlightProvider': False, 'documentRangeFormattingProvider': False, 'documentSymbolProvider': False, 'definitionProvider': True, 'executeCommandProvider': {'commands': []}, 'hoverProvider': False, 'referencesProvider': False, 'renameProvider': False, 'foldingRangeProvider': False, 'textDocumentSync': {'change': 2, 'save': {'includeText': False}, 'openClose': True}, 'workspace': {'workspaceFolders': {'supported': True, 'changeNotifications': True}}}

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.endpoint
Got result from synchronous request handler (in 0.00s): {'capabilities': {'codeActionProvider': False, 'completionProvider': {'resolveProvider': False}, 'documentFormattingProvider': True, 'documentHighlightProvider': False, 'documentRangeFormattingProvider': False, 'documentSymbolProvider': False, 'definitionProvider': True, 'executeCommandProvider': {'commands': []}, 'hoverProvider': False, 'referencesProvider': False, 'renameProvider': False, 'foldingRangeProvider': False, 'textDocumentSync': {'change': 2, 'save': {'includeText': False}, 'openClose': True}, 'workspace': {'workspaceFolders': {'supported': True, 'changeNotifications': True}}}}

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.streams
Writing: {'jsonrpc': '2.0', 'id': 0, 'result': {'capabilities': {'codeActionProvider': False, 'completionProvider': {'resolveProvider': False}, 'documentFormattingProvider': True, 'documentHighlightProvider': False, 'documentRangeFormattingProvider': False, 'documentSymbolProvider': False, 'definitionProvider': True, 'executeCommandProvider': {'commands': []}, 'hoverProvider': False, 'referencesProvider': False, 'renameProvider': False, 'foldingRangeProvider': False, 'textDocumentSync': {'change': 2, 'save': {'includeText': False}, 'openClose': True}, 'workspace': {'workspaceFolders': {'supported': True, 'changeNotifications': True}}}}}

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.streams
Read: {"jsonrpc":"2.0","method":"initialized","params":null}

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.endpoint
Handling notification from client {'jsonrpc': '2.0', 'method': 'initialized', 'params': None}

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.streams
Read: {"jsonrpc":"2.0","method":"workspace/didChangeConfiguration","params":{"settings":{}}}

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.endpoint
Handling notification from client {'jsonrpc': '2.0', 'method': 'workspace/didChangeConfiguration', 'params': {'settings': {}}}

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - MainThread - INFO - robocode_ls_core.config
Updated settings to {}

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.config
With user configuration: {}

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.config
With lsp configuration: {}

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.config
With project configuration: {}

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - MainThread - DEBUG - robotframework_ls.server_api.server__main__
Starting server api process with args: "c:\users\avaissi\appdata\local\robocorp\robocodelab\envs\46cbe3fe27\python.exe" "-u" "c:\users\avaissi\appdata\local\robocorp\robocodelab\envs\46cbe3fe27\lib\site-packages\robotframework_ls\server_api\server__main__.py" "-vv" "--log-file=C:\Users\avaissi\lsp_logs\robotframework_ls.log.api"

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.streams
Writing: {'jsonrpc': '2.0', 'id': 0, 'method': 'initialize', 'params': {'processId': 10248, 'rootUri': 'file:///c:/Users/avaissi/Robots/project%20new/.virtual_documents', 'workspaceFolders': [{'uri': 'file:///c:/Users/avaissi/Robots/project%20new/.virtual_documents', 'name': '.virtual_documents'}]}}

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - Thread-2 - DEBUG - robocode_ls_core.jsonrpc.streams
Read: {"jsonrpc": "2.0", "id": 0, "result": {"capabilities": {}}}

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - Thread-2 - DEBUG - robocode_ls_core.client_base
Will handle read message: {'jsonrpc': '2.0', 'id': 0, 'result': {'capabilities': {}}}

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.streams
Writing: {'jsonrpc': '2.0', 'id': 1, 'method': 'workspace/didChangeConfiguration', 'params': {'settings': {}}}

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - Thread-2 - DEBUG - robocode_ls_core.jsonrpc.streams
Read: {"jsonrpc": "2.0", "id": 1, "result": null}

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - Thread-2 - DEBUG - robocode_ls_core.client_base
Will handle read message: {'jsonrpc': '2.0', 'id': 1, 'result': None}

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - MainThread - DEBUG - robotframework_ls.robotframework_ls_impl
Server api (<robotframework_ls.robotframework_ls_impl._ServerApi object at 0x000001D66D0F2F08>) created pid: 23136

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.streams
Writing: {'jsonrpc': '2.0', 'id': 2, 'method': 'workspace/didChangeConfiguration', 'params': {'settings': {}}}

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - Thread-2 - DEBUG - robocode_ls_core.jsonrpc.streams
Read: {"jsonrpc": "2.0", "id": 2, "result": null}

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - Thread-2 - DEBUG - robocode_ls_core.client_base
Will handle read message: {'jsonrpc': '2.0', 'id': 2, 'result': None}

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - MainThread - DEBUG - robotframework_ls.server_api.server__main__
Starting server api process with args: "c:\users\avaissi\appdata\local\robocorp\robocodelab\envs\46cbe3fe27\python.exe" "-u" "c:\users\avaissi\appdata\local\robocorp\robocodelab\envs\46cbe3fe27\lib\site-packages\robotframework_ls\server_api\server__main__.py" "-vv" "--log-file=C:\Users\avaissi\lsp_logs\robotframework_ls.log.1.lint.api"

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.streams
Writing: {'jsonrpc': '2.0', 'id': 0, 'method': 'initialize', 'params': {'processId': 10248, 'rootUri': 'file:///c:/Users/avaissi/Robots/project%20new/.virtual_documents', 'workspaceFolders': [{'uri': 'file:///c:/Users/avaissi/Robots/project%20new/.virtual_documents', 'name': '.virtual_documents'}]}}

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - Thread-4 - DEBUG - robocode_ls_core.jsonrpc.streams
Read: {"jsonrpc": "2.0", "id": 0, "result": {"capabilities": {}}}

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - Thread-4 - DEBUG - robocode_ls_core.client_base
Will handle read message: {'jsonrpc': '2.0', 'id': 0, 'result': {'capabilities': {}}}

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.streams
Writing: {'jsonrpc': '2.0', 'id': 1, 'method': 'workspace/didChangeConfiguration', 'params': {'settings': {}}}

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - Thread-4 - DEBUG - robocode_ls_core.jsonrpc.streams
Read: {"jsonrpc": "2.0", "id": 1, "result": null}

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - Thread-4 - DEBUG - robocode_ls_core.client_base
Will handle read message: {'jsonrpc': '2.0', 'id': 1, 'result': None}

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - MainThread - DEBUG - robotframework_ls.robotframework_ls_impl
Server api (<robotframework_ls.robotframework_ls_impl._ServerApi object at 0x000001D66D0F2F48>) created pid: 23080

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.streams
Writing: {'jsonrpc': '2.0', 'id': 2, 'method': 'workspace/didChangeConfiguration', 'params': {'settings': {}}}

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.streams
Read: {"jsonrpc":"2.0","method":"workspace/didChangeConfiguration","params":{"settings":{"robot":{"pythonpath":["C:\\Users\\avaissi\\Robots\\project new\\resources","C:\\Users\\avaissi\\Robots\\project new\\libraries","C:\\Users\\avaissi\\Robots\\project new\\variables"],"python":{"env":{"PYTHONPATH":"C:\\Users\\avaissi\\Robots\\project new\\resources;C:\\Users\\avaissi\\Robots\\project new\\libraries;C:\\Users\\avaissi\\Robots\\project new\\variables"}}}}}}

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.endpoint
Handling notification from client {'jsonrpc': '2.0', 'method': 'workspace/didChangeConfiguration', 'params': {'settings': {'robot': {'pythonpath': ['C:\\Users\\avaissi\\Robots\\project new\\resources', 'C:\\Users\\avaissi\\Robots\\project new\\libraries', 'C:\\Users\\avaissi\\Robots\\project new\\variables'], 'python': {'env': {'PYTHONPATH': 'C:\\Users\\avaissi\\Robots\\project new\\resources;C:\\Users\\avaissi\\Robots\\project new\\libraries;C:\\Users\\avaissi\\Robots\\project new\\variables'}}}}}}

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - MainThread - INFO - robocode_ls_core.config
Updated settings to {'robot': {'pythonpath': ['C:\\Users\\avaissi\\Robots\\project new\\resources', 'C:\\Users\\avaissi\\Robots\\project new\\libraries', 'C:\\Users\\avaissi\\Robots\\project new\\variables'], 'python': {'env': {'PYTHONPATH': 'C:\\Users\\avaissi\\Robots\\project new\\resources;C:\\Users\\avaissi\\Robots\\project new\\libraries;C:\\Users\\avaissi\\Robots\\project new\\variables'}}}}

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.config
With user configuration: {}

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.config
With lsp configuration: {'robot': {'pythonpath': ['C:\\Users\\avaissi\\Robots\\project new\\resources', 'C:\\Users\\avaissi\\Robots\\project new\\libraries', 'C:\\Users\\avaissi\\Robots\\project new\\variables'], 'python': {'env': {'PYTHONPATH': 'C:\\Users\\avaissi\\Robots\\project new\\resources;C:\\Users\\avaissi\\Robots\\project new\\libraries;C:\\Users\\avaissi\\Robots\\project new\\variables'}}}}

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.config
With project configuration: {'robot': {'pythonpath': ['C:\\Users\\avaissi\\Robots\\project new\\resources', 'C:\\Users\\avaissi\\Robots\\project new\\libraries', 'C:\\Users\\avaissi\\Robots\\project new\\variables'], 'python': {'env': {'PYTHONPATH': 'C:\\Users\\avaissi\\Robots\\project new\\resources;C:\\Users\\avaissi\\Robots\\project new\\libraries;C:\\Users\\avaissi\\Robots\\project new\\variables'}}}}

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - MainThread - DEBUG - robotframework_ls.robotframework_ls_impl
Dispose server process.

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - Thread-4 - DEBUG - robocode_ls_core.jsonrpc.streams
Read: {"jsonrpc": "2.0", "id": 2, "result": null}

lsp: 2020-08-24 16:53:25 UTC pid: 10248 - Thread-4 - DEBUG - robocode_ls_core.client_base
Will handle read message: {'jsonrpc': '2.0', 'id': 2, 'result': None}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - MainThread - DEBUG - robotframework_ls.robotframework_ls_impl
Dispose server process.

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - Thread-2 - DEBUG - robocode_ls_core.jsonrpc.streams
Read: None

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - Stderr from ServerAPI (['c:\\users\\avaissi\\appdata\\local\\robocorp\\robocodelab\\envs\\46cbe3fe27\\python.exe', '-u', 'c:\\users\\avaissi\\appdata\\local\\robocorp\\robocodelab\\envs\\46cbe3fe27\\lib\\site-packages\\robotframework_ls\\server_api\\server__main__.py', '-vv', '--log-file=C:\\Users\\avaissi\\lsp_logs\\robotframework_ls.log.api']) - DEBUG - robotframework_ls.server_api.server__main__
Finished reading from server api process stream.

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - Thread-2 - DEBUG - robocode_ls_core.jsonrpc.streams
Exited JsonRpcStreamReader.

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - MainThread - DEBUG - robotframework_ls.server_api.server__main__
Starting server api process with args: "c:\users\avaissi\appdata\local\robocorp\robocodelab\envs\46cbe3fe27\python.exe" "-u" "c:\users\avaissi\appdata\local\robocorp\robocodelab\envs\46cbe3fe27\lib\site-packages\robotframework_ls\server_api\server__main__.py" "-vv" "--log-file=C:\Users\avaissi\lsp_logs\robotframework_ls.log.2.api"

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.streams
Writing: {'jsonrpc': '2.0', 'id': 0, 'method': 'initialize', 'params': {'processId': 10248, 'rootUri': 'file:///c:/Users/avaissi/Robots/project%20new/.virtual_documents', 'workspaceFolders': [{'uri': 'file:///c:/Users/avaissi/Robots/project%20new/.virtual_documents', 'name': '.virtual_documents'}]}}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - Stderr from ServerAPI (['c:\\users\\avaissi\\appdata\\local\\robocorp\\robocodelab\\envs\\46cbe3fe27\\python.exe', '-u', 'c:\\users\\avaissi\\appdata\\local\\robocorp\\robocodelab\\envs\\46cbe3fe27\\lib\\site-packages\\robotframework_ls\\server_api\\server__main__.py', '-vv', '--log-file=C:\\Users\\avaissi\\lsp_logs\\robotframework_ls.log.1.lint.api']) - DEBUG - robotframework_ls.server_api.server__main__
Finished reading from server api process stream.

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - Thread-4 - DEBUG - robocode_ls_core.jsonrpc.streams
Read: None

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - Thread-4 - DEBUG - robocode_ls_core.jsonrpc.streams
Exited JsonRpcStreamReader.

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - Thread-6 - DEBUG - robocode_ls_core.jsonrpc.streams
Read: {"jsonrpc": "2.0", "id": 0, "result": {"capabilities": {}}}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - Thread-6 - DEBUG - robocode_ls_core.client_base
Will handle read message: {'jsonrpc': '2.0', 'id': 0, 'result': {'capabilities': {}}}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.streams
Writing: {'jsonrpc': '2.0', 'id': 1, 'method': 'workspace/didChangeConfiguration', 'params': {'settings': {'robot': {'pythonpath': ['C:\\Users\\avaissi\\Robots\\project new\\resources', 'C:\\Users\\avaissi\\Robots\\project new\\libraries', 'C:\\Users\\avaissi\\Robots\\project new\\variables'], 'python': {'env': {'PYTHONPATH': 'C:\\Users\\avaissi\\Robots\\project new\\resources;C:\\Users\\avaissi\\Robots\\project new\\libraries;C:\\Users\\avaissi\\Robots\\project new\\variables'}}}}}}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - Thread-6 - DEBUG - robocode_ls_core.jsonrpc.streams
Read: {"jsonrpc": "2.0", "id": 1, "result": null}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - Thread-6 - DEBUG - robocode_ls_core.client_base
Will handle read message: {'jsonrpc': '2.0', 'id': 1, 'result': None}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - MainThread - DEBUG - robotframework_ls.robotframework_ls_impl
Server api (<robotframework_ls.robotframework_ls_impl._ServerApi object at 0x000001D66D0F2F08>) created pid: 20452

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.streams
Writing: {'jsonrpc': '2.0', 'id': 2, 'method': 'workspace/didChangeConfiguration', 'params': {'settings': {'robot': {'pythonpath': ['C:\\Users\\avaissi\\Robots\\project new\\resources', 'C:\\Users\\avaissi\\Robots\\project new\\libraries', 'C:\\Users\\avaissi\\Robots\\project new\\variables'], 'python': {'env': {'PYTHONPATH': 'C:\\Users\\avaissi\\Robots\\project new\\resources;C:\\Users\\avaissi\\Robots\\project new\\libraries;C:\\Users\\avaissi\\Robots\\project new\\variables'}}}}}}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - Thread-6 - DEBUG - robocode_ls_core.jsonrpc.streams
Read: {"jsonrpc": "2.0", "id": 2, "result": null}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - Thread-6 - DEBUG - robocode_ls_core.client_base
Will handle read message: {'jsonrpc': '2.0', 'id': 2, 'result': None}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - MainThread - DEBUG - robotframework_ls.server_api.server__main__
Starting server api process with args: "c:\users\avaissi\appdata\local\robocorp\robocodelab\envs\46cbe3fe27\python.exe" "-u" "c:\users\avaissi\appdata\local\robocorp\robocodelab\envs\46cbe3fe27\lib\site-packages\robotframework_ls\server_api\server__main__.py" "-vv" "--log-file=C:\Users\avaissi\lsp_logs\robotframework_ls.log.3.lint.api"

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.streams
Writing: {'jsonrpc': '2.0', 'id': 0, 'method': 'initialize', 'params': {'processId': 10248, 'rootUri': 'file:///c:/Users/avaissi/Robots/project%20new/.virtual_documents', 'workspaceFolders': [{'uri': 'file:///c:/Users/avaissi/Robots/project%20new/.virtual_documents', 'name': '.virtual_documents'}]}}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - Thread-8 - DEBUG - robocode_ls_core.jsonrpc.streams
Read: {"jsonrpc": "2.0", "id": 0, "result": {"capabilities": {}}}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - Thread-8 - DEBUG - robocode_ls_core.client_base
Will handle read message: {'jsonrpc': '2.0', 'id': 0, 'result': {'capabilities': {}}}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.streams
Writing: {'jsonrpc': '2.0', 'id': 1, 'method': 'workspace/didChangeConfiguration', 'params': {'settings': {'robot': {'pythonpath': ['C:\\Users\\avaissi\\Robots\\project new\\resources', 'C:\\Users\\avaissi\\Robots\\project new\\libraries', 'C:\\Users\\avaissi\\Robots\\project new\\variables'], 'python': {'env': {'PYTHONPATH': 'C:\\Users\\avaissi\\Robots\\project new\\resources;C:\\Users\\avaissi\\Robots\\project new\\libraries;C:\\Users\\avaissi\\Robots\\project new\\variables'}}}}}}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - Thread-8 - DEBUG - robocode_ls_core.jsonrpc.streams
Read: {"jsonrpc": "2.0", "id": 1, "result": null}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - Thread-8 - DEBUG - robocode_ls_core.client_base
Will handle read message: {'jsonrpc': '2.0', 'id': 1, 'result': None}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - MainThread - DEBUG - robotframework_ls.robotframework_ls_impl
Server api (<robotframework_ls.robotframework_ls_impl._ServerApi object at 0x000001D66D0F2F48>) created pid: 10228

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.streams
Writing: {'jsonrpc': '2.0', 'id': 2, 'method': 'workspace/didChangeConfiguration', 'params': {'settings': {'robot': {'pythonpath': ['C:\\Users\\avaissi\\Robots\\project new\\resources', 'C:\\Users\\avaissi\\Robots\\project new\\libraries', 'C:\\Users\\avaissi\\Robots\\project new\\variables'], 'python': {'env': {'PYTHONPATH': 'C:\\Users\\avaissi\\Robots\\project new\\resources;C:\\Users\\avaissi\\Robots\\project new\\libraries;C:\\Users\\avaissi\\Robots\\project new\\variables'}}}}}}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.streams
Read: {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"uri":"file:///c:/Users/avaissi/Robots/project%20new/.virtual_documents/tasks/robot.robot.robot","languageId":"robotframework","text":"","version":0}}}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.endpoint
Handling notification from client {'jsonrpc': '2.0', 'method': 'textDocument/didOpen', 'params': {'textDocument': {'uri': 'file:///c:/Users/avaissi/Robots/project%20new/.virtual_documents/tasks/robot.robot.robot', 'languageId': 'robotframework', 'text': '', 'version': 0}}}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.streams
Writing: {'jsonrpc': '2.0', 'id': 3, 'method': 'textDocument/didOpen', 'params': {'textDocument': {'uri': 'file:///c:/Users/avaissi/Robots/project%20new/.virtual_documents/tasks/robot.robot.robot', 'languageId': 'robotframework', 'text': '', 'version': 0}}}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - Thread-6 - DEBUG - robocode_ls_core.jsonrpc.streams
Read: {"jsonrpc": "2.0", "id": 3, "result": null}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - Thread-6 - DEBUG - robocode_ls_core.client_base
Will handle read message: {'jsonrpc': '2.0', 'id': 3, 'result': None}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.streams
Writing: {'jsonrpc': '2.0', 'id': 3, 'method': 'textDocument/didOpen', 'params': {'textDocument': {'uri': 'file:///c:/Users/avaissi/Robots/project%20new/.virtual_documents/tasks/robot.robot.robot', 'languageId': 'robotframework', 'text': '', 'version': 0}}}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.streams
Read: {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///c:/Users/avaissi/Robots/project%20new/.virtual_documents/tasks/robot.robot.robot","version":0},"contentChanges":[{"text":""}]}}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.endpoint
Handling notification from client {'jsonrpc': '2.0', 'method': 'textDocument/didChange', 'params': {'textDocument': {'uri': 'file:///c:/Users/avaissi/Robots/project%20new/.virtual_documents/tasks/robot.robot.robot', 'version': 0}, 'contentChanges': [{'text': ''}]}}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.streams
Writing: {'jsonrpc': '2.0', 'id': 4, 'method': 'textDocument/didChange', 'params': {'contentChanges': [{'text': ''}], 'textDocument': {'uri': 'file:///c:/Users/avaissi/Robots/project%20new/.virtual_documents/tasks/robot.robot.robot', 'version': 0}}}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - Thread-8 - DEBUG - robocode_ls_core.jsonrpc.streams
Read: {"jsonrpc": "2.0", "id": 2, "result": null}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - Thread-8 - DEBUG - robocode_ls_core.client_base
Will handle read message: {'jsonrpc': '2.0', 'id': 2, 'result': None}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - Thread-8 - DEBUG - robocode_ls_core.jsonrpc.streams
Read: {"jsonrpc": "2.0", "id": 3, "result": null}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - Thread-8 - DEBUG - robocode_ls_core.client_base
Will handle read message: {'jsonrpc': '2.0', 'id': 3, 'result': None}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - Thread-6 - DEBUG - robocode_ls_core.jsonrpc.streams
Read: {"jsonrpc": "2.0", "id": 4, "result": null}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - Thread-6 - DEBUG - robocode_ls_core.client_base
Will handle read message: {'jsonrpc': '2.0', 'id': 4, 'result': None}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.streams
Writing: {'jsonrpc': '2.0', 'id': 4, 'method': 'textDocument/didChange', 'params': {'contentChanges': [{'text': ''}], 'textDocument': {'uri': 'file:///c:/Users/avaissi/Robots/project%20new/.virtual_documents/tasks/robot.robot.robot', 'version': 0}}}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.streams
Read: {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///c:/Users/avaissi/Robots/project%20new/.virtual_documents/tasks/robot.robot.robot","version":1},"contentChanges":[{"text":"*** Settings ***\nDocumentation   An example robot.\nResource        keywords.robot\n\n\n*** Tasks ***\nLog greeting for today\n    Process greeting for today\n"}]}}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.endpoint
Handling notification from client {'jsonrpc': '2.0', 'method': 'textDocument/didChange', 'params': {'textDocument': {'uri': 'file:///c:/Users/avaissi/Robots/project%20new/.virtual_documents/tasks/robot.robot.robot', 'version': 1}, 'contentChanges': [{'text': '*** Settings ***\nDocumentation   An example robot.\nResource        keywords.robot\n\n\n*** Tasks ***\nLog greeting for today\n    Process greeting for today\n'}]}}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.streams
Writing: {'jsonrpc': '2.0', 'id': 5, 'method': 'textDocument/didChange', 'params': {'contentChanges': [{'text': '*** Settings ***\nDocumentation   An example robot.\nResource        keywords.robot\n\n\n*** Tasks ***\nLog greeting for today\n    Process greeting for today\n'}], 'textDocument': {'uri': 'file:///c:/Users/avaissi/Robots/project%20new/.virtual_documents/tasks/robot.robot.robot', 'version': 1}}}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - Thread-8 - DEBUG - robocode_ls_core.jsonrpc.streams
Read: {"jsonrpc": "2.0", "id": 4, "result": null}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - Thread-8 - DEBUG - robocode_ls_core.client_base
Will handle read message: {'jsonrpc': '2.0', 'id': 4, 'result': None}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - Thread-6 - DEBUG - robocode_ls_core.jsonrpc.streams
Read: {"jsonrpc": "2.0", "id": 5, "result": null}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - Thread-6 - DEBUG - robocode_ls_core.client_base
Will handle read message: {'jsonrpc': '2.0', 'id': 5, 'result': None}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.streams
Writing: {'jsonrpc': '2.0', 'id': 5, 'method': 'textDocument/didChange', 'params': {'contentChanges': [{'text': '*** Settings ***\nDocumentation   An example robot.\nResource        keywords.robot\n\n\n*** Tasks ***\nLog greeting for today\n    Process greeting for today\n'}], 'textDocument': {'uri': 'file:///c:/Users/avaissi/Robots/project%20new/.virtual_documents/tasks/robot.robot.robot', 'version': 1}}}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.streams
Read: {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///c:/Users/avaissi/Robots/project%20new/.virtual_documents/tasks/robot.robot.robot","version":2},"contentChanges":[{"text":"*** Settings ***\nDocumentation   An example robot.\nResource        keywords.robot\n\n\n*** Tasks ***\nLog greeting for today\n    Process greeting for today\n"}]}}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.endpoint
Handling notification from client {'jsonrpc': '2.0', 'method': 'textDocument/didChange', 'params': {'textDocument': {'uri': 'file:///c:/Users/avaissi/Robots/project%20new/.virtual_documents/tasks/robot.robot.robot', 'version': 2}, 'contentChanges': [{'text': '*** Settings ***\nDocumentation   An example robot.\nResource        keywords.robot\n\n\n*** Tasks ***\nLog greeting for today\n    Process greeting for today\n'}]}}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.streams
Writing: {'jsonrpc': '2.0', 'id': 6, 'method': 'textDocument/didChange', 'params': {'contentChanges': [{'text': '*** Settings ***\nDocumentation   An example robot.\nResource        keywords.robot\n\n\n*** Tasks ***\nLog greeting for today\n    Process greeting for today\n'}], 'textDocument': {'uri': 'file:///c:/Users/avaissi/Robots/project%20new/.virtual_documents/tasks/robot.robot.robot', 'version': 2}}}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - Thread-8 - DEBUG - robocode_ls_core.jsonrpc.streams
Read: {"jsonrpc": "2.0", "id": 5, "result": null}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - Thread-8 - DEBUG - robocode_ls_core.client_base
Will handle read message: {'jsonrpc': '2.0', 'id': 5, 'result': None}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - Thread-6 - DEBUG - robocode_ls_core.jsonrpc.streams
Read: {"jsonrpc": "2.0", "id": 6, "result": null}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - Thread-6 - DEBUG - robocode_ls_core.client_base
Will handle read message: {'jsonrpc': '2.0', 'id': 6, 'result': None}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.streams
Writing: {'jsonrpc': '2.0', 'id': 6, 'method': 'textDocument/didChange', 'params': {'contentChanges': [{'text': '*** Settings ***\nDocumentation   An example robot.\nResource        keywords.robot\n\n\n*** Tasks ***\nLog greeting for today\n    Process greeting for today\n'}], 'textDocument': {'uri': 'file:///c:/Users/avaissi/Robots/project%20new/.virtual_documents/tasks/robot.robot.robot', 'version': 2}}}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - Thread-8 - DEBUG - robocode_ls_core.jsonrpc.streams
Read: {"jsonrpc": "2.0", "id": 6, "result": null}

lsp: 2020-08-24 16:53:26 UTC pid: 10248 - Thread-8 - DEBUG - robocode_ls_core.client_base
Will handle read message: {'jsonrpc': '2.0', 'id': 6, 'result': None}

lsp: 2020-08-24 16:53:27 UTC pid: 10248 - Thread-12 - DEBUG - robocode_ls_core.jsonrpc.streams
Writing: {'jsonrpc': '2.0', 'id': 7, 'method': 'lint', 'params': {'doc_uri': 'file:///c:/Users/avaissi/Robots/project%20new/.virtual_documents/tasks/robot.robot.robot'}}

lsp: 2020-08-24 16:53:27 UTC pid: 10248 - Thread-8 - DEBUG - robocode_ls_core.jsonrpc.streams
Read: {"jsonrpc": "2.0", "id": 7, "result": []}

lsp: 2020-08-24 16:53:27 UTC pid: 10248 - Thread-8 - DEBUG - robocode_ls_core.client_base
Will handle read message: {'jsonrpc': '2.0', 'id': 7, 'result': []}

lsp: 2020-08-24 16:53:27 UTC pid: 10248 - Thread-12 - DEBUG - robocode_ls_core.jsonrpc.endpoint
Sending notification: textDocument/publishDiagnostics {'uri': 'file:///c:/Users/avaissi/Robots/project%20new/.virtual_documents/tasks/robot.robot.robot', 'diagnostics': []}

lsp: 2020-08-24 16:53:27 UTC pid: 10248 - Thread-12 - DEBUG - robocode_ls_core.jsonrpc.streams
Writing: {'jsonrpc': '2.0', 'method': 'textDocument/publishDiagnostics', 'params': {'uri': 'file:///c:/Users/avaissi/Robots/project%20new/.virtual_documents/tasks/robot.robot.robot', 'diagnostics': []}}

lsp: 2020-08-24 16:53:34 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.streams
Read: {"jsonrpc":"2.0","id":1,"method":"textDocument/definition","params":{"textDocument":{"uri":"file:///c:/Users/avaissi/Robots/project%20new/.virtual_documents/tasks/robot.robot.robot"},"position":{"line":7,"character":19}}}

lsp: 2020-08-24 16:53:34 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.endpoint
Handling request from client {'jsonrpc': '2.0', 'id': 1, 'method': 'textDocument/definition', 'params': {'textDocument': {'uri': 'file:///c:/Users/avaissi/Robots/project%20new/.virtual_documents/tasks/robot.robot.robot'}, 'position': {'line': 7, 'character': 19}}}

lsp: 2020-08-24 16:53:34 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.streams
Writing: {'jsonrpc': '2.0', 'id': 7, 'method': 'findDefinition', 'params': {'doc_uri': 'file:///c:/Users/avaissi/Robots/project%20new/.virtual_documents/tasks/robot.robot.robot', 'line': 7, 'col': 19}}

lsp: 2020-08-24 16:53:34 UTC pid: 10248 - Thread-6 - DEBUG - robocode_ls_core.jsonrpc.streams
Read: {"jsonrpc": "2.0", "id": 7, "result": [{"uri": "file:///c:/Users/avaissi/Robots/project%20new/resources/keywords.robot", "range": {"start": {"line": 5, "character": 0}, "end": {"line": 9, "character": 1}}}]}

lsp: 2020-08-24 16:53:34 UTC pid: 10248 - Thread-6 - DEBUG - robocode_ls_core.client_base
Will handle read message: {'jsonrpc': '2.0', 'id': 7, 'result': [{'uri': 'file:///c:/Users/avaissi/Robots/project%20new/resources/keywords.robot', 'range': {'start': {'line': 5, 'character': 0}, 'end': {'line': 9, 'character': 1}}}]}

lsp: 2020-08-24 16:53:34 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.endpoint
Got result from synchronous request handler (in 0.01s): [{'uri': 'file:///c:/Users/avaissi/Robots/project%20new/resources/keywords.robot', 'range': {'start': {'line': 5, 'character': 0}, 'end': {'line': 9, 'character': 1}}}]

lsp: 2020-08-24 16:53:34 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.streams
Writing: {'jsonrpc': '2.0', 'id': 1, 'result': [{'uri': 'file:///c:/Users/avaissi/Robots/project%20new/resources/keywords.robot', 'range': {'start': {'line': 5, 'character': 0}, 'end': {'line': 9, 'character': 1}}}]}

lsp: 2020-08-24 16:53:41 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.streams
Read: {"jsonrpc":"2.0","method":"textDocument/didSave","params":{"textDocument":{"uri":"file:///c:/Users/avaissi/Robots/project%20new/.virtual_documents/tasks/robot.robot.robot","version":3},"text":"*** Settings ***\nDocumentation   An example robot.\nResource        keywords.robot\n\n\n*** Tasks ***\nLog greeting for today\n    Process greeting for today\n"}}

lsp: 2020-08-24 16:53:41 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.endpoint
Handling notification from client {'jsonrpc': '2.0', 'method': 'textDocument/didSave', 'params': {'textDocument': {'uri': 'file:///c:/Users/avaissi/Robots/project%20new/.virtual_documents/tasks/robot.robot.robot', 'version': 3}, 'text': '*** Settings ***\nDocumentation   An example robot.\nResource        keywords.robot\n\n\n*** Tasks ***\nLog greeting for today\n    Process greeting for today\n'}}

lsp: 2020-08-24 16:53:42 UTC pid: 10248 - Thread-13 - DEBUG - robocode_ls_core.jsonrpc.streams
Writing: {'jsonrpc': '2.0', 'id': 8, 'method': 'lint', 'params': {'doc_uri': 'file:///c:/Users/avaissi/Robots/project%20new/.virtual_documents/tasks/robot.robot.robot'}}

lsp: 2020-08-24 16:53:42 UTC pid: 10248 - Thread-8 - DEBUG - robocode_ls_core.jsonrpc.streams
Read: {"jsonrpc": "2.0", "id": 8, "result": []}

lsp: 2020-08-24 16:53:42 UTC pid: 10248 - Thread-8 - DEBUG - robocode_ls_core.client_base
Will handle read message: {'jsonrpc': '2.0', 'id': 8, 'result': []}

lsp: 2020-08-24 16:53:42 UTC pid: 10248 - Thread-13 - DEBUG - robocode_ls_core.jsonrpc.endpoint
Sending notification: textDocument/publishDiagnostics {'uri': 'file:///c:/Users/avaissi/Robots/project%20new/.virtual_documents/tasks/robot.robot.robot', 'diagnostics': []}

lsp: 2020-08-24 16:53:42 UTC pid: 10248 - Thread-13 - DEBUG - robocode_ls_core.jsonrpc.streams
Writing: {'jsonrpc': '2.0', 'method': 'textDocument/publishDiagnostics', 'params': {'uri': 'file:///c:/Users/avaissi/Robots/project%20new/.virtual_documents/tasks/robot.robot.robot', 'diagnostics': []}}

lsp: 2020-08-24 16:53:45 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.streams
Read: None

lsp: 2020-08-24 16:53:45 UTC pid: 10248 - MainThread - DEBUG - robocode_ls_core.jsonrpc.streams
Exited JsonRpcStreamReader.
fabioz commented 4 years ago

And also:

2020/08/24 16:53:36.167 [debug] [renderer-23116] [jupyterWindow] Lab server:
[W 16:53:36.167 LabApp] 404 GET /api/contents/c%3A/Users/avaissi/Robots/project%20new/resources/keywords.robot?content=0&1598277216165 (127.0.0.1): c:/Users/avaissi/Robots/project new/resources/keywords.robot is outside root contents directory
[W 16:53:36.167 LabApp] c:/Users/avaissi/Robots/project new/resources/keywords.robot is outside root contents directory

2020/08/24 16:53:36.170 [debug] [renderer-23116] [jupyterWindow] Lab server:
[W 16:53:36.167 LabApp] 404 GET /api/contents/c%3A/Users/avaissi/Robots/project%20new/resources/keywords.robot?content=0&1598277216165 (127.0.0.1) 0.98ms referer=http://127.0.0.1:11614/lab

2020/08/24 16:53:36.180 [debug] [renderer-23116] [jupyterWindow] Lab server:
[W 16:53:36.180 LabApp] 404 GET /api/contents/.lsp_symlink/c%3AUsers/avaissi/Robots/project%20new/resources/keywords.robot?type=notebook&content=1&1598277216178 (127.0.0.1): .lsp_symlink/c:Users/avaissi/Robots/project new/resources/keywords.robot is outside root contents directory
[W 16:53:36.180 LabApp] .lsp_symlink/c:Users/avaissi/Robots/project new/resources/keywords.robot is outside root contents directory  (edited) 
fabioz commented 4 years ago

I've done some checks and after seeing the log a bit more, the issue doesn't seem to be related to symlink resolution, rather, the pythonpath is being set to:

C:\\Users\\avaissi\\Robots\\project new\\resources and then the workspace is set to: c:/Users/avaissi/Robots/project%20new/.virtual_documents, when it's time to resolve the keyword.robot it properly finds it in C:\\Users\\avaissi\\Robots\\project new\\resources, which is outside of the .virtual_documents folder.

So, it seems to do the right thing on the language server. I'll add some test-cases to the language server side just to make sure that link-resolution doesn't happen, but there doesn't seem like there's much to do on its side.