Open heartbeast42 opened 3 years ago
export PATH="$PATH:/home/heartbeast/Modules/ccls/Release"
Most likely this variable in bashrc is not being read by the desktop session that starts Atom; usually ~/.profile
is the file you want if you're adding something to your PATH
for graphical applications to use.
This addon is currently unmaintained however, so it's perfectly possible that major changes have occurred in the upstream IDE package that are preventing this addon from working. I welcome pull requests to that effect, but I no longer use Atom as my development environment.
I have the same problem, but I am certain that ccls is on the path and in the session starting Atom:
[eposse@davinci:~] > which ccls
/Users/eposse/.local/bin/ccls
[eposse@davinci:~] > ccls --version
ccls version 0.20201025-0-g1fec76c8
clang version 11.1.0
[eposse@davinci:~] > echo $PATH |grep /Users/eposse/\.local/bin
/opt/local/bin:/opt/local/sbin:/Users/eposse/.jenv/shims:/Users/eposse/.jenv/bin:/Users/eposse/.pyenv/plugins/pyenv-virtualenv/shims:/Users/eposse/.pyenv/shims:/Users/eposse/.pyenv/bin:/Users/eposse/.cabal/bin:/Users/eposse/.ghcup/bin:/Users/eposse/.cabal/bin:/Users/eposse/.ghcup/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/Library/TeX/texbin:/usr/local/MacGPG2/bin:/Library/Apple/usr/bin:/Users/eposse/.local/bin:/opt/local/bin:/Users/eposse/Dropbox/Scripts
[eposse@davinci:~] > atom
[eposse@davinci:~] >
And yet I get the error.
I'm running
Atom : 1.60.0 Electron: 9.4.4 Chrome : 83.0.4103.122 Node : 12.14.1
On macOS Catalina.
On Pop!_OS 20.04
I'm getting the following error on atom startup
and I'm getting the following error on re-install of ide-c-cpp package as (well as the above error)
Built ccls from source and confirmed ccls installation is on path with
ccls --help
which succeeds as expected. I'm new to C / C++ development so I'm worried there's still an issue with my setup of ccls.I added the following line to both my ~/.zshrc and ~/.bashrc files to add ccls to my path
I've added the ccls binary to the ide-ccls packages under the "'ccls' executable path" option as follows
Like I said, I'm new to C / C++. I do have extensive experience with JS and Python. LMK if there's any other information that I can provide or if I missed something obvious.
Thanks