Giter Site home page Giter Site logo

Comments (11)

liuchong avatar liuchong commented on June 22, 2024 1

There seems has similar problem in sideline-lsp, please check the below images:

Normal:
image
Sideline enabled:
image

from lsp-ui.

liuchong avatar liuchong commented on June 22, 2024 1

I think the prompt message on the right should not effect the display of source codes on the left.

from lsp-ui.

jcs090218 avatar jcs090218 commented on June 22, 2024 1

Thanks for testing it out! I will investigate the bug. ;)

from lsp-ui.

jcs090218 avatar jcs090218 commented on June 22, 2024 1

I have taken a closer look at the issue. It seems like it's a conflict with other overlays. 🤔

For sideline-lsp, you can try:

(setq sideline-backends-right-skip-current-line t)

There isn't a good solution yet since there isn't a good way to calculate all the overlays in the buffer/window. 😓

from lsp-ui.

Flinner avatar Flinner commented on June 22, 2024

Is this unsolved? #96

from lsp-ui.

liuchong avatar liuchong commented on June 22, 2024

Is this unsolved? #96

I noticed that #96 is an old issue and seems was fixed, not sure if it is same problem as what I found, or maybe new version of emacs breaks it again? @Flinner
The difference of my issue and #96 is that is the real message breaks line, but this is not real message but only a small word references does it.

from lsp-ui.

ivan-avalos avatar ivan-avalos commented on June 22, 2024

I'm experiencing this too with Emacs 29.0.91. It makes writing code very annoying, especially with Dart, since Dart has labels at the end of every nested structure, and while typing, lines are constantly jumping as sideline actions appear and disappear.

Screenshot_20230528_224945

from lsp-ui.

jcs090218 avatar jcs090218 commented on June 22, 2024

I don't know if this will work, but you can try sideline and sideline-lsp. Pretty much the improved version of lsp-ui-sideline.

from lsp-ui.

liuchong avatar liuchong commented on June 22, 2024

@jcs090218 hi, did you fixed it? 👀

from lsp-ui.

liuchong avatar liuchong commented on June 22, 2024

Maybe create another layer on top of the editing buffer when popping out the message? @jcs090218 👀

from lsp-ui.

jcs090218 avatar jcs090218 commented on June 22, 2024

Maybe create another layer on top of the editing buffer when popping out the message?

No, we already have lsp-ui-doc that does that. I don't think that will solve the issue, but making it customizable might be one solution (use different frontend). 🤔

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.