code completion unnecessarily not "overwriting" to the right (Java specific? language specific fixes with compile-check "smarter" "smart" acceptSuggestion possible)
TLDR; just look below at image attachments (step 1, 2, 3)
at the basic, this isn't language specific, but language enhancements possible
"overwriting" or "contextual insert" or "surrounding check" or "duplicate surround text" might be a better term
Not sure where to file this at the "editor." level
filing in vscode-java for language specific completion enhancement ability (less so for compile check, mores to not overwrite text that is suppose to be repeated, but ymmv)
discussion
fixes would include:
just don't write duplicate text
a property with options (as its possibly "destructive", though I'd prefer the "destructive" option here)
language specific fix (bonus: detect which actually compiles)
between image 2 and image 3, both [tab] and [enter] seem to have the same results, so maybe this could be considered in configuration (on tab, check/replace same surrounding text, on enter just insert)
code completion unnecessarily not "overwriting" to the right (Java specific? language specific fixes with compile-check "smarter" "smart" acceptSuggestion possible)
TLDR; just look below at image attachments (step 1, 2, 3)
at the basic, this isn't language specific, but language enhancements possible
"overwriting" or "contextual insert" or "surrounding check" or "duplicate surround text" might be a better term
Not sure where to file this at the "editor." level
filing in vscode-java for language specific completion enhancement ability (less so for compile check, mores to not overwrite text that is suppose to be repeated, but ymmv)
discussion
fixes would include:
between image 2 and image 3, both [tab] and [enter] seem to have the same results, so maybe this could be considered in configuration (on tab, check/replace same surrounding text, on enter just insert)
tried following settings, no difference observed:
wanted:
Also, separately, but not,
editor.suggest
isn't ordering by preexisting surround text"java.completion.orderByPriorityStaticMode": "preexisting"
surround check could handle ordering better"java.completion.orderByPriorityCompileCheck": "true"
surround check could handle orderingEnvironment
Steps To Reproduce
Here's a simple setter-to-fluent workflow change, but I seem to hit this case of not looking at preexisting text to the right
Current Result
see image 3
Expected Result
Additional Informations