Replace Right Single Quotation Mark with Single Quote

This commit is contained in:
Alex Dima 2021-11-03 22:09:26 +01:00
parent 1aa9a712d1
commit 3247c31f6a
No known key found for this signature in database
GPG key ID: 39563C1504FDD0C9
8 changed files with 16 additions and 16 deletions

View file

@ -42,7 +42,7 @@ export function evaluateMathExpression(): Thenable<boolean> {
}
} catch (err) {
vscode.window.showErrorMessage('Could not evaluate expression');
// Ignore error since most likely its because of non-math expression
// Ignore error since most likely it's because of non-math expression
console.warn('Math evaluation error', err);
}
});

View file

@ -58,8 +58,8 @@ function updateImageSizeHTML(editor: TextEditor, position: Position): Promise<Te
return locateFile(path.dirname(editor.document.fileName), src)
.then(getImageSize)
.then((size: any) => {
// since this action is asynchronous, we have to ensure that editor wasnt
// changed and user didnt moved caret outside <img> node
// since this action is asynchronous, we have to ensure that editor wasn't
// changed and user didn't moved caret outside <img> node
const img = getImageHTMLNode(editor, position);
if (img && getImageSrcHTML(img) === src) {
return updateHTMLTag(editor, img, size.width, size.height);
@ -109,8 +109,8 @@ function updateImageSizeCSS(editor: TextEditor, position: Position, fetchNode: (
return locateFile(path.dirname(editor.document.fileName), src)
.then(getImageSize)
.then((size: any): TextEdit[] => {
// since this action is asynchronous, we have to ensure that editor wasnt
// changed and user didnt moved caret outside <img> node
// since this action is asynchronous, we have to ensure that editor wasn't
// changed and user didn't moved caret outside <img> node
const prop = fetchNode(editor, position);
if (prop && getImageSrcCSS(editor, prop, position) === src) {
return updateCSSNode(editor, prop, size.width, size.height);
@ -259,7 +259,7 @@ function getAttribute(node: HtmlNode, attrName: string): Attribute | undefined {
/**
* Returns quote character, used for value of given attribute. May return empty
* string if attribute wasnt quoted
* string if attribute wasn't quoted
*/
function getAttributeQuote(editor: TextEditor, attr: Attribute): string {
@ -290,7 +290,7 @@ function findUrlToken(editor: TextEditor, node: Property, pos: Position): CssTok
}
/**
* Returns a string that is used to delimit properties in current nodes rule
* Returns a string that is used to delimit properties in current node's rule
*/
function getPropertyDelimitor(editor: TextEditor, node: Property): string {
let anchor;

View file

@ -146,14 +146,14 @@
"configuration.tsserver.watchOptions.watchFile.fixedPollingInterval": "Check every file for changes several times a second at a fixed interval.",
"configuration.tsserver.watchOptions.watchFile.priorityPollingInterval": "Check every file for changes several times a second, but use heuristics to check certain types of files less frequently than others.",
"configuration.tsserver.watchOptions.watchFile.dynamicPriorityPolling": "Use a dynamic queue where less-frequently modified files will be checked less often.",
"configuration.tsserver.watchOptions.watchFile.useFsEvents": "Attempt to use the operating system/file systems native events for file changes.",
"configuration.tsserver.watchOptions.watchFile.useFsEventsOnParentDirectory": "Attempt to use the operating system/file systems native events to listen for changes on a files containing directories. This can use fewer file watchers, but might be less accurate.",
"configuration.tsserver.watchOptions.watchFile.useFsEvents": "Attempt to use the operating system/file system's native events for file changes.",
"configuration.tsserver.watchOptions.watchFile.useFsEventsOnParentDirectory": "Attempt to use the operating system/file system's native events to listen for changes on a file's containing directories. This can use fewer file watchers, but might be less accurate.",
"configuration.tsserver.watchOptions.watchDirectory": "Strategy for how entire directory trees are watched under systems that lack recursive file-watching functionality.",
"configuration.tsserver.watchOptions.watchDirectory.fixedChunkSizePolling": "Polls directories in chunks at regular interval. Requires using TypeScript 4.3+ in the workspace.",
"configuration.tsserver.watchOptions.watchDirectory.fixedPollingInterval": "Check every directory for changes several times a second at a fixed interval.",
"configuration.tsserver.watchOptions.watchDirectory.dynamicPriorityPolling": "Use a dynamic queue where less-frequently modified directories will be checked less often.",
"configuration.tsserver.watchOptions.watchDirectory.useFsEvents": "Attempt to use the operating system/file systems native events for directory changes.",
"configuration.tsserver.watchOptions.fallbackPolling": "When using file system events, this option specifies the polling strategy that gets used when the system runs out of native file watchers and/or doesnt support native file watchers.",
"configuration.tsserver.watchOptions.watchDirectory.useFsEvents": "Attempt to use the operating system/file system's native events for directory changes.",
"configuration.tsserver.watchOptions.fallbackPolling": "When using file system events, this option specifies the polling strategy that gets used when the system runs out of native file watchers and/or doesn't support native file watchers.",
"configuration.tsserver.watchOptions.fallbackPolling.fixedPollingInterval": "Check every file for changes several times a second at a fixed interval.",
"configuration.tsserver.watchOptions.fallbackPolling.priorityPollingInterval": "Check every file for changes several times a second, but use heuristics to check certain types of files less frequently than others.",
"configuration.tsserver.watchOptions.fallbackPolling.dynamicPriorityPolling ": "Use a dynamic queue where less-frequently modified files will be checked less often.",

View file

@ -335,7 +335,7 @@ suite('SmartSelect', () => {
);
});
test('Smart select: only add line ranges if theyre contained by the next range #73850', async function () {
test('Smart select: only add line ranges if they\'re contained by the next range #73850', async function () {
const reg = SelectionRangeRegistry.register('*', {
provideSelectionRanges() {

View file

@ -17,7 +17,7 @@ Placeholders can have choices as values. The syntax is a comma-separated enumera
Variables
--
With `$name` or `${name:default}` you can insert the value of a variable. When a variable isnt set its *default* or the empty string is inserted. When a variable is unknown (that is, its name isnt defined) the name of the variable is inserted and it is transformed into a placeholder. The following variables can be used:
With `$name` or `${name:default}` you can insert the value of a variable. When a variable isn't set its *default* or the empty string is inserted. When a variable is unknown (that is, its name isn't defined) the name of the variable is inserted and it is transformed into a placeholder. The following variables can be used:
* `TM_SELECTED_TEXT` The currently selected text or the empty string
* `TM_CURRENT_LINE` The contents of the current line

2
src/vs/vscode.d.ts vendored
View file

@ -11254,7 +11254,7 @@ declare module 'vscode' {
* 2. A string will be desugared to become the `language`-part of a {@linkcode DocumentFilter}, so `"fooLang"` is like `{ language: "fooLang" }`.
* 3. A {@linkcode DocumentFilter} will be matched against the document by comparing its parts with the document. The following rules apply:
* 1. When the `DocumentFilter` is empty (`{}`) the result is `0`
* 2. When `scheme`, `language`, or `pattern` are defined but one doesnt match, the result is `0`
* 2. When `scheme`, `language`, or `pattern` are defined but one doesn't match, the result is `0`
* 3. Matching against `*` gives a score of `5`, matching via equality or via a glob-pattern gives a score of `10`
* 4. The result is the maximum value of each match
*

View file

@ -782,7 +782,7 @@ declare module DebugProtocol {
/** Reference to the Variable container if the data breakpoint is requested for a child of the container. */
variablesReference?: number;
/** The name of the Variable's child to obtain data breakpoint information for.
If variablesReference isnt provided, this can be an expression.
If variablesReference isn't provided, this can be an expression.
*/
name: string;
}

View file

@ -16,7 +16,7 @@ For instance, `./scripts/test.sh --debug --glob **/extHost*.test.js` runs all te
yarn test-browser --browser webkit --browser chromium
Unit tests from layers `common` and `browser` are run inside `chromium`, `webkit`, and (soonish) `firefox` (using playwright). This complements our electron-based unit test runner and adds more coverage of supported platforms. Notes:
Unit tests from layers `common` and `browser` are run inside `chromium`, `webkit`, and (soon'ish) `firefox` (using playwright). This complements our electron-based unit test runner and adds more coverage of supported platforms. Notes:
- these tests are part of the continuous build, that means you might have test failures that only happen with webkit on _windows_ or _chromium_ on linux
- you can run these tests locally via yarn `test-browser --browser chromium --browser webkit`