locked
VS2008, C++/CLI and code snippets RRS feed

  • Question

  • Hello everyone(first post),

    I am trying to create an add-in that allows the code snippet to work under c++/cli. Any ideas where to start? I have looked at the " Visual Studio Language Package"-wizard but i dont want to reinvent everything...


    / Oskar
    Sunday, June 22, 2008 6:46 PM

Answers

  • This cannot be achieved using an Addin. This has to done by a language service.

    However you don't need to re-write the whole language service, there's an package already managed to add code snippet function to VC++ 2005, which is included in Microsoft Visual Studio 2005 IDE Enhancements.

    You can download it and using .NET Reflector to study its implementation.

    Hope this can get you started.

    Thanks!

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    • Proposed as answer by Feng Chen Wednesday, June 25, 2008 9:22 AM
    • Marked as answer by Feng Chen Thursday, June 26, 2008 9:37 AM
    Wednesday, June 25, 2008 9:22 AM

All replies

  • *bump*
    Tuesday, June 24, 2008 4:06 PM
  • This cannot be achieved using an Addin. This has to done by a language service.

    However you don't need to re-write the whole language service, there's an package already managed to add code snippet function to VC++ 2005, which is included in Microsoft Visual Studio 2005 IDE Enhancements.

    You can download it and using .NET Reflector to study its implementation.

    Hope this can get you started.

    Thanks!

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    • Proposed as answer by Feng Chen Wednesday, June 25, 2008 9:22 AM
    • Marked as answer by Feng Chen Thursday, June 26, 2008 9:37 AM
    Wednesday, June 25, 2008 9:22 AM
  • Just curious, does anyone know if there are plans for MS to release this type of enhancement for VS2008? Maybe a VS2008 IDE Enhancement pack?
    • Edited by Ken Sentell Thursday, October 23, 2008 8:04 AM
    Thursday, October 23, 2008 8:03 AM