Skip to content

Commit b8e4718

Browse files
committed
Disable js/ts features for the private scheme
This scheme is used internally by VS Code for features such as search/replace preview
1 parent 6fee049 commit b8e4718

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

extensions/typescript-language-features/src/utils/fileSchemes.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
export const file = 'file';
77
export const untitled = 'untitled';
88
export const git = 'git';
9+
export const privateScheme = 'private';
10+
911
/** Live share scheme */
1012
export const vsls = 'vsls';
1113
export const walkThroughSnippet = 'walkThroughSnippet';
@@ -20,5 +22,6 @@ export const semanticSupportedSchemes = [
2022
*/
2123
export const disabledSchemes = new Set([
2224
git,
23-
vsls
25+
vsls,
26+
privateScheme,
2427
]);

0 commit comments

Comments
 (0)