ide-clangd icon indicating copy to clipboard operation
ide-clangd copied to clipboard

ide-clangd is not working

Open stellarbeam opened this issue 7 years ago • 5 comments

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.

stellarbeam avatar Aug 06 '18 10:08 stellarbeam

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.

jbree avatar Aug 09 '18 03:08 jbree

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?

ifigueroap avatar Nov 05 '18 12:11 ifigueroap

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!

jbree avatar Nov 10 '18 20:11 jbree

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

NetherGranite avatar Feb 11 '20 08:02 NetherGranite

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

jbree avatar Feb 11 '20 15:02 jbree