Skip to content

Commit 3817c89

Browse files
gushuroramya-rao-a
authored andcommitted
Adding Emmet preference for changing fuzzySearchMinScore (#45240)
* Adding Emmet preference for changing fuzzySearchMinScore * Changing name and description of the new setting. * Updating version of vscode-emmet-helper
1 parent 1ba9d83 commit 3817c89

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

extensions/emmet/package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,11 @@
199199
"type": "string",
200200
"default": null,
201201
"description": "%emmetPreferencesCssMsProperties%"
202+
},
203+
"css.fuzzySearchMinScore": {
204+
"type": "number",
205+
"default": 0.3,
206+
"description": "%emmetPreferencesCssFuzzySearchMinScore%"
202207
}
203208
}
204209
},
@@ -338,7 +343,7 @@
338343
"@emmetio/html-matcher": "^0.3.3",
339344
"@emmetio/css-parser": "ramya-rao-a/css-parser#vscode",
340345
"@emmetio/math-expression": "^0.1.1",
341-
"vscode-emmet-helper": "^1.2.0",
346+
"vscode-emmet-helper": "^1.2.1",
342347
"vscode-languageserver-types": "^3.5.0",
343348
"image-size": "^0.5.2",
344349
"vscode-nls": "3.2.1"

extensions/emmet/package.nls.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,6 @@
5252
"emmetPreferencesCssWebkitProperties": "Comma separated CSS properties that get the 'webkit' vendor prefix when used in Emmet abbreviation that starts with `-`. Set to empty string to always avoid the 'webkit' prefix.",
5353
"emmetPreferencesCssMozProperties": "Comma separated CSS properties that get the 'moz' vendor prefix when used in Emmet abbreviation that starts with `-`. Set to empty string to always avoid the 'moz' prefix.",
5454
"emmetPreferencesCssOProperties": "Comma separated CSS properties that get the 'o' vendor prefix when used in Emmet abbreviation that starts with `-`. Set to empty string to always avoid the 'o' prefix.",
55-
"emmetPreferencesCssMsProperties": "Comma separated CSS properties that get the 'ms' vendor prefix when used in Emmet abbreviation that starts with `-`. Set to empty string to always avoid the 'ms' prefix."
55+
"emmetPreferencesCssMsProperties": "Comma separated CSS properties that get the 'ms' vendor prefix when used in Emmet abbreviation that starts with `-`. Set to empty string to always avoid the 'ms' prefix.",
56+
"emmetPreferencesCssFuzzySearchMinScore": "The minimum score (from 0 to 1) that fuzzy-matched abbreviation should achieve. Lower values may produce many false-positive matches, higher values may reduce possible matches."
5657
}

extensions/emmet/yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2052,9 +2052,9 @@ vinyl@~2.0.1:
20522052
remove-trailing-separator "^1.0.1"
20532053
replace-ext "^1.0.0"
20542054

2055-
vscode-emmet-helper@^1.2.0:
2056-
version "1.2.0"
2057-
resolved "https://registry.yarnpkg.com/vscode-emmet-helper/-/vscode-emmet-helper-1.2.0.tgz#6b9311be065c9c99d5de2dae18ea0730d9cfb734"
2055+
vscode-emmet-helper@^1.2.1:
2056+
version "1.2.1"
2057+
resolved "https://registry.yarnpkg.com/vscode-emmet-helper/-/vscode-emmet-helper-1.2.1.tgz#dc4a3c83a3f1d48f4e9e1a5cce0e63f24b6eb843"
20582058
dependencies:
20592059
"@emmetio/extract-abbreviation" "0.1.6"
20602060
jsonc-parser "^1.0.0"

0 commit comments

Comments
 (0)