Comments (4)
The language server should send some startup logs via window/logMessage
which would help in diagnosing things once you get a bit further...
Check this issue #38 - per that issue maybe try starting with args --stdio --config {}
- for some reason the initial integration with vscode meant the server waits to recieve a config message (unless you pass it config on command line), I think this can/should be reworked now
from purescript-language-server.
For some reason I missed your answer. I'll try it out and see if it gets me anywhere. Thanks a bunch
from purescript-language-server.
So, as far as I can tell there's no way to print/see window/logMessage
responses in onivim. I think the --config {}
thing might have moved stuff further a tiny bit although it still doesn't work.
I've enabled oni debugging and this is some stuff I'm getting in the developer console, but I don't know how to proceed any further.
I've removed extra debug output that isn't related to the completion server - I hope :)
[COMPLETION] Requesting completions at line 22 and character 12
bundle.js:1 [LANGUAGE] Sending request: textDocument/completion|{"textDocument":{"uri":"file:///home/razvan/Documents/learn/purescript/src/ByExample.purs"},"position":{"line":22,"character":12}}
bundle.js:1 [SnippetCompletionProvider::getCompletions] Starting...
bundle.js:1 [Language Client] Request textDocument/completion - /home/razvan/Documents/learn/purescript/src/ByExample.purs: start
bundle.js:1 Error: Request textDocument/completion failed with message: connect ECONNREFUSED 127.0.0.1:15502
at new ResponseError (/opt/Oni/resources/app/node_modules/vscode-jsonrpc/lib/messages.js:46)
at handleResponse (/opt/Oni/resources/app/node_modules/vscode-jsonrpc/lib/main.js:430)
at processMessageQueue (/opt/Oni/resources/app/node_modules/vscode-jsonrpc/lib/main.js:258)
at Immediate._onImmediate (/opt/Oni/resources/app/node_modules/vscode-jsonrpc/lib/main.js:242)
at runCallback (timers.js:789)
at tryOnImmediate (timers.js:751)
at processImmediate [as _immediateCallback] (timers.js:722)
bundle.js:1 [REDUX - COMPLETION_STORE][ACTION] GET_COMPLETIONS_RESULT
bundle.js:1 [REDUX - COMPLETION_STORE][ACTION] null
The error message is definitely tied to purescript language server somehow, but I have no idea how and the the completion results... seem null
or something.
And some more errors
Error: Request textDocument/definition failed with message: connect ECONNREFUSED 127.0.0.1:15502
at new ResponseError (/opt/Oni/resources/app/node_modules/vscode-jsonrpc/lib/messages.js:46)
at handleResponse (/opt/Oni/resources/app/node_modules/vscode-jsonrpc/lib/main.js:430)
at processMessageQueue (/opt/Oni/resources/app/node_modules/vscode-jsonrpc/lib/main.js:258)
at Immediate._onImmediate (/opt/Oni/resources/app/node_modules/vscode-jsonrpc/lib/main.js:242)
at runCallback (timers.js:789)
at tryOnImmediate (timers.js:751)
at processImmediate [as _immediateCallback] (timers.js:722)
I suppose it depends on what triggers the thing so perhaps there's more errors out there to be discovered.
from purescript-language-server.
Closing due to lack of activity & linked repo is archived - presumably onivim 2 may not share the same issues
from purescript-language-server.
Related Issues (20)
- Support configuring spago file/target
- Neovim configuration HOT 6
- BUG: Deleting/renaming modules does NOT purge them from the cache HOT 3
- Support completion for qualified do imports
- Docs: Update formatter section HOT 1
- Organizeing imports deletes comments HOT 1
- Hover (show documentation) does not work with recent coc.nvim HOT 8
- Suggestion: Extend diagnostics on type to buffer switches HOT 1
- Support multiple spans per diagnostic
- Incorrect "Go to definition" behavior for the `Bind` data type.
- E715: Dictionary required when trying to apply sourse.sortImports code action HOT 2
- Breakpoints?
- Use with spaghetto (spago@next)
- amazing stuff; just wondering if it supports eval? like in -- >> HOT 1
- Warning/Error reporting not working? HOT 5
- Action to export HOT 1
- Find references returns no references HOT 1
- Should optional field return null? HOT 1
- Stale errors/warnings stick around after a full build
- Presence of VTA prevents LSP functionality
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from purescript-language-server.