Comments (10)
Logging is currently all via the window/logMessage
LS message, there hasn't been a need to do that server side so far; but I'm sure we could log to a file also.
The linked logs on that issue do seem to show the logMessage
though, maybe there's nowhere to display that?
from purescript-language-server.
I think it is safe to close the issue now. I was using the same setup daily with no issues now. Found some others, but now it's all resolved.
I use NVIM 0.3.4 with LanguageClient_neovim version 0.1.142 and purescript-language-server 0.12.7.
My configuration can be found here: https://github.com/sriharshachilakapati/dotfiles/blob/master/.vimrc#L78-L315
from purescript-language-server.
Per slack discussion I'm happy to help work through this, looking at your logs I suspect no config has been received so the server is not started (because otherwise if the config arrives after starting the server, it won't be configured right... and in vscode at least the config is sent 1st thing).
Can you try running with args --stdio --config {}
- it looks like I never managed to bring in a arg parser so literally in that order!
from purescript-language-server.
oooh, I snuck that into ALE to test real quick - getting some errors (better than nothing!)
"failed to fill whole buffer"
And then it's honing in on the module imports and saying it can't find them
from purescript-language-server.
Can't find imports usually indicates that the project wasn't build at startup time (externs with the correct version are not present in output/
when purs ide server
loads dependencies), so that's a correct user-level error if you see it (there's a window/showMessage
to prompt the user to build)
from purescript-language-server.
d'oh forgot about that... so now I'm getting a "server already running needs to restart" error, BUT after ignoring that and doing some purposefully wrong errors - it's working in ALE!!!
from purescript-language-server.
LanguageServer (typo - meant vim LanguageClient for Deoplete) is still not working however - will post an update there and continue another time. Thanks!
from purescript-language-server.
Hey @dakom did you set the root marker? Something like
let g:LanguageClient_rootMarkers = { 'purescript': ['psi-package.json'] }
I got it working by adding that and the purescript-vim plug-in (this enables the file detect for *.purs files)
from purescript-language-server.
Thanks! Haven't been writing Purescript lately unfortunately, but good to know :)
from purescript-language-server.
In that case @nwolverson I think it is OK to close the issue. The only problem I see is that it doesn't find external modules but I guess it is because I am using psc-package instead of Bower
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.