mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
Merge remote-tracking branch 'origin/master' into tyriar/15583
This commit is contained in:
@@ -96,7 +96,7 @@ export function createApiFactory(initData: IInitData, threadService: IThreadServ
|
||||
|
||||
if (extension.enableProposedApi) {
|
||||
|
||||
if (!initData.environment.enableProposedApi) {
|
||||
if (!initData.environment.enableProposedApi && !extension.isBuiltin) {
|
||||
extension.enableProposedApi = false;
|
||||
console.warn('PROPOSED API is only available when developing an extension');
|
||||
|
||||
|
||||
@@ -514,7 +514,8 @@ class SuggestAdapter {
|
||||
//
|
||||
insertText: undefined,
|
||||
additionalTextEdits: item.additionalTextEdits && item.additionalTextEdits.map(TypeConverters.TextEdit.from),
|
||||
command: this._commands.toInternal(item.command)
|
||||
command: this._commands.toInternal(item.command),
|
||||
commitCharacters: item.commitCharacters
|
||||
};
|
||||
|
||||
// 'insertText'-logic
|
||||
|
||||
@@ -53,7 +53,7 @@ export class MainThreadOutputService extends MainThreadOutputServiceShape {
|
||||
public $close(channelId: string): TPromise<void> {
|
||||
const panel = this._panelService.getActivePanel();
|
||||
if (panel && panel.getId() === OUTPUT_PANEL_ID && channelId === this._outputService.getActiveChannel().id) {
|
||||
this._partService.setPanelHidden(true);
|
||||
return this._partService.setPanelHidden(true);
|
||||
}
|
||||
|
||||
return undefined;
|
||||
|
||||
Reference in New Issue
Block a user