Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ivanpaulovich/cleanarchitecturevscodesnippets
Clean Architecture C# Snippets for Visual Studio Code
https://github.com/ivanpaulovich/cleanarchitecturevscodesnippets
clean-architecture vscode-extension
Last synced: 3 months ago
JSON representation
Clean Architecture C# Snippets for Visual Studio Code
- Host: GitHub
- URL: https://github.com/ivanpaulovich/cleanarchitecturevscodesnippets
- Owner: ivanpaulovich
- License: mit
- Created: 2020-06-10T06:19:48.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T04:44:10.000Z (about 2 years ago)
- Last Synced: 2024-05-02T01:57:53.211Z (10 months ago)
- Topics: clean-architecture, vscode-extension
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=ivanpaulovich.clean-architecture-csharp-snippets
- Size: 1.24 MB
- Stars: 10
- Watchers: 4
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Clean Architecture C# Extension for Visual Studio Code
C# extension to guide you into implementing a software following the Clean Architecture principles. It helps with the project structure, design patterns, dependencies and using frameworks correctly.
## Install
You can install [Clean Architecture C# Snippets](https://marketplace.visualstudio.com/items?itemName=ivanpaulovich.clean-architecture-csharp-snippets) from the Visual Studio Code Marketplace.
## Index of Features
* [Domain](#domain)
* [New Aggregate Root](#new-aggregate-root)
* [New Entity](#new-entity)
* [New Value Object](#new-value-object)
* [New Domain Service](#new-domain-service)
* [New Factory](#new-factory)
* [Application](#application)
* [Add Boundaries](#add-boundaries)
* [New Use Case](#new-use-case)
* [Roadmap](#roadmap)## Domain
Create a folder name `Domain` then right click on it for the following options.
![Domain Context Menu](img/domain-context-menu.png)
### New Aggregate Root
Type the Aggregate Root name and press `enter`. The following files will be created:
* Aggregate Root abstract class.
* Aggregate Root interface.
* Aggregate Root Repository interface.### New Entity
Type the Entity name and press `enter`. The following files will be created:
* Aggregate Root abstract class.
* Aggregate Root interface.### New Value Object
Type the Value Object name and press `enter`. The following file will be created:
* Value Object struct.
### New Service
Type the Domain Service name and press `enter`. The following file will be created:
* Sealed domain service class.
### New Factory
Type the Factory name and press `enter`. The following file will be created:
* Factory interface.
## Application
Create a folder name `Application` then right click on it for the following options.
![Application Context Menu](img/domain-context-menu.png)
### Add Boundaries
The following files will be created:
* Use Case Interface.
* Use Case Standard Output Port interface.
* Use Case Error Output Port interface.
* Use Case Not Found Output Port interface.### New Use Case
The following files will be created:
* Use Case implementation.
* Use Case boundary.## Roadmap
* [x] Add initial context menu options.
* [ ] Link templates to Clean Architecture Manga wiki.
* [ ] Add fine grained code snippets.
* [ ] Add more context menu options.
* [ ] Code analyzers.
* [ ] Add common dependencies.
* [ ] Generate solution structure.
* [ ] Add tools for infrastructure.
* [ ] Add tools for user interface.> Features are released quickly. Check out the [Changelog](https://github.com/ivanpaulovich/CleanArchitectureVSCodeSnippets/blob/master/CHANGELOG.md) and give a :star:!