Visual Studio 2008 Snippet Designer

Mathew Manela จาก  The Online Tools Group ของ Microsoft ได้ออกเครื่องมือที่ใช้สร้างและจัดการ snippet code สำหรับ Visual Studio 2008 สามารถ Download ได้ที่  http://www.codeplex.com/SnippetDesigner มี feature หรือ functionality ได้แก่

  1. สามารถสร้าง file .SNIPPET
  2. Export  snippet code  เข้ากับ snippet ใน Visual Studio 2008 ด้วยการ Click ขวาที่  code แล้วเลือก  “Export as Snippet”

    image

  3. แก้ไข snippets โดยใช้  Snippet Editor

    image

  4. มี Snippet Explorer  ไปที่  View – Other Windows – Snippet Explorer

    image

เวาที่เราเขียน code ใน Visual Studio เราก็สามารถเรียกใช้ snippet code ที่เราสร้างไว้ได้โดยการ Click ขวา แล้วเลือก “Insert Code Snippet”  หรือ กด Clt+K-X

บันทึกโพสใน โปรเเกรมมิ่ง(Programming). ป้ายกำกับ: . Leave a Comment »

ใส่ความเห็น