Commit d5eb2db
committed
Handle replaceStart/replaceEnd in completion proposal
Fixes #524
Ensures completion text can be appended by clients
E.g.
For `com.|` the completion proposal has:
completion: com.sun.jndi.ldap.pool
completionLocation: 3
replaceEnd: 4
replaceStart: 0
`insertText` will be `sun.jndi.ldap.pool`
For `List.|` the completion proposal has:
completion: of()
completionLocation: 4
replaceStart: 5
replaceEnd: 5
`insertText` will be `of()`1 parent 7303dcd commit d5eb2db
File tree
1 file changed
+8
-1
lines changed- com.microsoft.java.debug.plugin/src/main/java/com/microsoft/java/debug/plugin/internal
1 file changed
+8
-1
lines changedLines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| 163 | + | |
163 | 164 | | |
164 | 165 | | |
165 | | - | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
166 | 173 | | |
167 | 174 | | |
168 | 175 | | |
| |||
0 commit comments