Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C# snippet CamelCase and pascalCase variables #44695

Open
vsfeedback opened this issue May 29, 2020 · 0 comments
Open

C# snippet CamelCase and pascalCase variables #44695

vsfeedback opened this issue May 29, 2020 · 0 comments
Labels
Area-IDE Bug Developer Community The issue was originally reported on https://developercommunity.visualstudio.com Need Design Review The end user experience design needs to be reviewed and approved.
Milestone

Comments

@vsfeedback
Copy link

This issue has been moved from a ticket on Developer Community.


Hi,

Please add a feature to the snippets to enable auto camel/pascal conversion, so that when typing a property name, the backing field name will use the same snippet-parameter name, but will be automatically camel-cased.

Currently all my property snippets break the C# coding guidelines and look like this:

<![ CDATA[$type$? _$property$;
public $type$ $property$
{
  get => _$property$ ?? = new $type$();
  private$end$ set => _$property$ = value;
}
$end$]]>

So that I don't have to retype the variable name.

Auto-camecase would be a great add.


Original Comments

Visual Studio Feedback System on 5/25/2020, 02:41 AM:

Thank you for taking the time to provide your suggestion. We will do some preliminary checks to make sure we can proceed further. We'll provide an update once the issue has been triaged by the product team.

@gafter gafter added the Area-IDE label Jun 3, 2020
@jinujoseph jinujoseph added Bug Developer Community The issue was originally reported on https://developercommunity.visualstudio.com help wanted The issue is "up for grabs" - add a comment if you are interested in working on it labels Jun 10, 2020
@jinujoseph jinujoseph added this to the Backlog milestone Jun 10, 2020
@jinujoseph jinujoseph added Need Design Review The end user experience design needs to be reviewed and approved. and removed help wanted The issue is "up for grabs" - add a comment if you are interested in working on it labels Jun 10, 2020
@jinujoseph jinujoseph added this to In Queue in IDE: Design review via automation Jun 10, 2020
@jmarolf jmarolf moved this from In Queue to On deck in IDE: Design review Apr 19, 2022
@sharwell sharwell moved this from On deck to Need Proposal in IDE: Design review May 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE Bug Developer Community The issue was originally reported on https://developercommunity.visualstudio.com Need Design Review The end user experience design needs to be reviewed and approved.
Projects
Status: Need Proposal
IDE: Design review
  
Need Proposal
Development

No branches or pull requests

3 participants