mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Feature: Tasks (core) (#12184)
* initial * string sanitize * hygiene * build task * added build task * hygiene * initial tasks view * finished tasks * add sql carbon tags and undo changes * remove task message * fix tasks tests * removed extension stuff * add problem matcher * remove extra space * undo extension changes * add problem matcher to mssql
This commit is contained in:
@@ -5,7 +5,9 @@
|
||||
|
||||
import { ConfigurationScope } from 'vs/platform/configuration/common/configurationRegistry';
|
||||
|
||||
// {{SQL CARBON EDIT}}
|
||||
export const FOLDER_CONFIG_FOLDER_NAME = '.azuredatastudio';
|
||||
export const TASKS_FOLDER_CONFIG_FOLDER_NAME = '.vscode';
|
||||
export const FOLDER_SETTINGS_NAME = 'settings';
|
||||
export const FOLDER_SETTINGS_PATH = `${FOLDER_CONFIG_FOLDER_NAME}/${FOLDER_SETTINGS_NAME}.json`;
|
||||
|
||||
@@ -26,7 +28,7 @@ export const TASKS_CONFIGURATION_KEY = 'tasks';
|
||||
export const LAUNCH_CONFIGURATION_KEY = 'launch';
|
||||
|
||||
export const WORKSPACE_STANDALONE_CONFIGURATIONS = Object.create(null);
|
||||
WORKSPACE_STANDALONE_CONFIGURATIONS[TASKS_CONFIGURATION_KEY] = `${FOLDER_CONFIG_FOLDER_NAME}/${TASKS_CONFIGURATION_KEY}.json`;
|
||||
WORKSPACE_STANDALONE_CONFIGURATIONS[TASKS_CONFIGURATION_KEY] = `${TASKS_FOLDER_CONFIG_FOLDER_NAME}/${TASKS_CONFIGURATION_KEY}.json`;
|
||||
WORKSPACE_STANDALONE_CONFIGURATIONS[LAUNCH_CONFIGURATION_KEY] = `${FOLDER_CONFIG_FOLDER_NAME}/${LAUNCH_CONFIGURATION_KEY}.json`;
|
||||
export const USER_STANDALONE_CONFIGURATIONS = Object.create(null);
|
||||
USER_STANDALONE_CONFIGURATIONS[TASKS_CONFIGURATION_KEY] = `${TASKS_CONFIGURATION_KEY}.json`;
|
||||
|
||||
@@ -96,6 +96,10 @@ suite('ConfigurationEditingService', () => {
|
||||
globalTasksFile = path.join(workspaceDir, 'tasks.json');
|
||||
workspaceSettingsDir = path.join(workspaceDir, '.azuredatastudio'); // {{SQL CARBON EDIT}} .vscode to .azuredatastudio
|
||||
|
||||
// {{SQL CARBON EDIT}} add .vscode folder for tasks tests
|
||||
const tasksSettingsDir = path.join(workspaceDir, '.vscode');
|
||||
await mkdirp(tasksSettingsDir, 493);
|
||||
|
||||
return await mkdirp(workspaceSettingsDir, 493);
|
||||
}
|
||||
|
||||
|
||||
@@ -206,7 +206,7 @@ export class ExtensionHostManager extends Disposable {
|
||||
|
||||
// Check that no named customers are missing
|
||||
// {{SQL CARBON EDIT}} filter out services we don't expose
|
||||
const filtered: ProxyIdentifier<any>[] = [MainContext.MainThreadDebugService, MainContext.MainThreadTask];
|
||||
const filtered: ProxyIdentifier<any>[] = [MainContext.MainThreadDebugService];
|
||||
const expected: ProxyIdentifier<any>[] = Object.keys(MainContext).map((key) => (<any>MainContext)[key]).filter(v => !filtered.some(x => x === v));
|
||||
this._rpcProtocol.assertRegistered(expected);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user