Skip to content

Commit

Permalink
fix: comment out code lens since refactoring is needed to simplify co…
Browse files Browse the repository at this point in the history
…mmand execution
  • Loading branch information
elonmallin committed Nov 20, 2023
1 parent 94be681 commit d06baf7
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import * as vscode from "vscode";
import { TestRunner } from "./phpunittest";
import { IMyExtensionApi } from "./MyExtensionApi";
import path = require("path");
import { PhpCodeLensProvider } from "./CodeLens/PhpCodeLensProvider";
import { PhpunitXmlCodeLensProvider } from "./CodeLens/PhpunitXmlCodeLensProvider";
// import { PhpCodeLensProvider } from "./CodeLens/PhpCodeLensProvider";
// import { PhpunitXmlCodeLensProvider } from "./CodeLens/PhpunitXmlCodeLensProvider";

export function activate(context: vscode.ExtensionContext): IMyExtensionApi {
const testOutputFile = path.resolve(vscode.workspace.workspaceFolders![0].uri.fsPath, 'test-output.txt');
Expand Down Expand Up @@ -91,16 +91,16 @@ export function activate(context: vscode.ExtensionContext): IMyExtensionApi {
})
);

context.subscriptions.push(vscode.languages.registerCodeLensProvider({
language: 'php',
scheme: 'file',
pattern: '**/test*/**/*.php'
}, new PhpCodeLensProvider()));
context.subscriptions.push(vscode.languages.registerCodeLensProvider({
language: 'xml',
scheme: 'file',
pattern: '**/phpunit.xml*'
}, new PhpunitXmlCodeLensProvider()));
// context.subscriptions.push(vscode.languages.registerCodeLensProvider({
// language: 'php',
// scheme: 'file',
// pattern: '**/test*/**/*.php'
// }, new PhpCodeLensProvider()));
// context.subscriptions.push(vscode.languages.registerCodeLensProvider({
// language: 'xml',
// scheme: 'file',
// pattern: '**/phpunit.xml*'
// }, new PhpunitXmlCodeLensProvider()));

return myExtensionApi;
}
Expand Down

0 comments on commit d06baf7

Please sign in to comment.