diff --git a/extensions/theme-seti/icons/vs-seti-icon-theme.json b/extensions/theme-seti/icons/vs-seti-icon-theme.json index 6aeb37e95c..217cba9c90 100644 --- a/extensions/theme-seti/icons/vs-seti-icon-theme.json +++ b/extensions/theme-seti/icons/vs-seti-icon-theme.json @@ -936,11 +936,11 @@ }, "_shell_light": { "fontCharacter": "\\E073", - "fontColor": "#455155" + "fontColor": "#bfc2c1" }, "_shell": { "fontCharacter": "\\E073", - "fontColor": "#4d5a5e" + "fontColor": "#d4d7d6" }, "_slim_light": { "fontCharacter": "\\E074", @@ -1374,7 +1374,9 @@ "cmakelists.txt": "_makefile_3", "procfile": "_heroku", "todo": "_todo", - "npm-debug.log": "_npm_ignored" + "npm-debug.log": "_npm_ignored", + "dashboard": "_shell", + "profiler": "_csv" }, "languageIds": { "bat": "_windows", @@ -1409,7 +1411,7 @@ "rust": "_rust", "scss": "_sass", "shellscript": "_shell", - "sql": "_db", + "sql": "_default", "swift": "_swift", "typescript": "_typescript", "typescriptreact": "_react", @@ -1614,7 +1616,7 @@ "rust": "_rust_light", "scss": "_sass_light", "shellscript": "_shell_light", - "sql": "_db_light", + "sql": "_default_light", "swift": "_swift_light", "typescript": "_typescript_light", "typescriptreact": "_react_light", @@ -1660,7 +1662,9 @@ "omakefile": "_makefile_2_light", "cmakelists.txt": "_makefile_3_light", "procfile": "_heroku_light", - "npm-debug.log": "_npm_ignored_light" + "npm-debug.log": "_npm_ignored_light", + "dashboard": "_shell_light", + "profiler": "_csv_light" } }, "version": "https://github.com/jesseweed/seti-ui/commit/188dda34a56b9555c7d363771264c24f4693983d" diff --git a/src/sql/parts/profiler/editor/profilerInput.ts b/src/sql/parts/profiler/editor/profilerInput.ts index a8f5c91338..ad08ad98ab 100644 --- a/src/sql/parts/profiler/editor/profilerInput.ts +++ b/src/sql/parts/profiler/editor/profilerInput.ts @@ -20,6 +20,7 @@ import { Event, Emitter } from 'vs/base/common/event'; import { generateUuid } from 'vs/base/common/uuid'; import { IDialogService, IConfirmation, IConfirmationResult } from 'vs/platform/dialogs/common/dialogs'; import { escape } from 'sql/base/common/strings'; +import URI from 'vs/base/common/uri'; export class ProfilerInput extends EditorInput implements IProfilerSession { @@ -116,7 +117,19 @@ export class ProfilerInput extends EditorInput implements IProfilerSession { } public getName(): string { - return nls.localize('profilerInput.profiler', 'Profiler'); + let name: string = nls.localize('profilerInput.profiler', 'Profiler'); + if (!this._connection) { + return name; + } + name += ': ' + this._connection.serverName.substring(0, 20); + return name; + } + + public getResource(): URI { + return URI.from({ + scheme: ProfilerInput.SCHEMA, + path: 'profiler' + }); } public get data(): TableDataView {