Skip to content
This repository has been archived by the owner on Apr 14, 2022. It is now read-only.

Commit

Permalink
Log workspace root at initialization (#1539)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebailey committed Sep 11, 2019
1 parent 7577bfd commit 16f0c5f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/LanguageServer/Impl/Implementation/Server.cs
Expand Up @@ -111,6 +111,7 @@ public sealed partial class Server : IDisposable {
}

_log?.Log(TraceEventType.Information, Resources.LanguageServerVersion.FormatInvariant(Assembly.GetExecutingAssembly().GetName().Version));
_log?.Log(TraceEventType.Information, Resources.WorkspaceRoot.FormatInvariant(Root));

return Task.FromResult(GetInitializeResult());
}
Expand Down
11 changes: 10 additions & 1 deletion src/LanguageServer/Impl/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions src/LanguageServer/Impl/Resources.resx
Expand Up @@ -147,4 +147,7 @@
<data name="RenameVariable_CannotRename" xml:space="preserve">
<value>Cannot rename</value>
</data>
<data name="WorkspaceRoot" xml:space="preserve">
<value>Workspace root: {0}</value>
</data>
</root>

0 comments on commit 16f0c5f

Please sign in to comment.