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
The reason is that the subsequent lines in the textEdit are pre-indented. But asIs is defined in the specification as:
/**
* The insertion or replace strings is taken as it is. If the
* value is multi line the lines below the cursor will be
* inserted using the indentation defined in the string value.
* The client will not apply any kind of adjustments to the
* string.
*/
Meaning the subsequent indentation should be relative to the cursor, not more.
Changing the isInsertTextModeAdjustIndentationSupport condition like the following would fix the problem, but it seems like this was intentional?
In editors like neovim the indentation for dependency completion is off
For example in:
With the cursor indicated as
|
, completing something likejackson-core
leads to:Instead of:
The reason is that the subsequent lines in the textEdit are pre-indented. But
asIs
is defined in the specification as:Meaning the subsequent indentation should be relative to the cursor, not more.
Changing the
isInsertTextModeAdjustIndentationSupport
condition like the following would fix the problem, but it seems like this was intentional?The text was updated successfully, but these errors were encountered: