Skip to content

Conversation

TheAngryByrd
Copy link
Member

@TheAngryByrd TheAngryByrd commented Feb 26, 2023

Corresponding PR for https://github.com/fsharp/FsAutoComplete/pull/1065/files

WHAT

🤖 Generated by Copilot at 1ff8aec

This pull request enhances the F# language service configuration and observability in VS Code. It adds new options for release/package.json to control various aspects of the language service, and enables OpenTelemetry tracing for src/Core/LanguageService.fs and FsAutoComplete.

🤖 Generated by Copilot at 1ff8aec

The F# language service got some tweaks
To customize its MSBuild and speaks
You can now trace and notify
With OpenTelemetry
And also remove some whitespaces that sneak

🔧📊🚀

WHY

HOW

🤖 Generated by Copilot at 1ff8aec

  • Add configuration options for MSBuild properties, notifications and tracing, and OpenTelemetry exporter (link, link, link, link)
  • FSharp.buildOptions.msBuildProperties allows customizing the design time load of F# projects in release/package.json (link)
  • FSharp.notifications.trace, FSharp.notifications.traceNamespaces, and FSharp.openTelemetry.enabled enable verbose notifications and tracing using System.Diagnostics.Activity and OpenTelemetry in release/package.json (link)
  • FSharp.openTelemetry.enabled is read by the getOptions function in src/Core/LanguageService.fs and passed to the spawnNetCore function as --otel-exporter-enabled argument (link, link)
  • Remove trailing whitespaces from FSharp.fsac.conserveMemory and FSharp.fsac.parallelReferenceResolution options in release/package.json (link, link)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant