Sr. Content Developer at Microsoft, working remotely in PA, TechBash conference organizer, former Microsoft MVP, Husband, Dad and Geek.
166435 stories
·
33 followers

F# Weekly #49, 2026 – Fable’s rebuilt REPL and #FsAdvent

1 Share

Welcome to F# Weekly,

A roundup of F# content from this past week:

Microsoft News

The Fable REPL got a full rework 🎉- New editor with completion, tooltips, rename and go to definition. – Compile F# to any supported languages- A set of examples is included from different librariesfable.io/repl#fsharp #fablecompiler

— Maxime (@mangelmaxime.bsky.social) 2026-12-03T16:22:20.269Z

Videos

F# Advent Calendar

Blogs

New in tree-sitter-fsharp:- F# 11 record spreads: { …row; Id = id } and type T = { …Base }- while! in computation expressions- Coloured #if conditions- Fixed $"{dir}{file}" interpolationWorks in Helix, Zed and Nacaragithub.com/MangelMaxime…#fsharp

— Maxime (@mangelmaxime.bsky.social) 2026-12-02T21:34:00.428Z

Highlighted projects

New Releases

Serde.FS replaces Fable.Remoting in the template. Define an F# interface once; the server implements it and the client calls a generated, fully-typed proxy.1.0 makes the JSON wire format a documented contract: 1.x reads what any 1.x wrote.github.com/serde-fs/Ser… #fsharp

— Jordan Marr (@jordanmarr.bsky.social) 2026-12-02T16:33:16.750Z

That’s all for now. Have a great week.

Buy Me A Coffee





Read the whole story
alvinashcraft
just a second ago
reply
Pennsylvania, USA
Share this story
Delete

#591 - 6th December 2026

1 Share

Highlights this week include:

Finally, we've published our yearly .NET release benchmark blog posts. We often get customers asking how they can reduce the cost of scaling their systems in Azure, and I always point them at these blog posts. If you write efficient code, you need less compute, and if you pick the right platform, you get free performance gains without any extra effort. Since .NET Core 3.1, processing messages has increased from 4.8 million to 12.2 million messages per second.

  • How .NET 11.0 boosted AIS.NET performance by 2% by Ian Griffiths - .NET 11.0 improved AIS.NET performance by 2%, enabling a modern desktop to process 12.2 million messages per second on a single thread with sub-100 ms latency.
  • How .NET 11.0 boosted JSON Schema performance by 3% by Matthew Adams - Upgrading from .NET 10.0 to 11.0 at Endjin provides only about a 3% performance boost for their Corvus.JsonSchema library when validating large JSON arrays, while v5 of the engine, Corvus.Text.Json, promises up to 10x efficiency improvements.
Read the whole story
alvinashcraft
12 seconds ago
reply
Pennsylvania, USA
Share this story
Delete

Google Surprises With Android 18 Beta 1

1 Share

Google caught the mobile world completely off guard on December 4, 2026 by releasing Android 18 Beta 1 months ahead of its usual calendar. While Android 17 Beta 1 only landed in February 2026, Google skipped legacy Developer Previews entirely and pushed API level 38 straight to 22 eligible Pixel devices.

 

This early drop does more than move dates on a roadmap—it resets how Google builds and ships mobile software. Android 18 Beta moves to a rapid biweekly update schedule, pairing a faster Android Runtime (ART) with smart Photo Picker upgrades and tougher image security right from day 1.

 

Google Surprises With Android 18 Beta 1 for Pixel Devices
Android 18 Beta 1 arrives early on December 4, 2026 with API level 38, biweekly OTAs, and support for 22 Pixel devices.

 

Table of Contents

 

  • Early December Launch: Android 18 Beta 1 (API level 38) rolled out on December 4, 2026, bypassing traditional Developer Previews thanks to the always-on Android Canary channel.
  • New Biweekly Cadence: Google will push beta OTA builds roughly every 2 weeks alongside the final stretch of Android 17 QPR3 Beta.
  • Core Performance & Media Upgrades: Brings a lock-free MessageQueue, time-based ART garbage collection, hardened image decoding, and an upgraded Photo Picker with HEIC-to-JPEG conversion.
  • 22 Eligible Pixels: Covers the Pixel 7, Pixel 8, Pixel 9, Pixel 10, and Pixel 11 lineups, plus Pixel Tablet and original Pixel Fold—leaving the Pixel 6 series behind.
  • 2027 Roadmap: Platform Stability arrives in February 2027, followed by the stable Android 18 release in Q2 2027 and 3 quarterly QPR updates.

 

 

Why Google Launched Android 18 Beta 1 Months Ahead of Schedule

For years, Android developers waited until late winter to touch a major new OS milestone. Google broke that pattern by leaning on its always-on Android Canary channel, which continuously validates platform code throughout the year and lets Android 18 open directly in Beta.

 

According to the official Android 18 Beta 1 release notes, this cycle introduces a faster biweekly beta schedule running alongside the wrap-up of Android 17 QPR3 Beta. Instead of holding features back for rigid monthly builds, Google ships new APIs, refinements, and fixes every 2 weeks once internal validation passes.

 

From an engineering standpoint, shorter release loops catch regressions far earlier than monolithic monthly drops. When a new framework change breaks background services or third-party SDKs, developers can file bug reports and verify patches in 14 days instead of waiting an entire month.

 

Sameer Samat, President of the Android Ecosystem at Google, confirmed that Android now prioritizes steady quarterly improvements over waiting for a single giant annual drop. API level 38 stays the sole major SDK release of the year with planned app-breaking behavior changes and NDK updates, targeting Platform Stability in February 2027 and a stable Q2 2027 release followed by 3 quarterly platform releases (QPRs).

 

 

What Is New in Android 18 Beta 1 for Users and Developers

Rather than chasing flashy visual gimmicks in build 1, Google focused heavily on under-the-hood speed, memory discipline, and everyday photo sharing. Every architectural tweak here aims to stop background apps from stalling when you jump between heavy workloads.

 

Performance and Android Runtime (ART) Gains

  • Lock-Free MessageQueue: Android 18 activates a lock-free MessageQueue across all apps, cutting thread contention and reducing UI frame drops during heavy scrolling.
  • Time-Based ART Garbage Collection: The Android Runtime switches to default time-based garbage collection alongside concurrency and bytecode verification improvements for snappier launches.
  • Extended Memory Management: Beta 1 lays the groundwork for smarter RAM retention, with Samat promising additional memory efficiency upgrades in upcoming biweekly drops so daily apps resume smoothly without reloading.

 

Anyone who switches constantly between UPI payment apps, WhatsApp, and heavy browser tabs knows how frustrating aggressive app reloads feel on mid-range RAM budgets. Moving MessageQueue to a lock-free design directly lowers main-thread friction, so animations stay responsive even while background threads queue work.

 

Photo Picker, Security and Developer APIs

  • Upgraded Photo Picker: Adds an inline camera tile so you can snap a quick picture directly inside the picker, plus automatic on-the-fly format conversion such as turning HEIC photos into widely compatible JPEG files while sharing.
  • Hardened Image Decoding: Ships a drop-in image decoder that preserves pixel parity, NinePatch assets, gainmaps, and HDR metadata while blocking memory-corruption exploits triggered by untrusted images.
  • AppSearch, System I/O and Large Screens: Introduces fresh AppSearch and system I/O APIs, tighter privacy guardrails, and smoother desktop windowing for foldables, tablets, and external monitors.

 

That automatic HEIC-to-JPEG conversion inside the system Photo Picker solves a nagging everyday headache when uploading KYC documents to Indian banking portals or legacy government websites that still reject HEIC uploads. Meanwhile, replacing legacy image parsers with a hardened drop-in decoder closes a classic attack surface that spyware campaigns frequently target through chat attachments.

 

That security-first engineering fits right alongside Google's broader ecosystem tightening, including the upcoming Android 2027 sideloading verification rules. It also shows Google keeping pace with rival platform polish we saw during the Apple iOS 27 release earlier this year.

 

 

All 22 Eligible Pixel Devices for Android 18 Beta 1

Google opened Beta 1 immediately for 22 Pixel smartphones, foldables, and tablets spanning 5 hardware generations. If you own a Pixel 6, Pixel 6 Pro, Pixel 6a, or an older model, your device is officially left off the Android 18 beta roster.

 

Supported Pixel Lineup

  • Pixel 7 Series (3 devices): Pixel 7, Pixel 7 Pro, and Pixel 7a.
  • Pixel 8 Series (3 devices): Pixel 8, Pixel 8 Pro, and Pixel 8a.
  • Pixel 9 Series (5 devices): Pixel 9, Pixel 9 Pro, Pixel 9 Pro XL, Pixel 9 Pro Fold, and Pixel 9a.
  • Pixel 10 Series (5 devices): Pixel 10, Pixel 10 Pro, Pixel 10 Pro XL, Pixel 10 Pro Fold, and Pixel 10a.
  • Pixel 11 Series (4 devices): Pixel 11, Pixel 11 Pro, Pixel 11 Pro XL, and Pixel 11 Pro Fold.
  • Tablet & Original Fold (2 devices): Pixel Tablet and Pixel Fold.

 

Seeing the Pixel 7 series and original Pixel Fold make the cut is welcome news for long-term Pixel owners who keep their phones for 4 or 5 years. Google's extended update commitments finally feel tangible when older Tensor hardware receives day-1 beta access alongside the flagship Pixel 11 lineup.

 

For Indian smartphone buyers using non-Pixel brands, expect a typical wait while OEMs finish current rollouts like Xiaomi HyperOS 4 on Android 17 and OPPO's ColorOS 17. Getting Android 18 Platform Stability locked by February 2027 gives Samsung, OnePlus, Xiaomi, and Motorola a generous head start to build cleaner Android 18 skins by mid-2027.

 

 

How to Install Android 18 Beta 1 and Known Bugs to Watch

Enrolling a supported Pixel takes under 5 minutes, though I always recommend backing up your photos, authenticator codes, and UPI banking apps before touching any early beta build. Early December betas often trip banking root-detection checks or break enterprise work profiles unexpectedly.

 

Quick Enrollment and Developer Testing Steps

  1. Join via Pixel OTA: Visit google.com/android/beta, sign in with your Google account, and opt in your eligible Pixel. Joining does not wipe your phone, and existing Android Beta testers receive the OTA update automatically.
  2. Plan Your Exit Carefully: Leaving the beta mid-cycle triggers a factory data reset. Wait for a stable milestone release and opt out before accepting the next beta OTA if you want to return to stable without wiping your storage.
  3. Test Without a Pixel: Developers can install 64-bit Android 18 system images through the resizable Android Emulator inside Android Studio Rabbit 3 (2026.2.3 RC 2), or flash Generic System Images (GSI) on compatible hardware.

 

Before upgrading your daily driver, watch out for 2 confirmed Beta 1 bugs documented by Google. First, Microsoft Teams freezes during onboarding right after you tap "Get started"—a real headache if your office runs on Teams. Second, compiling apps against the beta 38 SDK fails with build tools 38.0.0 rc1, so developers should temporarily pin build tools to 37.0.2 in Gradle until the next biweekly patch lands.

 

 

Frequently Asked Questions (FAQ)

  1. When did Google release Android 18 Beta 1?
    Google released Android 18 Beta 1 on December 4, 2026—roughly 2 months earlier than Android 17 Beta 1, which arrived in February 2026.
  2. Why did Google skip traditional Developer Previews for Android 18?
    Google now uses its always-on Android Canary channel to test early platform changes year-round. That pipeline lets the Android team open Android 18 directly at the Beta 1 stage instead of shipping separate Developer Previews.
  3. How often will Google ship Android 18 Beta updates?
    Google moved to a biweekly cadence for Android 18 Beta, shipping over-the-air updates roughly every 2 weeks. New features, APIs, and bug fixes roll out as soon as they pass internal validation rather than waiting for monthly drops.
  4. Which Pixel phones and tablets support Android 18 Beta 1?
    A total of 22 Pixel devices qualify: Pixel 7, 7 Pro, 7a; Pixel 8, 8 Pro, 8a; Pixel 9, 9 Pro, 9 Pro XL, 9 Pro Fold, 9a; Pixel 10, 10 Pro, 10 Pro XL, 10 Pro Fold, 10a; Pixel 11, 11 Pro, 11 Pro XL, 11 Pro Fold; plus the Pixel Tablet and original Pixel Fold.
  5. Is the Pixel 6 series eligible for Android 18 Beta 1?
    No. The Pixel 6, Pixel 6 Pro, Pixel 6a, and older Pixel models are excluded from the Android 18 Beta 1 eligibility list.
  6. What is the API level for Android 18?
    Android 18 targets API level 38. It is Google's annual major SDK release and the sole update in the cycle that includes planned app-breaking behavior changes and NDK updates.
  7. What are the biggest user-facing features in Android 18 Beta 1?
    Beta 1 introduces a lock-free MessageQueue and updated Android Runtime (ART) garbage collection for smoother responsiveness, an inline camera tile and automatic HEIC-to-JPEG conversion in the Photo Picker, hardened image decoding, and desktop windowing refinements.
  8. When will Android 18 reach Platform Stability and final stable release?
    Google targets Platform Stability in February 2027, locking in final SDK/NDK APIs and app-facing behaviors. The final stable Android 18 rollout is scheduled for Q2 2027, followed by 3 quarterly platform releases (QPRs).
  9. What are the known bugs in Android 18 Beta 1 right now?
    Google flags 2 notable bugs in Beta 1: app builds targeting the beta 38 SDK fail with build tools 38.0.0 rc1 (switch to 37.0.2 as a workaround), and Microsoft Teams freezes on its welcome screen when you tap 'Get started'.
  10. Can developers test Android 18 Beta 1 without owning a Pixel phone?
    Yes. Developers can run 64-bit Android 18 system images inside the resizable Android Emulator in Android Studio Rabbit 3 (2026.2.3 RC 2) or flash Generic System Images (GSI) on supported Project Treble devices.

 

 

End Note

Google's surprise December rollout of Android 18 Beta 1 proves the Android Canary pipeline is paying off. Shipping biweekly betas alongside lock-free message queues, time-based ART garbage collection, and safer image decoding shows a welcome focus on speed and reliability over surface-level gimmicks.

 

Small quality-of-life touches like inline camera capture and automatic HEIC-to-JPEG conversion in the Photo Picker will matter far more to everyday users than flashy demo animations. For engineering teams, getting API level 38 in December removes the usual spring scramble ahead of Platform Stability.

 

With Platform Stability arriving in February 2027 and stable builds aimed at Q2 2027, developers get plenty of runway to test API level 38—just hold off on installing Beta 1 on your primary work phone if you rely on Microsoft Teams every morning. Are you flashing Android 18 Beta 1 on your Pixel today, or waiting for a later biweekly build? Drop your experience in the comments below!

 

Android 18 Beta 1 Roadmap and Key Features Summary
Android 18 roadmap recap: Beta 1 live December 4, 2026, biweekly OTAs, Platform Stability in February 2027, and stable Q2 2027 launch.

 

Read the whole story
alvinashcraft
19 seconds ago
reply
Pennsylvania, USA
Share this story
Delete

Agentic Making: Your Gadgets Aren’t Finished Products

1 Share

A 3D printer, a 9-year-old, and Claude Code: from using technology → to making it yours.

Illustration created with an AI image generator.

How this post was made: drafted with Claude from the project’s own specs and commit history, then reviewed and edited by me.

My son turned 9 and got a 3D printer for his birthday.

His English is basic.

Everything around the printer speaks English, and the slicer alone has hundreds of settings.

I wanted him to do more than print other people’s models.

I wanted him to change them, and to design his own.

That was the spark.

But this isn’t a story about a printer.

We Live Inside the Features We Were Given

We buy a device and live inside what its vendor shipped: its menus, its language, its workflow.

If it doesn’t fit, we adapt.

Agents change the deal.

An agent can read the docs, probe the device, call its API, and drive it.

Instead of asking: “What does this device do?”
We ask: “What could it do, for me?”

I call it Agentic Making.

Idea → Brainstorm → Spec

It started with a conversation, not with code.

I brainstormed with Claude, and we wrote a spec: goals, non-goals, and anti-goals (failures, even if it works):

  • A physical action without approval.
  • Asking what the printer or the project notes already know.
  • State that lives only in the chat.

The printer has no official API, so Claude probed it over the home network and wrote down what it found.

Version One: Built Around the Slicer

The first version took the usual path: the slicer, the program that turns a model into printer instructions.

It worked, and it taught us the hard way:

  • 38 rounds of Claude clicking through the slicer’s window for our first print, a trident keychain (remixed from Poseidon’s Trident by ep3dsolution). So we moved to the slicer’s command-line engine.
  • A one-color print that printed… nothing. Every layer, no filament.
  • A lost context, three times. So every project now lives in a folder: spec, decisions, log.

On top of it, I built a print pane beside the chat and a companion phone app.

The Pivot: One YouTube Video

Then I watched The 3D CAD Revolution is here on the Syntax channel.

It introduced me to SolidCraft, a parametric CAD app with its own MCP server.

SolidCraft, by Tangency Labs, is listed as a community app in ArtCraft’s family of open-source “Craft” apps. Yes, that ArtCraft: the team behind PhotoCraft and the Craft Anything repo. Software born in the agentic era.

Credit where it’s due: that video changed the project’s direction.

  • Claude designs live in SolidCraft’s window, while you watch and point.
  • The printer’s filaments become materials. Pick one, and you’ve picked the color, the slot, and the weight.

And it let me delete things. The pane shrank, and the phone app wasn’t needed anymore.

✔︎ Throw away what you built when something better shows up.
✗ Keep it because you already built it.

With an agent, building is cheap. So is rebuilding.

What It Looks Like Now

One conversation, in Hebrew:

idea → design → 3D preview → “ready to print?” → print and watch

Claude does the rest.

A person keeps the fun parts: the idea, the look, and the “yes”.

How It’s Built

The plugin’s architecture. Diagram drawn with Claude.

A Claude Code plugin: a printer MCP server, SolidCraft for design, a toolkit that slices in the background, and skills that hold the conversation.

One rule: every physical action waits for one OK.

Beyond the Printer

Same pattern, any device with an interface:

  • An Arduino in a drawer: “What can we build with this?”
  • Robotics kits that can do more than their app shows.
  • Smart home devices with local APIs nobody told you about.

Take Mine as a Starting Point

The plugin is open source: github.com/bnayae/3d-print

It’s built for my needs: a FlashForge AD5X, Hebrew, and one kid.

That’s the point of agentic software:

✔︎ Build for your needs and your use cases.
✗ Try to cover everyone’s.

Different printer? Take it as a starting point.

Clone it, open Claude Code, and say: “Adapt this to my printer.”

Final Thought

I had an idea.

One fun iteration later, it’s a product, ready for my son.

None of it came in the box.

  • From using the features you were given → to shaping the ones you need
  • From printing other people’s models → to printing your own ideas
  • From keeping version one → to rebuilding when something better shows up

Look at the technology under your hands.

Its limits are softer than they look.

Read the whole story
alvinashcraft
43 seconds ago
reply
Pennsylvania, USA
Share this story
Delete

Boost Your .NET Projects with Spargine: MathExtensions for Numeric Spans, Percentage Changes, and Rounding

1 Share
DotNetTips.Spargine’s MathExtensions provides numeric span operations for sums, averages, minimums, maximums, and one-pass MinMax results, while noting empty-input, overflow, and NaN behavior. It also offers arithmetic, percentage changes, prime testing, and rounding helpers. Results depend on input types and overloads, especially for integer division and rounding behavior.
Read the whole story
alvinashcraft
56 seconds ago
reply
Pennsylvania, USA
Share this story
Delete

Fix All, Rule Enforcement & Leaner .NET LSP in SharpLsp 0.38

1 Share
https://sharplsp.dev/%3Cp%3EBetween%20%3Cstrong%3ESharpLsp%200.35.0%3C/strong%3E%20and%20%3Cstrong%3E0.38.2%3C/strong%3E,%20we%20shipped%20two%20big%20workflow%20features%E2%80%94%3Cstrong%3EFix%20All%20with%20build%20enforcement%3C/strong%3E%20and%20%3Cstrong%3Evulnerable%20NuGet%20remediation%3C/strong%3E%E2%80%94and%20went%20after%20every%20megabyte%20of%20idle%20RAM%20and%20every%20millisecond%20of%20typing%20latency%20we%20could%20measure%20across%20both%20the%20F#%20(F#%20Compiler%20Service)%20and%20C#%20(Roslyn)%20sidecars.%3C/p%3E%3Cp%3EEvery%20number%20in%20this%20post%20was%20measured%20directly%20on%20SharpLsp's%20own%20test%20fixtures%20and%20release%20bundles,%20and%20every%20bug%20fix%20started%20with%20a%20failing%20end-to-end%20test%20against%20real%20%3Ccode%3E.sln%3C/code%3E,%20%3Ccode%3E.slnx%3C/code%3E,%20%3Ccode%3E.csproj%3C/code%3E,%20and%20%3Ccode%3E.fsproj%3C/code%3E%20files.%3C/p%3E%3Ch2%20id=%22what-changed-by-the-numbers%22%20tabindex=%22-1%22%3E%3Ca%20class=%22header-anchor%22%20href=%22#what-changed-by-the-numbers%22%3EWhat%20changed%20by%20the%20numbers%3C/a%3E%3C/h2%3E%3Ctable%3E%3Cthead%3E%3Ctr%3E%3Cth%3EArea%3C/th%3E%3Cth%3EBefore%3C/th%3E%3Cth%3EAfter%3C/th%3E%3Cth%3ERelease%3C/th%3E%3C/tr%3E%3C/thead%3E%3Ctbody%3E%3Ctr%3E%3Ctd%3EF#%20completion%20latency%20(p50)%3C/td%3E%3Ctd%3E172%20ms%3C/td%3E%3Ctd%3E32%20ms%20(122%20ms%20p95)%3C/td%3E%3Ctd%3Ev0.36.0%3C/td%3E%3C/tr%3E%3Ctr%3E%3Ctd%3EUnloaded%20%3Ccode%3E.cs%3C/code%3E%20edit%20beside%20a%20file-based%20app%20(1.1%20MB%20file,%20Roslyn%205.9.0)%3C/td%3E%3Ctd%3E53%20ms%20/%20keystroke%3C/td%3E%3Ctd%3E0.002%20ms%20/%20keystroke%3C/td%3E%3Ctd%3Ev0.38.1%3C/td%3E%3C/tr%3E%3Ctr%3E%3Ctd%3EF#%20sidecar%20settled%20memory%20(SharpLsp%20sidecar%20solution)%3C/td%3E%3Ctd%3E1,087%20MB%3C/td%3E%3Ctd%3E798%20MB%20(shared%20idle%20GC%20now%20on%20C#%20too)%3C/td%3E%3Ctd%3Ev0.36.0%E2%80%93v0.37.0%3C/td%3E%3C/tr%3E%3Ctr%3E%3Ctd%3EFile-based%20C#%20app%20metadata%20references%20(209%20apps)%3C/td%3E%3Ctd%3E38,016%20%3Ccode%3EMetadataReader%3C/code%3Es%20(2.8%20GB)%3C/td%3E%3Ctd%3E1%20shared%20reference%20per%20assembly%20path%3C/td%3E%3Ctd%3Ev0.38.0%3C/td%3E%3C/tr%3E%3Ctr%3E%3Ctd%3ESidecars%20started%20in%20single-language%20or%20non-.NET%20workspace%3C/td%3E%3Ctd%3EBoth%20(~70%20MB%20idle%20F#%20sidecar%20with%20no%20F#)%3C/td%3E%3Ctd%3EOnly%20languages%20present%20(0%20if%20no%20.NET)%3C/td%3E%3Ctd%3Ev0.38.0%3C/td%3E%3C/tr%3E%3Ctr%3E%3Ctd%3EDefault%20idle%20host%20logs%3C/td%3E%3Ctd%3E~95%%205%20s%20health-check%20pings%20&%20request%20noise%3C/td%3E%3Ctd%3ELifecycle%20and%20user%20actions%20only%20(%3Ccode%3ERUST_LOG=debug%3C/code%3E%20restores%20all)%3C/td%3E%3Ctd%3Ev0.36.0%E2%80%93v0.38.0%3C/td%3E%3C/tr%3E%3C/tbody%3E%3C/table%3E%3Ch2%20id=%22f-first-fix-all-editorconfig-severities-and-build-enforcement%22%20tabindex=%22-1%22%3E%3Ca%20class=%22header-anchor%22%20href=%22#f-first-fix-all-editorconfig-severities-and-build-enforcement%22%3EF#%20first:%20Fix%20All,%20%3Ccode%3E.editorconfig%3C/code%3E%20severities,%20and%20build%20enforcement%3C/a%3E%3C/h2%3E%3Cp%3EFixing%20one%20unused%20%3Ccode%3Eopen%3C/code%3E%20or%20one%20explicit%20%3Ccode%3Evar%3C/code%3E%20at%20a%20time%20does%20not%20scale%20across%20a%20solution,%20and%20fixing%20it%20without%20turning%20the%20rule%20on%20lets%20the%20next%20commit%20drift%20right%20back.%20SharpLsp%20now%20offers%20%3Cstrong%3Eone%3C/strong%3E%20%3Ccode%3EFix%20all:%20<title>%E2%80%A6%3C/code%3E%20code%20action%20(%3Ccode%3Esharplsp.fixAll%3C/code%3E)%20on%20every%20fix-all-capable%20F#%20and%20C#%20diagnostic,%20instead%20of%20flooding%20the%20lightbulb%20with%20one%20entry%20per%20scope.%3C/p%3E%3Cp%3EPicking%20it%20walks%20through%20a%20single%20flow:%20choose%20%3Cstrong%3EContaining%20member%20/%20type%3C/strong%3E,%20%3Cstrong%3EDocument%3C/strong%3E,%20%3Cstrong%3EProject%3C/strong%3E,%20or%20%3Cstrong%3ESolution%3C/strong%3E%20scope,%20then%20choose%20%3Cstrong%3EFix%20only%3C/strong%3E%20or%20%3Cstrong%3EFix%20and%20enforce%3C/strong%3E.%20SharpLsp%20computes%20the%20edits%20under%20cancellable%20progress,%20sends%20one%20atomic%20%3Ccode%3Eworkspace/applyEdit%3C/code%3E%20with%20%3Ccode%3EneedsConfirmation:%20true%3C/code%3E%20preview%20annotations%20on%20project-%20and%20solution-wide%20changes,%20re-pulls%20diagnostics,%20and%20reports%20%3Ccode%3EFixed%20N%20occurrences%20of%20<rule>%20in%20M%20files;%20K%20remain%3C/code%3E.%3C/p%3E%3Ch3%20id=%22f-batch-fixes-and-editorconfig-support%22%20tabindex=%22-1%22%3E%3Ca%20class=%22header-anchor%22%20href=%22#f-batch-fixes-and-editorconfig-support%22%3EF#%20batch%20fixes%20and%20%3Ccode%3E.editorconfig%3C/code%3E%20support%3C/a%3E%3C/h3%3E%3Cp%3EF#%20leads%20the%20pipeline.%20SharpLsp's%20F#%20analyzers%20(%3Ccode%3ESLSPF0101%3C/code%3E%E2%80%93%3Ccode%3ESLSPF0103%3C/code%3E)%20now%20evaluate%20%3Ccode%3Edotnet_diagnostic.<id>.severity%3C/code%3E%20from%20%3Ccode%3E.editorconfig%3C/code%3E%E2%80%94including%20%3Ccode%3Eroot%20=%20true%3C/code%3E,%20glob%20sections,%20and%20%3Ccode%3Enone%3C/code%3E%E2%80%94using%20Roslyn's%20own%20%3Ccode%3E.editorconfig%3C/code%3E%20evaluator%20so%20editor%20severity%20matches%20%3Ccode%3Edotnet%20build%3C/code%3E.%3C/p%3E%3Ctable%3E%3Cthead%3E%3Ctr%3E%3Cth%3ERule%3C/th%3E%3Cth%3EF#%20batch%20fix%3C/th%3E%3Cth%3EEnforced%20in%20build%3C/th%3E%3C/tr%3E%3C/thead%3E%3Ctbody%3E%3Ctr%3E%3Ctd%3E%3Ccode%3ESLSPF0102%3C/code%3E%3C/td%3E%3Ctd%3ERemove%20unused%20%3Ccode%3Eopen%3C/code%3E%3C/td%3E%3Ctd%3E%3Ccode%3Edotnet_diagnostic.SLSPF0102.severity%20=%20error%3C/code%3E%20in%20%3Ccode%3E[*.{fs,fsi,fsx}]%3C/code%3E%3C/td%3E%3C/tr%3E%3Ctr%3E%3Ctd%3E%3Ccode%3ESLSPF0103%3C/code%3E%3C/td%3E%3Ctd%3ESimplify%20redundant%20qualified%20name%3C/td%3E%3Ctd%3E%3Ccode%3Edotnet_diagnostic.SLSPF0103.severity%20=%20error%3C/code%3E%20in%20%3Ccode%3E[*.{fs,fsi,fsx}]%3C/code%3E%3C/td%3E%3C/tr%3E%3Ctr%3E%3Ctd%3E%3Ccode%3ESLSPF0101%3C/code%3E%3C/td%3E%3Ctd%3ERemove%20unused%20declaration%3C/td%3E%3Ctd%3E%3Ccode%3Edotnet_diagnostic.SLSPF0101.severity%20=%20error%3C/code%3E;%20%3Ccode%3Esharplsp.toml%3C/code%3E%20%3Ccode%3E[diagnostics]%20dead_code%20=%20true%3C/code%3E%3C/td%3E%3C/tr%3E%3Ctr%3E%3Ctd%3E%3Ccode%3EFS1182%3C/code%3E%3C/td%3E%3Ctd%3EPrefix%20unused%20value%20with%20%3Ccode%3E_%3C/code%3E%3C/td%3E%3Ctd%3E%3Ccode%3EDirectory.Build.props%3C/code%3E%20%3Ccode%3EOtherFlags%20+=%20--warnon:1182%3C/code%3E,%20%3Ccode%3EWarningsAsErrors%20+=%20FS1182%3C/code%3E%3C/td%3E%3C/tr%3E%3Ctr%3E%3Ctd%3E%3Ccode%3EFS0760%3C/code%3E%3C/td%3E%3Ctd%3EAdd%20%3Ccode%3Enew%3C/code%3E%20for%20%3Ccode%3EIDisposable%3C/code%3E%3C/td%3E%3Ctd%3E%3Ccode%3EDirectory.Build.props%3C/code%3E%20%3Ccode%3EWarningsAsErrors%20+=%20FS0760%3C/code%3E%3C/td%3E%3C/tr%3E%3C/tbody%3E%3C/table%3E%3Ch3%20id=%22c-fix-all-opposing-rules-and-lossless-config-writes%22%20tabindex=%22-1%22%3E%3Ca%20class=%22header-anchor%22%20href=%22#c-fix-all-opposing-rules-and-lossless-config-writes%22%3EC#%20Fix%20All,%20opposing%20rules,%20and%20lossless%20config%20writes%3C/a%3E%3C/h3%3E%3Cp%3EEvery%20Roslyn%20%3Ccode%3ECodeFixProvider%3C/code%3E%20with%20a%20%3Ccode%3EFixAllProvider%3C/code%3E%20works%20through%20the%20same%20command.%20Promoted%20code-style%20diagnostics%20(%3Ccode%3EIDE0007%3C/code%3E,%20%3Ccode%3EIDE0008%3C/code%3E,%20%3Ccode%3EIDE0160%3C/code%3E,%20%3Ccode%3EIDE0161%3C/code%3E)%20now%20advertise%20the%20%3Ccode%3Equickfix%3C/code%3E%20kind%20so%20both%20single-site%20fixes%20and%20Fix%20All%20show%20up%20directly%20in%20hover%20Quick%20Fix%20and%20the%20lightbulb.%3C/p%3E%3Cp%3EWhen%20you%20enforce%20a%20rule,%20SharpLsp%20automatically%20turns%20off%20its%20opposing%20rule%20so%20your%20build%20never%20contradicts%20itself:%3C/p%3E%3Cul%3E%3Cli%3EEnforcing%20%3Ccode%3EIDE0007%3C/code%3E%20(use%20%3Ccode%3Evar%3C/code%3E)%20sets%20%3Ccode%3EIDE0008%3C/code%3E%20(use%20explicit%20type)%20to%20%3Ccode%3Enone%3C/code%3E,%20and%20vice%20versa.%3C/li%3E%3Cli%3EEnforcing%20%3Ccode%3EIDE0161%3C/code%3E%20(file-scoped%20namespaces)%20sets%20%3Ccode%3EIDE0160%3C/code%3E%20(block-scoped)%20to%20%3Ccode%3Enone%3C/code%3E,%20and%20vice%20versa.%3C/li%3E%3Cli%3EEnforcing%20%3Ccode%3EIDE0003%3C/code%3E%20(remove%20%3Ccode%3Ethis.%3C/code%3E)%20sets%20%3Ccode%3EIDE0009%3C/code%3E%20(require%20%3Ccode%3Ethis.%3C/code%3E)%20to%20%3Ccode%3Enone%3C/code%3E.%3C/li%3E%3C/ul%3E%3Cp%3EConfig%20edits%20never%20rewrite%20your%20files%20with%20string%20concatenation%20or%20regex.%20%3Ccode%3E.editorconfig%3C/code%3E%20updates%20go%20through%20a%20lossless%20CST%20writer%20that%20keeps%20comments,%20key%20ordering,%20BOM,%20CRLF%20line%20endings,%20and%20unrelated%20settings%20intact,%20while%20%3Ccode%3EDirectory.Build.props%3C/code%3E%20merges%20list%20properties%20(%3Ccode%3EWarningsAsErrors%3C/code%3E,%20%3Ccode%3EOtherFlags%3C/code%3E,%20%3Ccode%3EEnforceCodeStyleInBuild%3C/code%3E)%20through%20an%20XML%20DOM.%20If%20an%20existing%20config%20file%20cannot%20be%20read,%20enforcement%20refuses%20to%20touch%20it.%3C/p%3E%3Cp%3EFor%20automatic%20document-scoped%20fixes%20on%20save%20without%20modifying%20rules,%20wire%20up%20%3Ccode%3Esource.fixAll.sharplsp%3C/code%3E%20(deduplicated%20to%20one%20action%20per%20fix%20key):%3C/p%3E%3Cpre%20class=%22language-json%22%3E%3Ccode%20class=%22language-json%22%3E%3Cspan%20class=%22token%20punctuation%22%3E{%3C/span%3E%20%20%3Cspan%20class=%22token%20property%22%3E%22editor.codeActionsOnSave%22%3C/span%3E%3Cspan%20class=%22token%20operator%22%3E:%3C/span%3E%20%3Cspan%20class=%22token%20punctuation%22%3E{%3C/span%3E%20%20%20%20%3Cspan%20class=%22token%20property%22%3E%22source.fixAll.sharplsp%22%3C/span%3E%3Cspan%20class=%22token%20operator%22%3E:%3C/span%3E%20%3Cspan%20class=%22token%20string%22%3E%22explicit%22%3C/span%3E%20%20%3Cspan%20class=%22token%20punctuation%22%3E}%3C/span%3E%3Cspan%20class=%22token%20punctuation%22%3E}%3C/span%3E%3C/code%3E%3C/pre%3E%3Cp%3ERead%20the%20full%20matrix%20in%20%3Ca%20href=%22/docs/fix-all/%22%3EFix%20All%20&%20Rule%20Enforcement%3C/a%3E%20and%20%3Ca%20href=%22/docs/refactoring/%22%3ERefactoring%20and%20Code%20Actions%3C/a%3E.%3C/p%3E%3Ch2%20id=%22vulnerable-nuget-package-diagnostics-and-one-click-upgrades%22%20tabindex=%22-1%22%3E%3Ca%20class=%22header-anchor%22%20href=%22#vulnerable-nuget-package-diagnostics-and-one-click-upgrades%22%3EVulnerable%20NuGet%20package%20diagnostics%20and%20one-click%20upgrades%3C/a%3E%3C/h2%3E%3Cp%3ESecurity%20advisories%20should%20appear%20where%20you%20edit%20dependencies,%20not%20only%20in%20a%20CI%20log%20after%20you%20push.%20SharpLsp%20now%20surfaces%20NuGet%20vulnerability%20diagnostics%20(%3Ccode%3ENU1901%3C/code%3E%E2%80%93%3Ccode%3ENU1904%3C/code%3E)%20directly%20on%20%3Ccode%3E.fsproj%3C/code%3E,%20%3Ccode%3E.csproj%3C/code%3E,%20%3Ccode%3EDirectory.Packages.props%3C/code%3E,%20and%20shared%20%3Ccode%3E.props%3C/code%3E%20files,%20evaluating%20MSBuild%20audit%20policy%20with%20MSBuild%20semantics%20(last%20unconditional%20assignment,%20project%20over%20props).%3C/p%3E%3Cp%3EBy%20default,%20critical%20(%3Ccode%3ENU1904%3C/code%3E)%20and%20high%20(%3Ccode%3ENU1903%3C/code%3E)%20advisories%20are%20red%20errors,%20moderate%20(%3Ccode%3ENU1902%3C/code%3E)%20are%20warnings,%20and%20low%20(%3Ccode%3ENU1901%3C/code%3E)%20are%20informational.%20You%20can%20customize%20the%20mapping%20in%20%3Ccode%3Esharplsp.toml%3C/code%3E:%3C/p%3E%3Cpre%20class=%22language-toml%22%3E%3Ccode%20class=%22language-toml%22%3E%3Cspan%20class=%22token%20punctuation%22%3E[%3C/span%3E%3Cspan%20class=%22token%20table%20class-name%22%3Enuget.vulnerabilities%3C/span%3E%3Cspan%20class=%22token%20punctuation%22%3E]%3C/span%3E%3Cspan%20class=%22token%20key%20property%22%3Ecritical%3C/span%3E%20%3Cspan%20class=%22token%20punctuation%22%3E=%3C/span%3E%20%3Cspan%20class=%22token%20string%22%3E%22error%22%3C/span%3E%3Cspan%20class=%22token%20key%20property%22%3Ehigh%3C/span%3E%20%3Cspan%20class=%22token%20punctuation%22%3E=%3C/span%3E%20%3Cspan%20class=%22token%20string%22%3E%22error%22%3C/span%3E%3Cspan%20class=%22token%20key%20property%22%3Emoderate%3C/span%3E%20%3Cspan%20class=%22token%20punctuation%22%3E=%3C/span%3E%20%3Cspan%20class=%22token%20string%22%3E%22warning%22%3C/span%3E%3Cspan%20class=%22token%20key%20property%22%3Elow%3C/span%3E%20%3Cspan%20class=%22token%20punctuation%22%3E=%3C/span%3E%20%3Cspan%20class=%22token%20string%22%3E%22information%22%3C/span%3E%3Cspan%20class=%22token%20key%20property%22%3Eenforce_in_build%3C/span%3E%20%3Cspan%20class=%22token%20punctuation%22%3E=%3C/span%3E%20%3Cspan%20class=%22token%20boolean%22%3Efalse%3C/span%3E%3C/code%3E%3C/pre%3E%3Cp%3ERunning%20%3Ccode%3Esource.fixAll.sharplsp%3C/code%3E%20or%20%3Ccode%3Esharplsp.nuget.fixAllVulnerable%3C/code%3E%20upgrades%20every%20vulnerable%20package%20in%20the%20project%20or%20solution%20to%20its%20lowest%20known-good%20version%E2%80%94preferring%20a%20parent%20package%20upgrade%20over%20pinning%20a%20transitive%20dependency%20directly%E2%80%94and%20optionally%20writes%20%3Ccode%3ENU1903;NU1904%3C/code%3E%20into%20%3Ccode%3EWarningsAsErrors%3C/code%3E%20in%20%3Ccode%3EDirectory.Build.props%3C/code%3E.%20See%20%3Ca%20href=%22/docs/nuget/%22%3ENuGet%20Package%20Manager%3C/a%3E%20and%20%3Ca%20href=%22/docs/configuration/%22%3EConfiguration%3C/a%3E.%3C/p%3E%3Ch2%20id=%22cutting-net-language-server-ram-language-gated-sidecars-and-idle-compaction%22%20tabindex=%22-1%22%3E%3Ca%20class=%22header-anchor%22%20href=%22#cutting-net-language-server-ram-language-gated-sidecars-and-idle-compaction%22%3ECutting%20.NET%20language%20server%20RAM:%20language-gated%20sidecars%20and%20idle%20compaction%3C/a%3E%3C/h2%3E%3Cp%3ELanguage%20servers%20stay%20running%20all%20day,%20often%20across%20three%20or%20four%20editor%20windows%20at%20once.%20Two%20changes%20in%20v0.37.0%20and%20v0.38.0%20directly%20cut%20steady-state%20memory%20usage.%3C/p%3E%3Ch3%20id=%22no-unused-compiler-processes%22%20tabindex=%22-1%22%3E%3Ca%20class=%22header-anchor%22%20href=%22#no-unused-compiler-processes%22%3ENo%20unused%20compiler%20processes%3C/a%3E%3C/h3%3E%3Cp%3EMeasured%20on%20a%20live%20workstation%20with%20three%20VS%20Code%20windows%20open%20(including%20a%20non-F#%20repo),%20every%20window%20previously%20ran%20both%20the%20C#%20and%20F#%20sidecars%E2%80%94spending%20~70%20MB%20per%20window%20on%20idle%20F#%20processes%20where%20zero%20F#%20code%20existed.%20Four%20paths%20were%20leaking%20startups:%20eager%20workspace%20open,%20non-.NET%20file%20routing%20(%3Ccode%3E.md%3C/code%3E,%20%3Ccode%3E.rs%3C/code%3E,%20%3Ccode%3E.json%3C/code%3E),%20cold%20cross-language%20fallback,%20and%20workspace%20diagnostic%20enumeration.%3C/p%3E%3Cp%3EAll%20four%20are%20now%20gated%20by%20language:%3C/p%3E%3Cul%3E%3Cli%3E%3Cstrong%3ENo%20F#%20code%20means%20no%20F#%20sidecar;%20no%20C#%20code%20means%20no%20C#%20sidecar.%3C/strong%3E%20A%20workspace%20with%20no%20%3Ccode%3E.NET%3C/code%3E%20code%20starts%20neither.%3C/li%3E%3Cli%3E%3Cstrong%3ECross-folder%20solutions%20still%20load%20completely.%3C/strong%3E%20When%20you%20pick%20or%20configure%20a%20%3Ccode%3E.sln%3C/code%3E%20or%20%3Ccode%3E.slnx%3C/code%3E,%20SharpLsp%20reads%20its%20listed%20project%20extensions%20first%20so%20a%20solution%20in%20a%20C#-only%20folder%20that%20references%20%3Ccode%3E../lib/Lib.fsproj%3C/code%3E%20starts%20both%20compilers%20immediately.%3C/li%3E%3Cli%3E%3Cstrong%3ELazy%20start%20stays%20instant.%3C/strong%3E%20Opening%20an%20%3Ccode%3E.fsx%3C/code%3E%20or%20%3Ccode%3E.cs%3C/code%3E%20file%20in%20a%20workspace%20that%20did%20not%20have%20that%20language%20starts%20its%20sidecar%20on%20demand.%20Switching%20solutions%20drops%20the%20previous%20solution's%20diagnostics%20cleanly.%3C/li%3E%3C/ul%3E%3Ch3%20id=%22quiet-time-heap-compaction-for-both-sidecars%22%20tabindex=%22-1%22%3E%3Ca%20class=%22header-anchor%22%20href=%22#quiet-time-heap-compaction-for-both-sidecars%22%3EQuiet-time%20heap%20compaction%20for%20both%20sidecars%3C/a%3E%3C/h3%3E%3Cp%3ELoading%20and%20warming%20a%20solution%20leaves%20Gen%202%20full%20of%20dead%20compiler%20structures,%20and%20an%20idle%20language%20server%20never%20allocates%20enough%20to%20trigger%20a%20full%20compacting%20collection%20on%20its%20own.%20Shared%20%3Ccode%3EQuietCompaction%3C/code%3E%20now%20runs%20in%20both%20the%20F#%20and%20C#%20sidecars:%20every%2030%20seconds%20a%20sidecar%20checks%20its%20total%20allocated%20bytes,%20and%20once%20it%20goes%20quiet%20(under%2016%20MB%20allocated%20over%2030%20seconds%20after%20at%20least%20256%20MB%20since%20the%20last%20compaction),%20it%20runs%20one%20blocking%20compacting%20GC%20across%20all%20generations.%3C/p%3E%3Cp%3EOn%20SharpLsp's%20own%20sidecar%20solution,%20settled%20F#%20sidecar%20memory%20dropped%20from%20%3Cstrong%3E1,087%20MB%20to%20798%20MB%3C/strong%3E,%20and%20v0.37.0%20brought%20the%20same%20shared%20compaction%20to%20the%20C#%20Roslyn%20sidecar.%20See%20%3Ca%20href=%22/docs/architecture/%22%3EArchitecture%3C/a%3E%20for%20how%20host%20supervision,%20Salsa%20memoization,%20and%20automatic%20crash%20recovery%20fit%20together.%3C/p%3E%3Ch2%20id=%22net-10-file-based-c-apps-without-the-ram-spike-or-typing-lag%22%20tabindex=%22-1%22%3E%3Ca%20class=%22header-anchor%22%20href=%22#net-10-file-based-c-apps-without-the-ram-spike-or-typing-lag%22%3E.NET%2010%20file-based%20C#%20apps%20without%20the%20RAM%20spike%20or%20typing%20lag%3C/a%3E%3C/h2%3E%3Cp%3E.NET%2010%20file-based%20apps%20let%20you%20run%20standalone%20%3Ccode%3E.cs%3C/code%3E%20files%20with%20%3Ccode%3E#:package%3C/code%3E%20and%20%3Ccode%3E#:sdk%3C/code%3E%20directives%20and%20no%20%3Ccode%3E.csproj%3C/code%3E%20boilerplate.%20In%20v0.38.0%20and%20v0.38.1,%20we%20fixed%20three%20major%20scaling%20and%20reliability%20issues%20for%20them:%3C/p%3E%3Cul%3E%3Cli%3E%3Cstrong%3EShared%20reference%20assemblies.%3C/strong%3E%20Previously%20each%20settled%20file-based%20app%20built%20its%20own%20private%20copy%20of%20the%20reference%20pack%E2%80%94our%20profiler%20measured%20%3Cstrong%3E38,016%20%3Ccode%3EMetadataReader%3C/code%3Es%20and%202.8%20GB%20of%20memory%20across%20209%20apps%3C/strong%3E.%20%3Ccode%3ESharedMetadataReferences%3C/code%3E%20now%20reuses%20one%20%3Ccode%3EPortableExecutableReference%3C/code%3E%20per%20assembly%20path%20(invalidated%20by%20last-write%20time).%3C/li%3E%3Cli%3E%3Cstrong%3EReliable%20loading%20with%20or%20without%20a%20folder%20open.%3C/strong%3E%20Opening%20a%20folder%20of%20loose%20%3Ccode%3E.cs%3C/code%3E%20files%20or%20opening%20multiple%20single%20files%20with%20no%20folder%20open%20now%20loads%20every%20file-based%20app%20cleanly,%20preserves%20apps%20after%20a%20failed%20pick,%20and%20keeps%20file-based%20apps%20separate%20when%20a%20project-owned%20%3Ccode%3E.cs%3C/code%3E%20file%20is%20opened%20beside%20them.%3C/li%3E%3Cli%3E%3Cstrong%3ELeading-trivia%20directive%20checks%20(53%20ms%20%E2%86%92%200.002%20ms).%3C/strong%3E%20Editing%20an%20unloaded%20%3Ccode%3E.cs%3C/code%3E%20file%20beside%20a%20picked%20file-based%20app%20used%20to%20re-parse%20the%20entire%20file%20on%20every%20keystroke%20just%20to%20look%20for%20a%20shebang%20or%20%3Ccode%3E#:%3C/code%3E%20directive.%20Because%20directives%20only%20count%20before%20the%20first%20token,%20SharpLsp%20now%20checks%20%3Ccode%3ESyntaxFactory.ParseLeadingTrivia%3C/code%3E%20instead%E2%80%94still%20using%20the%20real%20Roslyn%20syntax%20tree,%20dropping%20per-keystroke%20time%20on%20a%201.1%20MB%20source%20from%20%3Cstrong%3E53%20ms%20to%200.002%20ms%3C/strong%3E.%3C/li%3E%3C/ul%3E%3Ch2%20id=%22faster-f-responsiveness-and-sharper-day-to-day-reliability%22%20tabindex=%22-1%22%3E%3Ca%20class=%22header-anchor%22%20href=%22#faster-f-responsiveness-and-sharper-day-to-day-reliability%22%3EFaster%20F#%20responsiveness%20and%20sharper%20day-to-day%20reliability%3C/a%3E%3C/h2%3E%3Cp%3ESeveral%20targeted%20fixes%20between%20v0.35%20and%20v0.38.2%20removed%20subtle%20freezes%20and%20noisy%20edge%20cases:%3C/p%3E%3Cul%3E%3Cli%3E%3Cstrong%3EF#%20completion%20p50%20from%20172%20ms%20to%2032%20ms.%3C/strong%3E%20Filtering%20unopened%20F#%20entities%20by%20the%20typed%20prefix%20before%20handing%20them%20to%20FCS%20brought%20median%20completion%20latency%20down%20to%2032%20ms%20(122%20ms%20at%20p95).%3C/li%3E%3Cli%3E%3Cstrong%3ENo%20more%20F#%20edit%20hangs%20on%20unchecked%20projects%20(v0.38.2).%3C/strong%3E%20Editing%20an%20F#%20file%20in%20a%20project%20FCS%20had%20not%20checked%20yet%20previously%20built%20that%20project's%20incremental%20builder%20synchronously%20on%20the%20request%20pump%20(stalling%20up%20to%20120%20seconds%20on%20Windows%20CI).%20Edits%20now%20invalidate%20only%20builds%20the%20checker%20already%20holds,%20while%20later%20checks%20read%20the%20live%20editor%20buffer.%3C/li%3E%3Cli%3E%3Cstrong%3ECross-language%20F#%20%E2%86%94%20C#%20accuracy.%3C/strong%3E%20Cross-language%20reference%20lookups%20now%20resolve%20C#%20constructor%20calls%20and%20field-type%20uses%20from%20F#,%20and%20cross-language%20dead-code%20checks%20no%20longer%20flag%20symbols%20used%20from%20the%20other%20language.%3C/li%3E%3Cli%3E%3Cstrong%3EQuieter%20logs%20by%20default.%3C/strong%3E%20Five-second%20health-check%20pings%20(~95%%20of%20idle%20logs),%20per-document%20open/change%20lines,%20and%20profiler%20process%20polling%20moved%20to%20%3Ccode%3Edebug%3C/code%3E/%3Ccode%3Ewarn%3C/code%3E%20(%3Ccode%3Einfo,salsa=warn,lsp_profiler::process=warn%3C/code%3E).%20Set%20%3Ccode%3ERUST_LOG=debug%3C/code%3E%20(or%20%3Ccode%3Esharplsp.logging.level%3C/code%3E%20in%20VS%20Code)%20whenever%20you%20want%20the%20full%20trace.%3C/li%3E%3Cli%3E%3Cstrong%3ECleaner%20everyday%20workflows.%3C/strong%3E%20Moving%20a%20source%20folder%20out%20of%20the%20workspace%20retires%20its%20stale%20diagnostics;%20%3Ccode%3Esharplsp.openSolution%3C/code%3E%20opens%20a%20file%20picker%20when%20run%20from%20the%20Command%20Palette;%20the%20%3Ccode%3E$sharplsp-msCompile%3C/code%3E%20build%20matcher%20owns%20%3Ccode%3Esharplsp-build%3C/code%3E%20instead%20of%20leaving%20stale%20%3Ccode%3Ecpp(IDE0007)%3C/code%3E%20squiggles;%20and%20watcher%20reloads%20no%20longer%20retire%20fresh%20code%20actions%20before%20you%20apply%20them.%3C/li%3E%3C/ul%3E%3Ch2%20id=%22faq%22%20tabindex=%22-1%22%3E%3Ca%20class=%22header-anchor%22%20href=%22#faq%22%3EFAQ%3C/a%3E%3C/h2%3E%3Cp%3E%3Cstrong%3EDoes%20SharpLsp%20support%20.NET%2010%20file-based%20C#%20apps%20in%20VS%20Code?%3C/strong%3E%20Yes.%20SharpLsp%200.38.1%20loads%20standalone%20.NET%2010%20file-based%20C#%20apps%20(%3Ccode%3E.cs%3C/code%3E%20files%20with%20or%20without%20%3Ccode%3E#:package%3C/code%3E%20and%20%3Ccode%3E#:sdk%3C/code%3E%20directives)%20both%20when%20a%20project-less%20folder%20is%20open%20and%20when%20no%20folder%20is%20open,%20sharing%20reference%20assemblies%20across%20apps%20and%20parsing%20only%20leading%20trivia%20on%20unloaded%20file%20edits.%3C/p%3E%3Cp%3E%3Cstrong%3EHow%20do%20I%20enforce%20C#%20or%20F#%20code%20style%20rules%20in%20%3Ccode%3Edotnet%20build%3C/code%3E%20from%20VS%20Code?%3C/strong%3E%20Put%20the%20cursor%20on%20a%20fixable%20F#%20or%20C#%20diagnostic,%20open%20Quick%20Fix%20(%3Ccode%3ECtrl+.%3C/code%3E%20or%20%3Ccode%3ECmd+.%3C/code%3E),%20pick%20%3Cstrong%3EFix%20all%3C/strong%3E,%20choose%20Document,%20Project,%20or%20Solution%20scope,%20and%20select%20%3Cstrong%3EFix%20and%20enforce%3C/strong%3E.%20SharpLsp%20updates%20%3Ccode%3E.editorconfig%3C/code%3E%20through%20a%20lossless%20CST%20writer,%20merges%20%3Ccode%3EDirectory.Build.props%3C/code%3E%20via%20an%20XML%20DOM,%20and%20turns%20off%20opposing%20rules%20automatically.%3C/p%3E%3Cp%3E%3Cstrong%3EHow%20does%20SharpLsp%20reduce%20C#%20and%20F#%20language%20server%20memory%20usage?%3C/strong%3E%20SharpLsp%20gates%20sidecar%20startup%20by%20language%20so%20workspaces%20without%20F#%20never%20start%20the%20F#%20sidecar%20and%20workspaces%20without%20C#%20never%20start%20Roslyn,%20compacts%20both%20sidecars'%20heaps%20automatically%20during%20idle%20windows%20(cutting%20settled%20F#%20sidecar%20memory%20from%201,087%20MB%20to%20798%20MB%20on%20SharpLsp's%20own%20solution),%20and%20shares%20metadata%20references%20across%20file-based%20C#%20apps.%3C/p%3E%3Cp%3E%3Cstrong%3ECan%20SharpLsp%20fix%20vulnerable%20NuGet%20packages%20automatically?%3C/strong%3E%20Yes.%20SharpLsp%20reports%20%3Ccode%3ENU1901%3C/code%3E%E2%80%93%3Ccode%3ENU1904%3C/code%3E%20advisories%20directly%20in%20%3Ccode%3E.fsproj%3C/code%3E,%20%3Ccode%3E.csproj%3C/code%3E,%20%3Ccode%3EDirectory.Packages.props%3C/code%3E,%20and%20shared%20%3Ccode%3E.props%3C/code%3E%20files%20using%20MSBuild%20audit%20semantics.%20Running%20%3Ccode%3Esource.fixAll.sharplsp%3C/code%3E%20or%20%3Ccode%3Esharplsp.nuget.fixAllVulnerable%3C/code%3E%20upgrades%20vulnerable%20packages%20to%20their%20lowest%20known-good%20versions%E2%80%94preferring%20parent%20package%20updates%20over%20pins%E2%80%94and%20can%20enforce%20%3Ccode%3ENU1903%3C/code%3E%20and%20%3Ccode%3ENU1904%3C/code%3E%20in%20%3Ccode%3EWarningsAsErrors%3C/code%3E.%3C/p%3E%3Cp%3E%3Cstrong%3EDoes%20SharpLsp%20work%20in%20VSCodium,%20Cursor,%20Windsurf,%20and%20Zed%20as%20an%20open-source%20C#%20Dev%20Kit%20alternative?%3C/strong%3E%20Yes.%20SharpLsp%20is%20MIT%20licensed%20with%20no%20proprietary%20core%20or%20subscription.%20Install%20the%20extension%20from%20the%20VS%20Code%20Marketplace%20or%20Open%20VSX%20for%20VS%20Code,%20Cursor,%20Windsurf,%20and%20VSCodium,%20or%20run%20the%20standalone%20Rust%20host%20and%20sidecars%20in%20Zed%20and%20any%20LSP%203.17%20editor.%3C/p%3E%3Ch2%20id=%22try-sharplsp-0382%22%20tabindex=%22-1%22%3E%3Ca%20class=%22header-anchor%22%20href=%22#try-sharplsp-0382%22%3ETry%20SharpLsp%200.38.2%3C/a%3E%3C/h2%3E%3Cp%3EInstall%20or%20update%20SharpLsp%20from%20the%20%3Ca%20href=%22https://marketplace.visualstudio.com/items?itemName=nimblesite.sharplsp%22%3EVS%20Code%20Marketplace%3C/a%3E,%20from%20%3Ca%20href=%22https://open-vsx.org/extension/nimblesite/sharplsp%22%3EOpen%20VSX%3C/a%3E%20in%20Cursor,%20Windsurf,%20and%20VSCodium,%20or%20download%20standalone%20binaries%20and%20the%20Rider%20plugin%20from%20%3Ca%20href=%22https://github.com/Nimblesite/SharpLsp/releases%22%3EGitHub%20Releases%3C/a%3E.%20Read%20the%20%3Ca%20href=%22/docs/fix-all/%22%3EFix%20All%20&%20Rule%20Enforcement%20guide%3C/a%3E%20to%20get%20started,%20and%20if%20anything%20misbehaves%20on%20your%20solution,%20%3Ca%20href=%22https://github.com/Nimblesite/SharpLsp/issues%22%3Eopen%20an%20issue%3C/a%3E.%3C/p%3E
Read the whole story
alvinashcraft
1 minute ago
reply
Pennsylvania, USA
Share this story
Delete
Next Page of Stories