Maptz MCode CSExtends VS code to provide a number of helpful operations on C# files. FeaturesMCode CS is an open source Visual Studio Code extension. It currently supports a number of different operations:
Each of these features is described individually in the sections below. Add Test (Currently not working)Adds a test method matching the method that the cursor is at. This extension assumes that tests adopt a set of conventions.
Convert to asyncConverts the method at the cursor to an
Convert to protected virtualConverts the method at the cursor to an
Create settingsCreates a class for storing settings for the current class. This method assumes you are using the .net core pattern in the Nuget package
Expand propertyExpands the current property to expose backing fields.
Express as propertyExpands the current statement to set a sensibly named property based on the current context
Express as statementExpands the current statement to create a sensibly named variable based on the current context
Extract classExtracts the current class into a new file whose name matches the name of the class.
Remove unused usingsRemoves any unused using statements from the current document.
SortSorts the members of the current class.
RequirementsThe extension relies on execution of a cross-platform .net executable. When the extension is first run, it makes an attempt to download the executable to the Extension SettingsThe extension currently doesn't expose any settings. Known IssuesPlease log any known issues on the github issues page for this extension.
Release Notes0.0.8Fixed Expand Property implementation. 0.0.7Minor updates and bug fixes 0.0.6Minor updates and bug fixes 0.0.5Minor updates and bug fixes 0.0.4Minor updates and bug fixes 0.0.3Minor publish updates. 0.0.2Minor documentation updates. 0.0.1The initial alpha-quality release of the extension. |