cmp column gets too narrow when the element names are too long #1374
Replies: 4 comments 1 reply
-
What do you expect the fixed behavior? Possible solutions are
|
Beta Was this translation helpful? Give feedback.
-
Hello, I have recently encountered the same issue and was also wondering if it weren't possible to dynamically move the documentation window to wherever there is more space, as suggested by @MaienM. But as mentioned by @drzhivago420, I could not find anything at a glance which could help me achieve/solve this; I am pretty much stuck in the same place now. I have attached another example, where my terminal is too narrow for the docs to even fit on the right (if I make the window wider, and trigger the completion again, I get a similar looking result as @drzhivago420). As you can see, the docs end up occluding the completion suggestions and I cannot even see the suggestions anymore. It would indeed feel very intuitive to have the docs appear below the completion window in this case (or above, if my suggestion window happens to be put above the cursor). @MaienM's proposition sounds like a neat way to dodge these cases in my eyes. In (very) extreme cases, one might take @hrsh7th's suggestion on either trimming the completion menu (as is currently done if we disregard the documentation window), or to avoid showing the docs altogether if it gets reaallllly cramped. |
Beta Was this translation helpful? Give feedback.
-
I have the same problem here, I think @hrsh7th's second suggestion is acceptable for me. I think documentation is not necessary for me (if it is too narrow, hiding is better), and I want my whole layout is beautiful, not odd-shaped. |
Beta Was this translation helpful? Give feedback.
-
Same problem with elixir-lsp. What about being able to provide a |
Beta Was this translation helpful? Give feedback.
-
This is most likely an issue with my configuration, but I have no knowledge of how to solve it and don't know anywhere else to ask. Any way to fix this?
Beta Was this translation helpful? Give feedback.
All reactions