fix: enable `#` completions for chat editing session (#230271)
parent
7bbd14551f
commit
f7cf037069
|
@ -533,6 +533,7 @@ class VariableCompletions extends Disposable {
|
|||
provideCompletionItems: async (model: ITextModel, position: Position, _context: CompletionContext, _token: CancellationToken) => {
|
||||
const locations = new Set<ChatAgentLocation>();
|
||||
locations.add(ChatAgentLocation.Panel);
|
||||
locations.add(ChatAgentLocation.EditingSession);
|
||||
|
||||
for (const value of Object.values(ChatAgentLocation)) {
|
||||
if (typeof value === 'string' && configService.getValue<boolean>(`chat.experimental.variables.${value}`)) {
|
||||
|
|
Loading…
Reference in New Issue