eclipse-wildwebdeveloper / wildwebdeveloper

Simple and productive Web Development Tools in the Eclipse IDE
https://projects.eclipse.org/projects/tools.wildwebdeveloper
Eclipse Public License 2.0
190 stars 71 forks source link

Angular: Editor jumps to top #1507

Open leomayer opened 7 months ago

leomayer commented 7 months ago

I have enabled the following Language Servers Bildschirmfoto vom 2024-03-27 15-58-43

when I type in the editor to complete the Content assist the content jumps to the top but the cursor remains on the same position. Also the suggestions can hardly be selected due to the jumping around. The suggestions are not really included in the frame of the video since they lay outside - on the lower right corner one could assume them.

As it is now I cannot use this installation for coding in Angular. Up till now that was NO problem.

vokoscreenNG-2024-03-27_16-01-25.webm

Bildschirmfoto vom 2024-03-27 16-03-59

thedailycommute commented 7 months ago

I have exactly the same problem when editing Typescript files. At first I thought I had a conflict with some other Eclipse plugin, but after a completely new, clean install (version 2024-03 (4.31.0), without any extra plugins) the problem continues.

I tried to roll back to an earlier version of Eclipse, without success.

The only way I can minimally work with the Wild Web Typescript editor is by disabling ALL Typescript Inlay Hints, although the window continues to flicker and jump slightly.

sshot-117

jridge-ezclocker commented 7 months ago

Possibly related to what I am seeing - the JS editor is automatically folding imports and after editing code the imports expand and re-fold causing the editor text to jump around making editing impossible. I don't see a way to disable import folding (a feature I do not want). Is there a way to disable the folding? This is within I see this in the current eclipse release and the release prior with the latest WildWebDeveloper tools. I'll write up a separate defect relating to exactly what I see right now, but I'm having to use VSCode instead of eclipse because I simply cannot edit any javascript files without things jumping around.

Other issue I wrote up: https://github.com/eclipse-wildwebdeveloper/wildwebdeveloper/issues/1508

wesleybl commented 6 months ago

As said here: https://github.com/eclipse/lsp4e/issues/895#issuecomment-2081946206

To disable import collapses, simply install the latest version of lsp4e.