Fix misspelling of parameters

This commit is contained in:
Logan Ramos 2021-07-14 10:48:12 -04:00
parent 6b2802c41c
commit 63fad00228
No known key found for this signature in database
GPG key ID: D9CCFF14F0B18183
4 changed files with 6 additions and 6 deletions

View file

@ -64,7 +64,7 @@
"body": [
"* @param ${1:Type} ${2:var} ${3:Description}$0"
],
"description": "Paramater documentation"
"description": "Parameter documentation"
},
"function …": {
"prefix": "fun",

View file

@ -79,7 +79,7 @@ export class ParameterHintsWidget extends Disposable implements IContentWidget {
}));
}
private createParamaterHintDOMNodes() {
private createParameterHintDOMNodes() {
const element = $('.editor-widget.parameter-hints-widget');
const wrapper = dom.append(element, $('.phwrapper'));
wrapper.tabIndex = -1;
@ -150,7 +150,7 @@ export class ParameterHintsWidget extends Disposable implements IContentWidget {
}
if (!this.domNodes) {
this.createParamaterHintDOMNodes();
this.createParameterHintDOMNodes();
}
this.keyVisible.set(true);
@ -352,7 +352,7 @@ export class ParameterHintsWidget extends Disposable implements IContentWidget {
getDomNode(): HTMLElement {
if (!this.domNodes) {
this.createParamaterHintDOMNodes();
this.createParameterHintDOMNodes();
}
return this.domNodes!.element;
}

View file

@ -608,7 +608,7 @@ export class EditorGroupView extends Themable implements IEditorGroupView {
const path = resource ? resource.scheme === Schemas.file ? resource.fsPath : resource.path : undefined;
if (resource && path) {
let resourceExt = extname(resource);
// Remove query paramaters from the resource extension
// Remove query parameters from the resource extension
const queryStringLocation = resourceExt.indexOf('?');
resourceExt = queryStringLocation !== -1 ? resourceExt.substr(0, queryStringLocation) : resourceExt;
descriptor['resource'] = { mimeType: guessMimeTypes(resource).join(', '), scheme: resource.scheme, ext: resourceExt, path: hash(path) };

View file

@ -195,7 +195,7 @@ export class TelemetryContribution extends Disposable implements IWorkbenchContr
private getTelemetryData(resource: URI, reason?: number): TelemetryData {
let ext = extname(resource);
// Remove query paramaters from the resource extension
// Remove query parameters from the resource extension
const queryStringLocation = ext.indexOf('?');
ext = queryStringLocation !== -1 ? ext.substr(0, queryStringLocation) : ext;
const fileName = basename(resource);