diff --git a/extension/src/client.ts b/extension/src/client.ts index 08927df..4d54073 100644 --- a/extension/src/client.ts +++ b/extension/src/client.ts @@ -50,8 +50,7 @@ export function createLanguageClientOptions( }, diagnosticCollectionName: 'sass', outputChannel: output, - // revealOutputChannelOn: RevealOutputChannelOn.Never, - revealOutputChannelOn: RevealOutputChannelOn.Warn, + revealOutputChannelOn: RevealOutputChannelOn.Never, }; return clientOptions; diff --git a/pkgs/sass_language_server/lib/src/language_server.dart b/pkgs/sass_language_server/lib/src/language_server.dart index 9afdcb6..1cf0210 100644 --- a/pkgs/sass_language_server/lib/src/language_server.dart +++ b/pkgs/sass_language_server/lib/src/language_server.dart @@ -167,9 +167,8 @@ class LanguageServer { clientCapabilities: _clientCapabilities, fs: fileSystemProvider); var serverCapabilities = ServerCapabilities( - documentLinkProvider: DocumentLinkOptions( - resolveProvider: false, workDoneProgress: false), - textDocumentSync: Either2.t1(TextDocumentSyncKind.Full), + documentLinkProvider: DocumentLinkOptions(resolveProvider: false), + textDocumentSync: Either2.t1(TextDocumentSyncKind.Incremental), ); var result = InitializeResult(capabilities: serverCapabilities); diff --git a/pkgs/sass_language_server/lib/src/utils/uri.dart b/pkgs/sass_language_server/lib/src/utils/uri.dart index e54ce74..beacadd 100644 --- a/pkgs/sass_language_server/lib/src/utils/uri.dart +++ b/pkgs/sass_language_server/lib/src/utils/uri.dart @@ -1,5 +1,5 @@ Uri filePathToUri(String path) { var safePath = path.startsWith('/') ? path : '/$path'; - var uri = Uri.parse('file://${safePath.toLowerCase()}'); + var uri = Uri.parse('file://$safePath'); return uri; } diff --git a/pkgs/sass_language_server/test/workspace_test.dart b/pkgs/sass_language_server/test/workspace_test.dart deleted file mode 100644 index 193d8f1..0000000 --- a/pkgs/sass_language_server/test/workspace_test.dart +++ /dev/null @@ -1,9 +0,0 @@ -import 'package:test/test.dart'; - -void main() { - group('Workspace', () { - test('test', () { - expect(true, true); - }); - }); -}