Fix misspelling of parameters
parent
6b2802c41c
commit
63fad00228
|
@ -64,7 +64,7 @@
|
|||
"body": [
|
||||
"* @param ${1:Type} ${2:var} ${3:Description}$0"
|
||||
],
|
||||
"description": "Paramater documentation"
|
||||
"description": "Parameter documentation"
|
||||
},
|
||||
"function …": {
|
||||
"prefix": "fun",
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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) };
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue