Skip to content

Commit 1f64ab4

Browse files
authored
Merge pull request #25 from rsaz/feature/codefix-refactor
Feature/codefix refactor
2 parents fa027b9 + 3774c8a commit 1f64ab4

File tree

31 files changed

+4419
-4486
lines changed

31 files changed

+4419
-4486
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ node_modules
44
.gitignore
55
vsc-extension-quickstart.md
66
out/test/**
7+
/out/
78
test/**
89
*.vsix
910
.yarnrc

.vscode/settings.json

Lines changed: 41 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,43 @@
11
// Place your settings in this file to overwrite default and user settings.
22
{
3-
"files.exclude": {
4-
"out": false // set this to true to hide the "out" folder with the compiled JS files
5-
},
6-
"search.exclude": {
7-
"out": true // set this to false to include "out" folder in search results
8-
},
9-
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
10-
"typescript.tsc.autoDetect": "off",
11-
"cSpell.ignoreWords": [
12-
"backreference",
13-
"documentxml",
14-
"extention",
15-
"group",
16-
"json",
17-
"multiline",
18-
"snippets",
19-
"strikethrough",
20-
"to",
21-
"zampieri"
22-
],
23-
"cSpell.words": [
24-
"minwebapi",
25-
"mstest",
26-
"nunit",
27-
"submenu",
28-
"xunit"
29-
]
30-
}
3+
"files.exclude": {
4+
"out": false // set this to true to hide the "out" folder with the compiled JS files
5+
},
6+
"search.exclude": {
7+
"out": true // set this to false to include "out" folder in search results
8+
},
9+
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
10+
"typescript.tsc.autoDetect": "off",
11+
"cSpell.ignoreWords": [
12+
"backreference",
13+
"documentxml",
14+
"extention",
15+
"group",
16+
"json",
17+
"multiline",
18+
"snippets",
19+
"strikethrough",
20+
"to",
21+
"zampieri"
22+
],
23+
"cSpell.words": [
24+
"Blazor",
25+
"blazorserver",
26+
"blazorwasm",
27+
"classlib",
28+
"designpattern",
29+
"forminline",
30+
"minwebapi",
31+
"mstest",
32+
"netcoreapp",
33+
"nunit",
34+
"paddding",
35+
"razorclasslib",
36+
"reactredux",
37+
"readlines",
38+
"richardzampieriprog",
39+
"submenu",
40+
"webapi",
41+
"xunit"
42+
]
43+
}

CHANGELOG.md

Lines changed: 62 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -5,91 +5,103 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
55

66
## [Released]
77

8+
## [2.0.0] - [2024-01-14]
9+
10+
## What's new in 2.0.0
11+
12+
> - **_New Feature added_**: Added support for all project types and templates under project creation.
13+
> - **_New Feature added_**: Support for .NET 7.0 and .NET 8.0
14+
> - **_Performance improvements_**: Extension loading time decreased and command execution time decreased.
15+
> - **_Fix_**: Fixed snippet conflicts and non standard snippets.
16+
> - **_Enhancement_**: Validates the project template and framework compatibility based on the .NET SDK installed on the machine.
17+
> - **_Enhancement_**: Added validation to avoid creating projects with empty spaces.
18+
> - **_Enhancement_**: Reinforce the use of the default folder for project creation.
19+
820
## [1.3.0] - [2022-07-03]
921

10-
> - **_New Feature added_**: Minimal Web API, MStest, xUnit, NUnit project template added.
11-
> - **_Fix_**: Creating Solution with the same name in the same directory.
12-
> - **_Fix_**: find-parent-dir dependency updated to remove the error message from vscode.
22+
> - **_New Feature added_**: Minimal Web API, MStest, xUnit, NUnit project template added.
23+
> - **_Fix_**: Creating Solution with the same name in the same directory.
24+
> - **_Fix_**: find-parent-dir dependency updated to remove the error message from vscode.
1325
1426
## [1.2.9] - [2022-05-14]
1527

16-
> - **_New Feature added_**: Scoped namespaces in the .NET 6.0
17-
> - **_Improvement_**: Project creation highlighting the `create project button` after the project name is typed and tab is pressed.
28+
> - **_New Feature added_**: Scoped namespaces in the .NET 6.0
29+
> - **_Improvement_**: Project creation highlighting the `create project button` after the project name is typed and tab is pressed.
1830
1931
## [1.2.8] - [2021-11-13]
2032

21-
> - **_New Feature added_**: Project support for C# .NET Core 6.0
33+
> - **_New Feature added_**: Project support for C# .NET Core 6.0
2234
2335
## [1.2.7] - [2021-09-04]
2436

25-
- **_Fix_**: Classes, Interfaces, and other types created correctly even when the user type incorrect names.
26-
- **_New Features added_**: Added a default folder for project creation. Add this configuration to your settings with your path: `"csharp-snippet-productivity.defaultFolderForProjectCreation": "D:\\"` **{Your path}**
37+
- **_Fix_**: Classes, Interfaces, and other types created correctly even when the user type incorrect names.
38+
- **_New Features added_**: Added a default folder for project creation. Add this configuration to your settings with your path: `"csharp-snippet-productivity.defaultFolderForProjectCreation": "D:\\"` **{Your path}**
2739

2840
## [1.2.6] - 2021-08-28
2941

30-
- **_Fix_**: Creating solutions in folders path with spaces were not possible. Now solutions and projects can be created in folders with spaces. **i.e: `c:\Your Project Folder\Solution.sln`**
42+
- **_Fix_**: Creating solutions in folders path with spaces were not possible. Now solutions and projects can be created in folders with spaces. **i.e: `c:\Your Project Folder\Solution.sln`**
3143

3244
## [1.2.5] - 2021-08-01
3345

34-
- **_Fix_**: Removed the notes feature preview accidentally uploaded
46+
- **_Fix_**: Removed the notes feature preview accidentally uploaded
3547

3648
## [1.2.4] - 2021-08-01
3749

38-
- **_Fix_**: Solution was being created with project name rather than solution data from solution field.
39-
- **_New Features added_**:
40-
- **_Add Project to a Solution_** : Capability to add projects to the same solution with a click of a button. You can select a different project framework as well as the template.
41-
- **_Submenu With Options_** :
42-
- Create Class
43-
- Create Interface
44-
- Create Record
45-
- Create Struct
50+
- **_Fix_**: Solution was being created with project name rather than solution data from solution field.
51+
- **_New Features added_**:
52+
- **_Add Project to a Solution_** : Capability to add projects to the same solution with a click of a button. You can select a different project framework as well as the template.
53+
- **_Submenu With Options_** :
54+
- Create Class
55+
- Create Interface
56+
- Create Record
57+
- Create Struct
4658

4759
## [1.2.3] - 2021-07-18
4860

49-
- **_Fix_**: .NET target frameworks list on project creation are based on OS and SDKs installed.
50-
- **_Enhancement_**: Design patterns snippets added. It will create a commented pattern code to be used as reference
51-
- **_singleton_** : Creational singleton pattern
52-
- **_factoryMethod_** : Creational factory method pattern
53-
- **_adapter_** : Structural adapter pattern
54-
- **_observer_**: Structural observer pattern
55-
- **_Enhancement_**: Regex snippet cheat sheet added.
56-
- **_regex_** : Regex cheat sheet
61+
- **_Fix_**: .NET target frameworks list on project creation are based on OS and SDKs installed.
62+
- **_Enhancement_**: Design patterns snippets added. It will create a commented pattern code to be used as reference
63+
- **_singleton_** : Creational singleton pattern
64+
- **_factoryMethod_** : Creational factory method pattern
65+
- **_adapter_** : Structural adapter pattern
66+
- **_observer_**: Structural observer pattern
67+
- **_Enhancement_**: Regex snippet cheat sheet added.
68+
- **_regex_** : Regex cheat sheet
5769

5870
## [1.2.2] - 2021-03-24
5971

60-
- Enhancement: When creating classes or interfaces system will consider if you have a \<RootNamespace>YourUniqueNamespace\</RootNamespace> tag. If the tag is not found system will use your project name as your root namespace.
72+
- Enhancement: When creating classes or interfaces system will consider if you have a \<RootNamespace>YourUniqueNamespace\</RootNamespace> tag. If the tag is not found system will use your project name as your root namespace.
6173

6274
## [1.2.1] - 2021-02-28
6375

64-
- Fixing command not found issue on 1.2 version
76+
- Fixing command not found issue on 1.2 version
6577

6678
## [1.2.0] - 2021-02-28
6779

68-
- Added command to create Class from the context/menu
69-
- Added command to create Interface from the context/menu
80+
- Added command to create Class from the context/menu
81+
- Added command to create Interface from the context/menu
7082

7183
## [1.1.0] - 2021-02-23
7284

73-
- Command to create projects
74-
- Projects templates supported:
75-
- Blazor Server App
76-
- Blazor WebAssembly App
77-
- Console Application
78-
- Class Library
79-
- .NET Core: Empty, MVC, Razor Page, Angular SPA, React SPA, React/Redux SPA, Web Api, GRPC Services, Razor Class Library
80-
- Added snippets for creating arrays, lists and dictionaries using var
81-
- var myArray = new type[size];
82-
- var myList = new List\<type>();
83-
- var myDictionary = new Dictionary\<type,type>();
85+
- Command to create projects
86+
- Projects templates supported:
87+
- Blazor Server App
88+
- Blazor WebAssembly App
89+
- Console Application
90+
- Class Library
91+
- .NET Core: Empty, MVC, Razor Page, Angular SPA, React SPA, React/Redux SPA, Web Api, GRPC Services, Razor Class Library
92+
- Added snippets for creating arrays, lists and dictionaries using var
93+
- var myArray = new type[size];
94+
- var myList = new List\<type>();
95+
- var myDictionary = new Dictionary\<type,type>();
8496

8597
## [1.0.0] - 2021-02-11
8698

87-
- Initial project release
88-
- Custom comments: colorful comments for better coding organization
89-
- NORMAL comments [***//***]
90-
- TODO: comments [***todo***]
91-
- REVIEW: comments [***review***]
92-
- BUG: comments [***bug***]
93-
- RESEARCH: comments [***research***]
94-
- General C# snippets
95-
- XML Documentation snippets
99+
- Initial project release
100+
- Custom comments: colorful comments for better coding organization
101+
- NORMAL comments [***//***]
102+
- TODO: comments [***todo***]
103+
- REVIEW: comments [***review***]
104+
- BUG: comments [***bug***]
105+
- RESEARCH: comments [***research***]
106+
- General C# snippets
107+
- XML Documentation snippets

0 commit comments

Comments
 (0)