jbree / ide-clangd

A clangd language server plugin for Atom
20 stars 8 forks source link

ide-clangd is not working #10

Open stellarbeam opened 6 years ago

stellarbeam commented 6 years ago

I have installed atom-ide-ui and ide-clangd , atom version 1.29, $PATH variable contains C:\Program Files\LLVM\bin , and in package settings the location of clangd executible is left to default (ie clangd). but the plugin doesn't seem to work. it doesn't show any errors or warnings. I checked the Task Manager and found that clangd process isn't active at all. Also tried to mention absolute path to clangd C:\Program Files\LLVM\bin\clangd in package settings, but no luck. Have i done any mistake? thanks in advance.

jbree commented 6 years ago

I dont have any way to test windows, so the plugin actually bails out if it's other than mac or linux. I welcome you, or anyone, to make alterations to make it work and submit a pull request.

ifigueroap commented 6 years ago

Hi, I'm having the same issue as @thecyberguy, and based on your answer I just changed line 21 to the following:

const platform = { 'linux': 'linux', 'darwin': 'mac', 'win32' : 'windows' }[process.platform];

And the plugin so far is working correctly on Windows 10, Atom 1.32.1 x64, should I proceed with the pull request?

jbree commented 5 years ago

Currently I'm working on a branch which adds automatic download of the clangd components for use with this plugin. rather than put out a new release with this fix, the next release will be on the new branch, which has been seriously refactored.

If you'd like to contribute to that branch (feature-auto-install) with windows support, I'd be happy to have your help. Thanks!

NetherGranite commented 4 years ago

Any update on this by chance? This package sounds amazing, but I can't actually use it! 😄

jbree commented 4 years ago

Unfortunately my work situation has required me to use VSCode rather than Atom, so this plugin has languished. Don't count on any updates.