Skip to content

Commit

Permalink
Merge pull request #21 from Senior-Capstone-2024/singleStatement2.0
Browse files Browse the repository at this point in the history
fixes removed commands and imports for all class files
  • Loading branch information
willeand authored May 6, 2024
2 parents 4cf1660 + 2f6ac5c commit 7c383c0
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ import { findCapitalizedMethodName } from './findCapitalizedMethodName';
import { singleStatementPerLineChecker } from './singleStatementPerLineChecker';
import { findAllErrors } from './findAllErrors';
import { convertMapToJson } from './convertMapToJson';
import { findDuplicateCode } from './findDuplicateCode';
import { findLowercaseEnums } from './findLowercaseEnums';
import { findConstantCap} from './findConstantCap';

const myMap: Map<number, string[]> = new Map();
const filePath = 'C:\\Users\\Will\\Desktop\\cw\\gradeFast-1.0\\output\\data.json';
Expand All @@ -31,9 +34,15 @@ export function activate(context: vscode.ExtensionContext) {
const disposable3 = vscode.commands.registerCommand('extension.singleStatementPerLineChecker', () => {
singleStatementPerLineChecker(myMap);
} );


const disposable4 = vscode.commands.registerCommand('extension.findDuplicateCode', findDuplicateCode);

const disposable5 = vscode.commands.registerCommand('extension.findLowercaseEnums', findLowercaseEnums);

const disposable0 = vscode.commands.registerCommand('extension.findAllErrors', findAllErrors);

const disposable6 = vscode.commands.registerCommand('extension.findConstantCap', findConstantCap);

const commentController = vscode.comments.createCommentController('comment-sample', 'Comment API Sample');
context.subscriptions.push(commentController);

Expand Down

0 comments on commit 7c383c0

Please sign in to comment.