C# Code PolisherIt's an extension for VS Code under Roslyn LSP manage. IT WILL NOT WORK FOR OMNISHARP AND OTHER LSP The extension provides functions for:
FeaturesExtension allows to do the chores for usings in C# files via VS code command palette. Keep in mind that removing of unnecessary usings can be executed successfully only when LSP finishes its file analyses. So you should wait until LSP lights up files in a workspace before execute the usings cleaning function. The whitespace cleaning function can be execute instantly.
RequirementsExtension works for VS Code editor (1.85.0 and higher) that uses Roslyn LSP. This extension will not work for OmniSharp LSP or any other due to differences in structure of diagnostics data that different LSPs collects. If you wish to have ability to clean unnecessary usings for closed files of a workspace, then you have to add line to
Because in other way analyzer will not execute diagnostics for closed files. In this case function for fixing usings in workspace will fix only documents that are opened in editor. Extension SettingsThis extension contributes the following settings:
You can change them in Settings menu for certain project or for user 0.0.4
0.0.3
0.0.2
0.0.1Initial release. Let's go! |