How to Extend HTML Intellisense in Visual Studio 2017? RRS feed

  • Question

  • Hi

    We'd like to extend the intellisense completion list for certain HTML attributes. 

    For example, for the "data-foo" attribute we'd like the following values "bar1 | bar2 | bar3".

    How do I do this?

    I've had a look at the schema files here:

    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Packages\Schemas\html

    And tried updating the html_5.xsd and the common HTML5Types.xsd. Although I restarted Visual Studio after doing this, it doesn't seem to work.

    Any help much appreciated.



    Friday, December 14, 2018 10:55 AM

All replies

  • Hi Noel,

    Welcome to the MSDN forum.

    Refer to the description, this issue is about the VS extension. Since our forum is to discuss the VS IDE, I will help you move this thread to the appropriate forum for a better support, thank you for your understanding.

    Best regards,


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Monday, December 17, 2018 7:28 AM