mmanela / SnippetDesigner

The Snippet Designer is a plugin which enhances the Visual Studio IDE to allow a richer and more productive code snippet experience.
Apache License 2.0
344 stars 85 forks source link

Option to converter case #158

Open ianmaciel7 opened 4 years ago

ianmaciel7 commented 4 years ago

Hello, I think it would be great, create an option to be able to change the beginning of the variable value to lowercase and uppercase.

Example

in the case of an Edit method in a web project, I need to create two variables with the same value, with the only difference between them being one uppercase and the other lowercase.

[HttpPost]
public ActionResult EditExample(Example example)
{
    "..."
}        

Now

[HttpPost]
public ActionResult Edit$withUpperCase$($withUpperCase$ $withLowerCase$)
{
   "..."
}

What could it be

[HttpPost]
public ActionResult Edit$withUpperCase$($withUpperCase$ $*withUpperCase*$)
{
   "..."
}