mirror of
https://github.com/Microsoft/vscode
synced 2024-10-30 01:37:20 +00:00
Fix left over : after inserting #file
This commit is contained in:
parent
a00c9c385f
commit
a15d1916bb
2 changed files with 2 additions and 1 deletions
|
@ -251,6 +251,7 @@ export class ChatInputPart extends Disposable implements IHistoryNavigationWidge
|
|||
showSnippets: false,
|
||||
showWords: true,
|
||||
showStatusBar: false,
|
||||
insertMode: 'replace',
|
||||
};
|
||||
options.scrollbar = { ...(options.scrollbar ?? {}), vertical: 'hidden' };
|
||||
|
||||
|
|
|
@ -534,7 +534,7 @@ class BuiltinDynamicCompletions extends Disposable {
|
|||
return null;
|
||||
}
|
||||
|
||||
const afterRange = new Range(position.lineNumber, range.replace.startColumn, position.lineNumber, range.replace.endColumn + 'file:'.length);
|
||||
const afterRange = new Range(position.lineNumber, range.replace.startColumn, position.lineNumber, range.replace.startColumn + '#file:'.length);
|
||||
return <CompletionList>{
|
||||
suggestions: [
|
||||
<CompletionItem>{
|
||||
|
|
Loading…
Reference in a new issue