Skip to content

Commit

Permalink
Make tslint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
testforstephen committed Jan 4, 2024
1 parent fe88335 commit 90a5eb8
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions src/controllers/projectController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,16 @@ export class ProjectController implements Disposable {
public constructor(public readonly context: ExtensionContext) {
this.disposable = Disposable.from(
instrumentOperationAsVsCodeCommand(Commands.JAVA_PROJECT_CREATE, () => this.createJavaProject("command")),
instrumentOperationAsVsCodeCommand(Commands.JAVA_PROJECT_CREATE_FROM_MENUS_FILE, () => this.createJavaProject("menus.file")),
instrumentOperationAsVsCodeCommand(Commands.JAVA_PROJECT_CREATE_FROM_FILEEXPLORER_MENU, () => this.createJavaProject("fileexplorer.menu")),
instrumentOperationAsVsCodeCommand(Commands.JAVA_PROJECT_CREATE_FROM_FILEEXPLORER_WELCOME, () => this.createJavaProject("fileexplorer.welcome")),
instrumentOperationAsVsCodeCommand(Commands.JAVA_PROJECT_CREATE_FROM_JAVAPROJECTEXPLORER_WELCOME, () => this.createJavaProject("javaprojectexplorer.welcome")),
instrumentOperationAsVsCodeCommand(Commands.JAVA_PROJECT_CREATE_FROM_JAVAPROJECTEXPLORER, () => this.createJavaProject("javaprojectexplorer")),
instrumentOperationAsVsCodeCommand(Commands.JAVA_PROJECT_CREATE_FROM_MENUS_FILE,
() => this.createJavaProject("menus.file")),
instrumentOperationAsVsCodeCommand(Commands.JAVA_PROJECT_CREATE_FROM_FILEEXPLORER_MENU,
() => this.createJavaProject("fileexplorer.menu")),
instrumentOperationAsVsCodeCommand(Commands.JAVA_PROJECT_CREATE_FROM_FILEEXPLORER_WELCOME,
() => this.createJavaProject("fileexplorer.welcome")),
instrumentOperationAsVsCodeCommand(Commands.JAVA_PROJECT_CREATE_FROM_JAVAPROJECTEXPLORER_WELCOME,
() => this.createJavaProject("javaprojectexplorer.welcome")),
instrumentOperationAsVsCodeCommand(Commands.JAVA_PROJECT_CREATE_FROM_JAVAPROJECTEXPLORER,
() => this.createJavaProject("javaprojectexplorer")),
instrumentOperationAsVsCodeCommand(Commands.JAVA_PROJECT_OPEN, () => this.openJavaProject()),
instrumentOperationAsVsCodeCommand(Commands.INSTALL_EXTENSION, (extensionId: string) => {
commands.executeCommand("workbench.extensions.installExtension", extensionId);
Expand Down

0 comments on commit 90a5eb8

Please sign in to comment.