rsaz / csharp-snippet-productivity

The complete snippet toolbox for C#"
MIT License
19 stars 6 forks source link

Error with folder with spaces #20

Closed sarsey-walker closed 5 months ago

sarsey-walker commented 1 year ago

When trying create any project it will not succeed if the there is a space in it.

image

It should add spaced names in quotes.

image

rsaz commented 5 months ago

Hi @sarsey-walker Thanks for reporting this issue.

It was fixed in the latest version of the extension, v2.0.0. The way I opt to fix was, if you type your project name with spaces it will concatenate the name to create the project, for example:

Command: Add Project (From context menu) or Create Project (from Main command)

Case 1: Project name: My New App Project is going to be created as: MyNewApp Case 2: Project name: My-New-App Project is going to be created as: My-New-App Case 3: Project name: My_New_App Project is going to be created as: My_New_App

Let me know if its all good at your end.

Check it out the news on v2 as well. Happy coding! :)