[MS Visual Studio.Net]

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Stefan Richter

    #1

    [MS Visual Studio.Net]

    I wonder, is there a possibility to let Visual Studio create get and set
    functions for all private variables at once?

    Thanks,

    Stefan


  • Sudhakar Sadasivuni[MVP]

    #2
    RE: [MS Visual Studio.Net]

    Yes,

    You can write a macro which can take all private variables and create properties for you.

    You can assign a keyboard shortcut to that macro

    01. Open up VS.NET
    02. Go to Tools >> Options
    03. Select Keyboard under Environment section
    04. Check your macro shortcut and assign the key shortcut



    "Stefan Richter" wrote:
    [color=blue]
    > I wonder, is there a possibility to let Visual Studio create get and set
    > functions for all private variables at once?
    >
    > Thanks,
    >
    > Stefan
    >
    >
    >[/color]

    Comment

    Working...