thomasjo / atom-ide-cpp

C/C++ language support for Atom-IDE
33 stars 4 forks source link

ide-cpp not being activated #8

Open ghost opened 6 years ago

ghost commented 6 years ago

Here's a screenshot for above mentioned issue. I did have clangd (installed with hombrew) path set. Any idea what probably might cause this? Here's a list of all the packages I installed.

screen shot 2018-01-24 at 10 34 29 am

thomasjo commented 6 years ago

Any errors showing up in the developer console?

ghost commented 6 years ago

Sorry I forget to attach it.

WebSocket connection to 'wss://ws-mt1.pusher.com/app/f119821248b7429bece3?protocol=7&client=js&version=4.2.2&flash=false' failed: WebSocket is closed before the connection is established.

The other output were from some unrelated packages which I omit here. Thanks!

ghost commented 6 years ago

Thoughts?

thomasjo commented 6 years ago

AFAIK the error you are seeing is a general problem in Atom IDE when a LSP server connection dies (e.g. the process ends unexpectedly).

Is this still an issue? Let me know, and I will try to put together a small test to verify whether Clangd on your system works and behaves as expected.

sinux-l5d commented 6 years ago

I have the same issue. The outline view and the diagnostics windows don't show anything (and yet my code isn't correct). I've installed LLVM for Windows 10 here and MinGW (installing both is maybe useless, don't really know I'm new at c/c++ world). My path to clang for ide-cpp is the following one : C:\Program Files\LLVM\bin\clangd.exe. If I've installed everything properly, I'll be happy to help you with this issue, just tell me what you need. Sorry for bothering you otherwise.

ghost commented 6 years ago

I am having the same issue where my code is incorrect but no errors or warnings are being triggered. I am on Windows 7 and the Clangd Path is set to C:\Program Files\LLVM\bin\clangd.exe.

What other information do you need to help fix this issue?