You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What I mean by this is that when for example I paste:
UI_Context ui_ctx = new UI_Context();
Then this is automaticly added:
import imgui_2026.UI.UI_Context;
First off all I already had a static import so the import is not needed at all to have things working.
Second and more important, I want to be in control of the imports being used, and this way it's easy for something to slip in by accident.
I was happy with the ctrl + . to do imports.
All my attempts so far either didn't work, or they stopped autocomplete everywhere.
Activity
fbricon commentedon Jan 30, 2026
Try Ctrl+Shift+v when pasting
fbricon commentedon Jan 30, 2026
Ah so Ctrl+Shift+v still organizes imports after pasting due to
vscode-java/src/pasteAction.ts
Line 12 in 159baec
When doing Ctrl+v, jdt.ls-pasting takes over, that you can override with the paste selector:
In both cases, we could introduce a setting like for js and ts
[-]Disable automatic imports[/-][+]Disable automatic imports on Paste[/+]