Questions tagged [emacs-lsp]

Emacs client/library for the Language Server Protocol

8 questions
4
votes
2 answers

How to install clangd on Mac?

I am trying to use clangd with Spacemacs according to the c-cpp page. I have tried downloading the macOS binary for LLVM and I have followed this and this, but when I run which clangd, it says it cannot be found. I have also run brew install llvm,…
2
votes
3 answers

Emacs: How to remove wave underline in lsp header-line?

I'm not sure what it is for but it's a bit annoying and not helpful. How to remove that wave underline?
BinaryButterfly
  • 18,137
  • 13
  • 50
  • 91
1
vote
0 answers

Emacs freezes when debugging a program that segfaults (DAP vscode-cpptools)

I'm having an issue when debugging c++ programs in emacs (using dap-mode, LSP, projectile...): I have no problem with the debugger, as long as my code doesn't crash. But when the debugger hits a segmentation fault, I get the usual messages that I…
lagarkane
  • 915
  • 2
  • 9
  • 22
0
votes
1 answer

How do I set up a container so my emacs-lsp can run a Python IDE with pyright using the python and modules in the container?

I am trying to update old python code using a TensorFlow v1 container (I will eventually port it to either TensorFlow v2 or PyTorch). I have an emacs Python environment already set up and used locally based on LSP, pyright, flycheck, pyvenv and…
0
votes
0 answers

Emacs - LSP compile_command.json file?

I m in Arcolinux guyz, I am using clang-lsp in my Emacs. I m new to programming but I need to prepare a project about Opencv(C++). Whenever I try a script , there is always warning like #include file not found ? I have found…
caguar
  • 9
  • 2
0
votes
1 answer

Why can't emacs-lsp go-mode not find go executable in path?

In emacs, using gopls but it cannot find go on my path. But it's there, I can run it. Reaching out to the community to see if I'm missing something. I can run a basic gin server without issue. Using this config, from docs. Output: panic: err: exec:…
Busch
  • 857
  • 10
  • 29
0
votes
0 answers

Tab completion does not work in python org src

I set up a python org src #+BEGIN_SRC python :results output import sys print(sys.version) print(sys.version_info) #+END_SRC #+RESULTS: : 3.7.4 (default, Aug 13 2019, 20:35:49) : [GCC 7.3.0] : sys.version_info(major=3, minor=7, micro=4,…
AbstProcDo
  • 19,953
  • 19
  • 81
  • 138
0
votes
1 answer

emacs lsp c-mode: Command "clangd" is not present on the path

I want to use Emacs LSP c-mode, but I'm getting the error 'Command "clangd" is not present on the path'. I did the following steps to install: Get lsp package from melpa-stable Get company-lsp from melpa-stable Get ccls using homebrew Add the…
eager2learn
  • 1,447
  • 4
  • 24
  • 47