Giter Site home page Giter Site logo

peek reference errors about lsp-ui HOT 5 CLOSED

kvaneesh avatar kvaneesh commented on May 26, 2024
peek reference errors

from lsp-ui.

Comments (5)

sebastiencs avatar sebastiencs commented on May 26, 2024

not able to close that window

I'm not sure to understand, which window cannot you close ?

from lsp-ui.

MaskRay avatar MaskRay commented on May 26, 2024

If you use evil you may try lsp-ui-peek-jump-{backward,forward} .

xref-pop-marker-stack is shared by all windows

from lsp-ui.

kvaneesh avatar kvaneesh commented on May 26, 2024

Steps:

  1. Search for references.
  2. Select one of the file and visit the file/[ENTER]
  3. Go back with lsp-ui-peek-jump-backward. We get to a buffer/window with peek window/overlay still present. There is no way to close that peek window/overlay. Clicking around that buffer removes the overlay. But it would be nice to get back to a buffer without overlay in there?

from lsp-ui.

MaskRay avatar MaskRay commented on May 26, 2024

Yeah I also come across this occasionally.

from lsp-ui.

MaskRay avatar MaskRay commented on May 26, 2024

1a7b627 probably fixed this issue.

FYI I hope you would be interested at https://github.com/emacs-lsp/lsp-ui/blob/master/lsp-ui.el#L119
it is very inefficient now

This is interesting because it only happens in Evil mode. I'm still unclear why emacs mode is not bothered by this.

calling (lsp-ui-peek-mode -1) will invalidate marker used in (if other-window (pop-to-buffer (marker-buffer marker)) (switch-to-buffer (marker-buffer marker)))

from lsp-ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.