Skip to main content

Questions tagged [lsp-ui]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
67 views

In Emacs lsp-mode, is there a way to modify function signature?

In lsp-mode (or any other Emacs cases), I can use lsp-rename to rename a var/id, all references being updated automatically. Now I want to modify a function's signature, e.g. adding an argument, in a ...
WIZARDELF's user avatar
  • 201
0 votes
1 answer
119 views

How to run a test in LSP with a key binding?

In lsp-ui-mode, test appears as a clickable UI element. Is there a keybinding to run a test without using the mouse?
andreoss's user avatar
1 vote
1 answer
118 views

Jump/Goto next highlighted symbol in lsp-mode

Lsp-mode has a function lsp-document-highlight bound by default to s-l a h which picks the symbol at point and highlights all (semantic) occurrences. Is there a goto-next-highlight. I checked the ...
Harald's user avatar
  • 352
0 votes
1 answer
263 views

View documentation of Java inside of emacs

I want to view Java documentation like https://docs.oracle.com/en/java/ inside emacs. I have tried lsp-java with lsp-ui but my setup wasn't enough.
Francesco Cadei's user avatar
0 votes
0 answers
325 views

lsp-mode shows LSP[Disconnected]

I am using Ubuntu linux. Here is a minimal version of my .emacs file: ;;---------------------------------------- ;; use-package ;;{{{ Set up package and use-package ;;---------------------------------...
Chris's user avatar
  • 1
1 vote
0 answers
172 views

How to add a secondary flycheck checker to lsp-ui

Because the lsp package sets the default checker to lsp (chaining not supported) I am using this WA to chain another checker to lsp: (defvar-local my/flycheck-local-cache nil) (defun my/flycheck-...
Mihai's user avatar
  • 143
0 votes
1 answer
44 views

How can I emulate the eclipse jdt open type action in emacs lsp-java?

In eclipse jdt, there's the open-type command, which opens a window and you start typing the name of a type. While typing, the list of candidates are shown in that window is filtered dynamically and ...
zedoo's user avatar
  • 103
1 vote
1 answer
226 views

add sonarlint in spacemacs

I've seen a sonarlint config for emacs using lsp in this link of github, and I've tried to install this without success. I've already installed lsp-sonarlint using MELPA and I've added this in ...
chavalife17's user avatar
0 votes
0 answers
2k views

How to set up lsp + pyright to show all errors

I'm using recent nightly emacs in Linux/WSL2. I have lsp and lsp-ui, and am using pyright as the python LSP service. (pip install pyright). I like flycheck rather than flymake. I've been using lsp ...
GaryO's user avatar
  • 496
6 votes
1 answer
810 views

See full compiler error when an error is truncated in lsp-mode?

Sometimes lsp-ui (I think it's lsp-ui-sideline specifically) will truncate messages so they fit on one line -- in this case a TypeScript compiler error: Note the full error message ends with is not ...
Croad Langshan's user avatar
2 votes
1 answer
272 views

How can I identify this popup face?

I'm trying to find the face that applies to this tooltip in LSP in rust-mode with rust-analyzer, but I'm not seeing anything when I search on: tooltip lsp popup posframe lsp-rust-analyze faces lsp-ui ...
Ashley Lake's user avatar
1 vote
1 answer
201 views

How can I invoke Flutter "Context commands" interactively (from lsp-dart)

I was beyond stoked to discover how complete Flutter support is in Emacs these days thanks to the seemingly polished lsp-dart (featured prominently in the official "get started" docs for ...
mgalgs's user avatar
  • 484
0 votes
1 answer
636 views

File mode specification error: (void-variable lsp-csharp--action-client-find-references)

I'm using doom emacs. my ~/.doom.d/config.el is - (use-package! lsp-mode :hook (haskell-mode . lsp) :commands lsp) (use-package! lsp-ui :commands lsp-ui-mode) (use-package! lsp-haskell :after ...
Rajkumar Natarajan's user avatar
2 votes
1 answer
497 views

How to focus or change point on child frame

I am trying to use lsp-ui package to display some documentation for Rust. When I put the cursor on a type for example, a popup child frame is created but the focus is still on the main window. If I ...
Mihai's user avatar
  • 143
1 vote
1 answer
488 views

How to hide "code actions" from lsp-ui sidebar?

Hi, I want to hide "code actions" which is recommended by lsp-mode from lsp-ui sidebar. How can I do for that?
yokoiwa's user avatar
  • 13
3 votes
2 answers
686 views

How can I disable the use of minibuffer in lsp-ui?

When lsp-ui-doc offers me information about the symbol at point, it does that in a hover window (good) and in the minibuffer (bad). I've found no mention of the minibuffer in the customisations of ...
Markus Grunwald's user avatar
3 votes
0 answers
158 views

How to open url inside lsp-ui-doc popup childframe in browser

I am using spacemacs go layer with lsp as backend with gopls. How to open the link in the childframe of lsp-ui-doc in browser?
Enze Chi's user avatar
  • 1,470
0 votes
2 answers
876 views

How to correctly configure Flow backend for LSP mode?

I'm using spacemacs @develop (branch). I can't use lsp and lsp-ui. In vscode everything works (using flow lsp mode). With company-flow I can also make it working. When opening a .js file with // @...
Robert Zaremba's user avatar
1 vote
0 answers
2k views

Emacs configure lsp-mode / lsp-ui

I work mainly with javascript and typescript. And I have enabled lsp-mode in Doom Emacs. But I am not very happy about the descriptions and information shown to me on hover. It is not very useful and ...
kresdjan's user avatar