Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [lsp-mode]

lsp-mode serves as an Emacs client for the Language Server Protocol.

Filter by
Sorted by
Tagged with
0
votes
0answers
65 views

How do I get code signature snippets with lsp-mode/lsp-ui/company-lsp?

I see on the front page of https://github.com/tigersoldier/company-lsp when you type the function name it autocompletes not just the rest of the name, but the signature as a snippet, enabling you to ...
1
vote
1answer
47 views

Stop company-lsp from completing function arguments

I try to configure lsp-mode and company-lsp with python-language-server for python autocompletion, but when I choose completion candidate it completes with function arguments. How can I prevent this ...
0
votes
0answers
38 views

emacs lsp-mode python how to disable certain warnings

lsp-mode complies to PEP8 style guide I guess, but how can I disable certain warnings, e.g. about missing docstrings etc.?
0
votes
0answers
46 views

Treemacs with Scala Metals/LSP: “Creating Pipe: Too Many Open Files”

I'm on spacemacs develop, emacs version 27, OSX Mojave 10.14. After adding the lsp layer and the snippet from the metals documentation here: to my .spacemacs file, treemacs will refuse to expand a ...
0
votes
1answer
107 views

How to disable semantic highlighting in lsp-mode?

Language server mode has a variable for semantic highlighting lsp-ht, I would like to disable all syntax highlighting in lsp-mode, is this possible. (setq lsp-enable-links nil) (setq lsp-enable-...
1
vote
1answer
37 views

How to stop lsp-mode converting C/C++ includes into buttons?

When lsp-mode is enabled all headers become clickable (draw as buttons), underlining them making them slightly harder to read. I don't need this since I can have a key bound to go to the header. Is ...
0
votes
1answer
27 views

Understanding why lsp-scala is not giving completions

I have installed lsp-mode, lip-scala, lsp-ui, company-lsp and many other packages. When entering scala code, I often get popups to complete the method/class/variable name, which also add the ...
0
votes
0answers
16 views

Emacsclient Not Opening Due to Dialogue

This is something that's vexed me for a quite a while, but has got a lot worse now that I'm using lsp-mode. In fact, I'm not sure if it is a bug in lsp-mode, Emacs or intended behavior: Say that you'...
0
votes
1answer
312 views

Running lsp-mode with Python using the pyls from the virtualenv of my project

I wish to run LSP using the pyls from the virtualenv of my project. I don't have pyls installed globally (only in the local virtualenv). I found this snippet online: (lsp-define-stdio-client lsp-...
0
votes
0answers
13 views

Get Compiler Flags for the Current File

This is something I've been mulling on for a while: Given that you are using e.g., lsp-mode for your C/C++ project and consequently have a compile_commands.json that contains the compilation flags ...
0
votes
1answer
36 views

How to debug lsp-mode “lsp-request: method not found”?

I've setup lsp-mode and clangd, and put the compile-commands.json in the projects root. I can tell compile-commands.json because my cflags are included in the Updating file output of *clangd::stderr* ...
1
vote
1answer
78 views

Use lsp-mode for some projects and ggtags for others

Is there a way to configure Emacs to activate lsp-mode for some projects and ggtags for other projects? Maybe using .dir-locals.el? I code C++ and the project I most often work on doesn't support lsp-...
1
vote
1answer
65 views

company-lsp complains about void function lsp--client-completion-in-comments

my emacs lsp-python setup is pretty standard: (require 'lsp-mode) (add-hook 'python-mode-hook #'lsp) (require 'company-lsp) (push 'company-lsp company-backends) (add-hook 'after-init-hook 'global-...
0
votes
0answers
22 views

Re-binding error mouse hover to keyboard insertion point in lsp-mode with flymake

I'm trying out lsp-mode with default flymake for as-you-type error checking in JavaScipt. lsp-mode and language server were easy to set up. I type in some javascript and it underlines in red and mouse ...
1
vote
1answer
263 views

Configuring lsp-mode to run elm-language-server

I'm trying to run lsp-mode for elm development and according to lsp-mode elm is supported. Also according to that link, I should only have to clone the elm-language-server repository, run npm install ...