Files
azuredatastudio/src/sql/workbench/contrib/preferences/browser/sqlSettingsLayout.ts
Anthony Dresser 93a88e38fe Messages panel wordwrap (#10970)
* Add CodeQL Analysis workflow (#10195)

* Add CodeQL Analysis workflow

* Fix path

* fix word wrap support in the message panel

* fix width on message treee

* fix import

* fix settings editor to reflect the changes in the settings ids

* fix tests

* add configuration upgrader

* make sure to maintian execution order

* make the compiler happy

* add tests for upgrader

Co-authored-by: Justin Hutchings <jhutchings1@users.noreply.github.com>
2020-06-29 16:25:11 -07:00

44 lines
1.4 KiB
TypeScript

/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the Source EULA. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { localize } from 'vs/nls';
import { tocData as vstocData, ITOCEntry } from 'vs/workbench/contrib/preferences/browser/settingsLayout';
import { assign } from 'vs/base/common/objects';
// Copy existing table of contents and append
export const tocData: ITOCEntry = assign({}, vstocData);
let sqlTocItems: ITOCEntry[] = [{
id: 'data',
label: localize('data', "Data"),
children: [
{
id: 'data/connection',
label: localize('connection', "Connection"),
settings: ['startup.alwaysShowServersView', 'connection.*', 'serverGroup.*', 'datasource.*']
},
{
id: 'data/queryEditor',
label: localize('queryEditor', "Query Editor"),
settings: ['queryEditor.*']
},
{
id: 'data/notebook',
label: localize('notebook', "Notebook"),
settings: ['notebook.*']
},
{
id: 'data/dashboard',
label: localize('dashboard', "Dashboard"),
settings: ['dashboard.*']
},
{
id: 'data/profiler',
label: localize('profiler', "Profiler"),
settings: ['profiler.*']
}
]
}];
tocData.children.push(...sqlTocItems);