Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/filipw/strathweb.roslyn
Roslyn refactorings and code actions
https://github.com/filipw/strathweb.roslyn
Last synced: about 1 month ago
JSON representation
Roslyn refactorings and code actions
- Host: GitHub
- URL: https://github.com/filipw/strathweb.roslyn
- Owner: filipw
- License: apache-2.0
- Created: 2014-11-25T21:38:56.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-07-11T17:52:27.000Z (over 8 years ago)
- Last Synced: 2024-04-23T00:14:42.541Z (7 months ago)
- Language: C#
- Size: 80.1 KB
- Stars: 15
- Watchers: 3
- Forks: 8
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Strathweb.Roslyn
================Roslyn refactorings and code actions
### Move Class To File
A refactoring (`Ctrl + .`) which allows you to extract a class into its own file.
Class is extracted into the same folder that the current file is located in.
The namespace is the same is of the original file; similarly all of the using statements are copied over.
If the class has any comments on it, they are taken as well.Obviously, it's also removed from the original document.
The refactoring is offered only for classes matching the following requirements:
- class is not private
- class name does not match the current filename![alt tag](http://i.imgur.com/YQnu1rX.png)
Install it [from VSIX Gallery](https://visualstudiogallery.msdn.microsoft.com/4151b07d-ed17-4158-960b-0c14eae7c330).