parent
a05c4434d7
commit
f6e97b7c97
|
@ -8,7 +8,7 @@ exports.inlineMeta = inlineMeta;
|
|||
const es = require("event-stream");
|
||||
const path_1 = require("path");
|
||||
const packageJsonMarkerId = 'BUILD_INSERT_PACKAGE_CONFIGURATION';
|
||||
// TODO@bpasero in order to inline `product.json`, more work is
|
||||
// TODO in order to inline `product.json`, more work is
|
||||
// needed to ensure that we cover all cases where modifications
|
||||
// are done to the product configuration during build. There are
|
||||
// at least 2 more changes that kick in very late:
|
||||
|
|
|
@ -15,7 +15,7 @@ export interface IInlineMetaContext {
|
|||
|
||||
const packageJsonMarkerId = 'BUILD_INSERT_PACKAGE_CONFIGURATION';
|
||||
|
||||
// TODO@bpasero in order to inline `product.json`, more work is
|
||||
// TODO in order to inline `product.json`, more work is
|
||||
// needed to ensure that we cover all cases where modifications
|
||||
// are done to the product configuration during build. There are
|
||||
// at least 2 more changes that kick in very late:
|
||||
|
|
|
@ -62,9 +62,9 @@ export class AuxiliaryWindow extends BaseWindow implements IAuxiliaryWindow {
|
|||
y: options.y,
|
||||
width: options.width,
|
||||
height: options.height,
|
||||
// TODO@bpasero We currently do not support restoring fullscreen state for
|
||||
// auxiliary windows because we do not get hold of the original `features`
|
||||
// string that contains that info in `window-fullscreen`. However, we can
|
||||
// We currently do not support restoring fullscreen state for auxiliary
|
||||
// windows because we do not get hold of the original `features` string
|
||||
// that contains that info in `window-fullscreen`. However, we can
|
||||
// probe the `options.show` value for whether the window should be maximized
|
||||
// or not because we never show maximized windows initially to reduce flicker.
|
||||
mode: options.show === false ? WindowMode.Maximized : WindowMode.Normal
|
||||
|
|
|
@ -147,10 +147,10 @@ export class NodeJSFileWatcherLibrary extends Disposable {
|
|||
|
||||
private doWatchWithExistingWatcher(realPath: string, isDirectory: boolean, disposables: DisposableStore): boolean {
|
||||
if (isDirectory) {
|
||||
// TODO@bpasero recursive watcher re-use is currently not enabled
|
||||
// for when folders are watched. this is because the dispatching
|
||||
// in the recursive watcher for non-recurive requests is optimized
|
||||
// for file changes where we really only match on the exact path
|
||||
// Recursive watcher re-use is currently not enabled for when
|
||||
// folders are watched. this is because the dispatching in the
|
||||
// recursive watcher for non-recurive requests is optimized for
|
||||
// file changes where we really only match on the exact path
|
||||
// and not child paths.
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -707,11 +707,8 @@ export abstract class Layout extends Disposable implements IWorkbenchLayoutServi
|
|||
|
||||
// Auxiliary Panel to restore
|
||||
if (this.isVisible(Parts.AUXILIARYBAR_PART)) {
|
||||
let viewContainerToRestore = this.storageService.get(AuxiliaryBarPart.activePanelSettingsKey, StorageScope.WORKSPACE, this.viewDescriptorService.getDefaultViewContainer(ViewContainerLocation.AuxiliaryBar)?.id);
|
||||
const viewContainerToRestore = this.storageService.get(AuxiliaryBarPart.activePanelSettingsKey, StorageScope.WORKSPACE, this.viewDescriptorService.getDefaultViewContainer(ViewContainerLocation.AuxiliaryBar)?.id);
|
||||
if (viewContainerToRestore) {
|
||||
if (viewContainerToRestore === 'workbench.panel.chatSidebar') {
|
||||
viewContainerToRestore = 'workbench.panel.chat'; // TODO@bpasero remove me after some months
|
||||
}
|
||||
this.state.initialization.views.containerToRestore.auxiliaryBar = viewContainerToRestore;
|
||||
} else {
|
||||
this.stateModel.setRuntimeValue(LayoutStateKeys.AUXILIARYBAR_HIDDEN, true);
|
||||
|
|
|
@ -259,7 +259,7 @@ registerAction2(class ToggleEditorActions extends Action2 {
|
|||
}
|
||||
});
|
||||
|
||||
if (isLinux && isNative) { // TODO@bpasero remove me later
|
||||
if (isLinux && isNative) {
|
||||
registerAction2(class ToggleCustomTitleBar extends Action2 {
|
||||
constructor() {
|
||||
super({
|
||||
|
|
|
@ -813,7 +813,7 @@ export class DynamicSpeechAccessibilityConfiguration extends Disposable implemen
|
|||
localize('accessibility.voice.autoSynthesize.auto', "When a screen reader is detected, disable the feature. Otherwise, enable the feature.")
|
||||
],
|
||||
'markdownDescription': localize('autoSynthesize', "Whether a textual response should automatically be read out aloud when speech was used as input. For example in a chat session, a response is automatically synthesized when voice was used as chat request."),
|
||||
'default': this.productService.quality !== 'stable' ? 'auto' : 'off', // TODO@bpasero decide on a default
|
||||
'default': this.productService.quality !== 'stable' ? 'auto' : 'off',
|
||||
'tags': ['accessibility']
|
||||
}
|
||||
}
|
||||
|
|
|
@ -373,7 +373,7 @@ class VoiceChatSessions {
|
|||
if (autoSynthesize === 'on' || autoSynthesize === 'auto' && !this.accessibilityService.isScreenReaderOptimized()) {
|
||||
let context: IVoiceChatSessionController | 'focused';
|
||||
if (controller.context === 'inline') {
|
||||
// TODO@bpasero this is ugly, but the lightweight inline chat turns into
|
||||
// This is ugly, but the lightweight inline chat turns into
|
||||
// a different widget as soon as a response comes in, so we fallback to
|
||||
// picking up from the focused chat widget
|
||||
context = 'focused';
|
||||
|
@ -695,7 +695,7 @@ class ChatSynthesizerSessionController {
|
|||
const contextKeyService = accessor.get(IContextKeyService);
|
||||
let chatWidget = chatWidgetService.getWidgetBySessionId(response.session.sessionId);
|
||||
if (chatWidget?.location === ChatAgentLocation.Editor) {
|
||||
// TODO@bpasero workaround for https://github.com/microsoft/vscode/issues/212785
|
||||
// workaround for https://github.com/microsoft/vscode/issues/212785
|
||||
chatWidget = chatWidgetService.lastFocusedWidget;
|
||||
}
|
||||
|
||||
|
|
|
@ -280,9 +280,9 @@ export class MultiDiffEditorInput extends EditorInput implements ILanguageSuppor
|
|||
|
||||
override readonly closeHandler: IEditorCloseHandler = {
|
||||
|
||||
// TODO@bpasero TODO@hediet this is a workaround for
|
||||
// not having a better way to figure out if the
|
||||
// editors this input wraps around are opened or not
|
||||
// This is a workaround for not having a better way
|
||||
// to figure out if the editors this input wraps
|
||||
// around are opened or not
|
||||
|
||||
async confirm() {
|
||||
return ConfirmResult.DONT_SAVE;
|
||||
|
|
|
@ -164,7 +164,7 @@ class OutputEditor extends AbstractTextResourceEditor {
|
|||
@IEditorService editorService: IEditorService,
|
||||
@IFileService fileService: IFileService
|
||||
) {
|
||||
super(OUTPUT_VIEW_ID, editorGroupService.activeGroup /* TODO@bpasero this is wrong */, telemetryService, instantiationService, storageService, textResourceConfigurationService, themeService, editorGroupService, editorService, fileService);
|
||||
super(OUTPUT_VIEW_ID, editorGroupService.activeGroup /* this is not correct but pragmatic */, telemetryService, instantiationService, storageService, textResourceConfigurationService, themeService, editorGroupService, editorService, fileService);
|
||||
|
||||
this.resourceContext = this._register(instantiationService.createInstance(ResourceContextKey));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue