Support LiveShare
Implements the changes from #154. Co-Authored-By: Jonathan Carter <joncart@microsoft.com>
This commit is contained in:
parent
29756e3f97
commit
9e47281d91
3 changed files with 24 additions and 4 deletions
8
src/common/create-document-selector.ts
Normal file
8
src/common/create-document-selector.ts
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import { DocumentFilter } from "vscode";
|
||||
|
||||
export function createDocumentSelector(language: string): DocumentFilter[] {
|
||||
return [
|
||||
{ language, scheme: "file" },
|
||||
{ language, scheme: "untitled" },
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue