Creating Snippets

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • kevin.meers@cimcs.co.uk

    #1

    Creating Snippets

    I know you can do this in VB.NET 2005 but I can't see where.....

    How do you create a code snippet so you can reuse it in the right click
    menu of the code designer?

    Thanks in advance.

  • clintonG

    #2
    Re: Creating Snippets

    Find an application called Snippy


    --
    <%= Clinton Gallagher
    NET csgallagher AT metromilwaukee. com
    URL http://www.metromilwaukee.com/clintongallagher/

    <kevin.meers@ci mcs.co.ukwrote in message
    news:1155115406 .412364.162760@ i42g2000cwa.goo glegroups.com.. .
    >I know you can do this in VB.NET 2005 but I can't see where.....
    >
    How do you create a code snippet so you can reuse it in the right click
    menu of the code designer?
    >
    Thanks in advance.
    >

    Comment

    • kevin.meers@cimcs.co.uk

      #3
      Re: Creating Snippets

      Thanks, I'll check it out but I'm sure I saw this demo'd as inbuilt in
      VS2005 at the UK Visual Studio launch in 2005.

      Kevin

      clintonG wrote:
      Find an application called Snippy
      >
      >
      --
      <%= Clinton Gallagher
      NET csgallagher AT metromilwaukee. com
      URL http://www.metromilwaukee.com/clintongallagher/
      >
      <kevin.meers@ci mcs.co.ukwrote in message
      news:1155115406 .412364.162760@ i42g2000cwa.goo glegroups.com.. .
      I know you can do this in VB.NET 2005 but I can't see where.....

      How do you create a code snippet so you can reuse it in the right click
      menu of the code designer?

      Thanks in advance.

      Comment

      • Kevin Spencer

        #4
        Re: Creating Snippets

        Yes, you can certainly create your own. Here are a few references:

        http://msdn2.microsoft.com/en-us/library/ms165392.aspx
        http://msdn.microsoft.com/vstudio/do.../codesnippets/
        http://msdn2.microsoft.com/en-us/library/9ybhaktf.aspx
        http://msdn.microsoft.com/library/de...desnippets.asp

        --
        HTH,

        Kevin Spencer
        Microsoft MVP
        Chicken Salad Surgery

        Accept the Unexpected.

        <kevin.meers@ci mcs.co.ukwrote in message
        news:1155134870 .569084.69070@i 3g2000cwc.googl egroups.com...
        Thanks, I'll check it out but I'm sure I saw this demo'd as inbuilt in
        VS2005 at the UK Visual Studio launch in 2005.
        >
        Kevin
        >
        clintonG wrote:
        >Find an application called Snippy
        >>
        >>
        >--
        ><%= Clinton Gallagher
        > NET csgallagher AT metromilwaukee. com
        > URL http://www.metromilwaukee.com/clintongallagher/
        >>
        ><kevin.meers@c imcs.co.ukwrote in message
        >news:115511540 6.412364.162760 @i42g2000cwa.go oglegroups.com. ..
        >I know you can do this in VB.NET 2005 but I can't see where.....
        >
        How do you create a code snippet so you can reuse it in the right click
        menu of the code designer?
        >
        Thanks in advance.
        >
        >

        Comment

        • kevin.meers@cimcs.co.uk

          #5
          Re: Creating Snippets

          Kevin,

          Thanks, I knew it was possible.....

          Kevin Spencer wrote:
          Yes, you can certainly create your own. Here are a few references:
          >
          http://msdn2.microsoft.com/en-us/library/ms165392.aspx
          http://msdn.microsoft.com/vstudio/do.../codesnippets/
          http://msdn2.microsoft.com/en-us/library/9ybhaktf.aspx
          http://msdn.microsoft.com/library/de...desnippets.asp
          >
          --
          HTH,
          >
          Kevin Spencer
          Microsoft MVP
          Chicken Salad Surgery
          >
          Accept the Unexpected.
          >
          <kevin.meers@ci mcs.co.ukwrote in message
          news:1155134870 .569084.69070@i 3g2000cwc.googl egroups.com...
          Thanks, I'll check it out but I'm sure I saw this demo'd as inbuilt in
          VS2005 at the UK Visual Studio launch in 2005.

          Kevin

          clintonG wrote:
          Find an application called Snippy
          >
          >
          --
          <%= Clinton Gallagher
          NET csgallagher AT metromilwaukee. com
          URL http://www.metromilwaukee.com/clintongallagher/
          >
          <kevin.meers@ci mcs.co.ukwrote in message
          news:1155115406 .412364.162760@ i42g2000cwa.goo glegroups.com.. .
          I know you can do this in VB.NET 2005 but I can't see where.....

          How do you create a code snippet so you can reuse it in the right click
          menu of the code designer?

          Thanks in advance.

          Comment

          Working...