Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix comment casing #371

Merged
merged 1 commit into from
Oct 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions generators/app/templates/ext-command-js/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// Import the module and reference it with the alias vscode in your code below
const vscode = require('vscode');

// this method is called when your extension is activated
// your extension is activated the very first time the command is executed
// This method is called when your extension is activated
// Your extension is activated the very first time the command is executed

/**
* @param {vscode.ExtensionContext} context
Expand All @@ -27,7 +27,7 @@ function activate(context) {
context.subscriptions.push(disposable);
}

// this method is called when your extension is deactivated
// This method is called when your extension is deactivated
function deactivate() {}

module.exports = {
Expand Down
8 changes: 4 additions & 4 deletions generators/app/templates/ext-command-ts/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
// Import the module and reference it with the alias vscode in your code below
import * as vscode from 'vscode';

// this method is called when your extension is activated
// your extension is activated the very first time the command is executed
// This method is called when your extension is activated
// Your extension is activated the very first time the command is executed
export function activate(context: vscode.ExtensionContext) {

// Use the console to output diagnostic information (console.log) and errors (console.error)
// This line of code will only be executed once when your extension is activated
console.log('Congratulations, your extension "<%= name %>" is now active!');
Expand All @@ -22,5 +22,5 @@ export function activate(context: vscode.ExtensionContext) {
context.subscriptions.push(disposable);
}

// this method is called when your extension is deactivated
// This method is called when your extension is deactivated
export function deactivate() {}
6 changes: 3 additions & 3 deletions generators/app/templates/ext-command-web/src/web/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// Import the module and reference it with the alias vscode in your code below
import * as vscode from 'vscode';

// this method is called when your extension is activated
// your extension is activated the very first time the command is executed
// This method is called when your extension is activated
// Your extension is activated the very first time the command is executed
export function activate(context: vscode.ExtensionContext) {

// Use the console to output diagnostic information (console.log) and errors (console.error)
Expand All @@ -23,5 +23,5 @@ export function activate(context: vscode.ExtensionContext) {
context.subscriptions.push(disposable);
}

// this method is called when your extension is deactivated
// This method is called when your extension is deactivated
export function deactivate() {}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// imports mocha for the browser, defining the `mocha` global.
// Imports mocha for the browser, defining the `mocha` global.
require('mocha/mocha');

export function run(): Promise<void> {
Expand All @@ -9,7 +9,7 @@ export function run(): Promise<void> {
reporter: undefined
});

// bundles all files in the current directory matching `*.test`
// Bundles all files in the current directory matching `*.test`
const importAll = (r: __WebpackModuleApi.RequireContext) => r.keys().forEach(r);
importAll(require.context('.', true, /\.test$/));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import * as vscode from 'vscode';

// This method is called when your extension is activated
// your extension is activated the very first time the command is executed
// Your extension is activated the very first time the command is executed
export function activate(context: vscode.ExtensionContext) {
// Nothing (yet)
}
Expand Down