浏览代码

Fixes naming

main
Eric Amodio 1年前
父节点
当前提交
b02f00c593
共有 3 个文件被更改,包括 6 次插入6 次删除
  1. +4
    -4
      src/container.ts
  2. +1
    -1
      src/webviews/settings/registration.ts
  3. +1
    -1
      src/webviews/welcome/registration.ts

+ 4
- 4
src/container.ts 查看文件

@ -58,10 +58,10 @@ import { VslsController } from './vsls/vsls';
import { registerCommitDetailsWebviewView } from './webviews/commitDetails/registration';
import { registerHomeWebviewView } from './webviews/home/registration';
import { RebaseEditorProvider } from './webviews/rebase/rebaseEditor';
import { registerSettingsWebviewCommands, registerSettingsWebviewView } from './webviews/settings/registration';
import { registerSettingsWebviewCommands, registerSettingsWebviewPanel } from './webviews/settings/registration';
import type { WebviewViewProxy } from './webviews/webviewsController';
import { WebviewsController } from './webviews/webviewsController';
import { registerWelcomeWebviewView } from './webviews/welcome/registration';
import { registerWelcomeWebviewPanel } from './webviews/welcome/registration';
export type Environment = 'dev' | 'staging' | 'production';
@ -218,10 +218,10 @@ export class Container {
// context.subscriptions.splice(0, 0, (this._graphView = registerGraphWebviewView(this._webviews)));
context.subscriptions.splice(0, 0, new GraphStatusBarController(this));
const settingsWebviewPanel = registerSettingsWebviewView(this._webviews);
const settingsWebviewPanel = registerSettingsWebviewPanel(this._webviews);
context.subscriptions.splice(0, 0, settingsWebviewPanel);
context.subscriptions.splice(0, 0, registerSettingsWebviewCommands(settingsWebviewPanel));
context.subscriptions.splice(0, 0, registerWelcomeWebviewView(this._webviews));
context.subscriptions.splice(0, 0, registerWelcomeWebviewPanel(this._webviews));
context.subscriptions.splice(0, 0, (this._rebaseEditor = new RebaseEditorProvider(this)));
context.subscriptions.splice(0, 0, new FocusWebview(this));

+ 1
- 1
src/webviews/settings/registration.ts 查看文件

@ -4,7 +4,7 @@ import { registerCommand } from '../../system/command';
import type { WebviewPanelProxy, WebviewsController } from '../webviewsController';
import type { State } from './protocol';
export function registerSettingsWebviewView(controller: WebviewsController) {
export function registerSettingsWebviewPanel(controller: WebviewsController) {
return controller.registerWebviewPanel<State>(Commands.ShowSettingsPage, 'gitlens.settings', {
fileName: 'settings.html',
iconPath: 'images/gitlens-icon.png',

+ 1
- 1
src/webviews/welcome/registration.ts 查看文件

@ -2,7 +2,7 @@ import { Commands, ContextKeys } from '../../constants';
import type { WebviewsController } from '../webviewsController';
import type { State } from './protocol';
export function registerWelcomeWebviewView(controller: WebviewsController) {
export function registerWelcomeWebviewPanel(controller: WebviewsController) {
return controller.registerWebviewPanel<State>(Commands.ShowWelcomePage, 'gitlens.welcome', {
fileName: 'welcome.html',
iconPath: 'images/gitlens-icon.png',

正在加载...
取消
保存