OmniLens: Real-Time C# Method Analyzer OmniLens is a powerful developer productivity tool that provides a "live heartbeat" for your C# code. By utilizing the Roslyn compiler engine in the background, it analyzes the method you are currently typing in—identifying variables, tracking function calls, and flagging high-risk code patterns before you even attempt to compile. Why use OmniLens? Traditional static analysis tools only run when you save or build. OmniLens works while you type, giving you instant visibility into the "scope" of your function. It helps you catch common C# pitfalls like null-reference risks and async deadlocks instantly. 🚀 Key Features
Async/Await Guard: Warns you about async void methods and blocking .Result or .Wait() calls that lead to IDE freezes. Fire-and-Forget Alerts: Detects when an Async method is called without being awaited.
Background Processing: All heavy lifting is done off the UI thread to keep Visual Studio snappy. 🛠 How to Get Started Install the extension and restart Visual Studio. Open any C# file and place your cursor inside a method. Go to View > Output (or press Ctrl+W, O). Select "Live Debug Extension" from the "Show output from" dropdown. Watch the analysis update in real-time as you write code! 🔒 Privacy & Security Your code is your business. OmniLens processes everything locally on your machine using the internal Roslyn API. No code is ever uploaded to the cloud or shared externally. Version 1.0.0 Release Notes Initial release featuring Method Scope detection. Support for local variable and parameter tracking. Async/Await misuse detection. Function call and argument analysis. |