Skip to content

Commit cbb6114

Browse files
committed
Look into how the client tells the server to close
1 parent a7c2eb9 commit cbb6114

File tree

1 file changed

+1
-53
lines changed

1 file changed

+1
-53
lines changed

extension/src/main.ts

Lines changed: 1 addition & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -132,61 +132,9 @@ export async function activate(context: ExtensionContext): Promise<void> {
132132
}
133133
}
134134
});
135-
136-
// TODO: Maybe worth looking into so links to built-ins resolve to something?
137-
// workspace.registerFileSystemProvider(
138-
// 'sass',
139-
// {
140-
// readFile(uri) {
141-
// return Uint8Array.from(
142-
// '@function hello();'.split('').map((c) => c.charCodeAt(0))
143-
// );
144-
// },
145-
// watch(uri, options) {
146-
// return Disposable.create(() => {
147-
// console.log('hello');
148-
// });
149-
// },
150-
// readDirectory(uri) {
151-
// return [];
152-
// },
153-
// stat(uri) {
154-
// return {
155-
// ctime: 0,
156-
// mtime: 0,
157-
// size: 0,
158-
// type: 1,
159-
// };
160-
// },
161-
// writeFile(uri, content, options) {
162-
// return;
163-
// },
164-
// createDirectory(uri) {
165-
// return;
166-
// },
167-
// delete(uri, options) {
168-
// return;
169-
// },
170-
// rename(oldUri, newUri, options) {
171-
// return;
172-
// },
173-
// copy(source, destination, options) {
174-
// return;
175-
// },
176-
// onDidChangeFile(e) {
177-
// return Disposable.create(() => {
178-
// console.log('hello');
179-
// });
180-
// },
181-
// },
182-
// {
183-
// isCaseSensitive: false,
184-
// isReadonly: true,
185-
// }
186-
// );
187135
}
188136

189-
export async function deactivate(): Promise<void> {
137+
export function deactivate(): Promise<void> {
190138
const promises: Thenable<void>[] = [];
191139
if (defaultClient) {
192140
promises.push(defaultClient.stop());

0 commit comments

Comments
 (0)