Открыть боковую панель
code
vscode
Коммиты
eab66e79
Не подтверждена
Коммит
eab66e79
создал
Мар 18, 2025
по автору
Rob Lourens
Зафиксировано автором
GitHub
Мар 19, 2025
Просмотр файлов
Fix chat history navigation (#243942)
Caused by keeping the mode in the input history state
владелец
80442508
Изменения
1
Скрыть пробелы
Построчно
Рядом
src/vs/workbench/contrib/chat/browser/chatInputPart.ts
Просмотр файла @
eab66e79
...
...
@@ -1353,7 +1353,7 @@ export class ChatInputPart extends Disposable implements IHistoryNavigationWidge
}
}
const
historyKeyFn
=
(
entry
:
IChatHistoryEntry
)
=>
JSON
.
stringify
(
entry
);
const
historyKeyFn
=
(
entry
:
IChatHistoryEntry
)
=>
JSON
.
stringify
(
{
...
entry
,
state
:
{
...
entry
.
state
,
chatMode
:
undefined
}
}
);
function
getLastPosition
(
model
:
ITextModel
):
IPosition
{
return
{
lineNumber
:
model
.
getLineCount
(),
column
:
model
.
getLineLength
(
model
.
getLineCount
())
+
1
};
...
...
Редактирование
Предварительный просмотр
Поддерживает Markdown
0%
Попробовать снова
или
прикрепить новый файл
.
Отмена
You are about to add
0
people
to the discussion. Proceed with caution.
Сначала завершите редактирование этого сообщения!
Отмена
Пожалуйста,
зарегистрируйтесь
или
войдите
чтобы прокомментировать