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
I see that sometimes the postfix completions such as nnull work correctly, but sometimes they don't in terms of whether or not they replace the original text:
snippet.mov
In the second completion I didn't type anything but just selected the completion. In the first I typed a bit first to get the nnull to be higher in the list first.
Here's an example of when the text is not replaced:
{
command= {
arguments= { "78", "0" },
command="java.completion.onDidSelect",
title=""
},
data= {
pid="0",
rid="78"
},
insertText="if (b != null) {\n\t${0}\n}",
insertTextFormat=2,
insertTextMode=2,
kind=15,
label="nnull",
labelDetails= {
description="Creates an if statement and checks if the expression does not resolve to null"
},
sortText="999999999"
}
Here's an example of the payload when it is replaced:
{
command= {
arguments= { "100", "2" },
command="java.completion.onDidSelect",
title=""
},
data= {
pid="2",
rid="100"
},
insertTextFormat=2,
insertTextMode=2,
kind=15,
label="nnull",
labelDetails= {
description="Creates an if statement and checks if the expression does not resolve to null"
},
sortText="999999999",
textEdit= {
insert= {
["end"] = {
character=10,
line=6
},
start= {
character=10,
line=6
}
},
newText="if (b != null) {\n\t${0}\n}",
replace= {
["end"] = {
character=10,
line=6
},
start= {
character=10,
line=6
}
}
},
textEditText="if (b != null) {\n\t${0}\n}"
}
Does anyone have any ideas why this might be?
The text was updated successfully, but these errors were encountered:
I see that sometimes the postfix completions such as
nnull
work correctly, but sometimes they don't in terms of whether or not they replace the original text:snippet.mov
In the second completion I didn't type anything but just selected the completion. In the first I typed a bit first to get the nnull to be higher in the list first.
Here's an example of when the text is not replaced:
Here's an example of the payload when it is replaced:
Does anyone have any ideas why this might be?
The text was updated successfully, but these errors were encountered: