Visual Studio Code for custom parser

Richard AD 1 Reputation point

Want to edit *.foobar files in visual studio code (vs-code).

*.foobar files are very similar in concept to PHP and *.php
*.foobar content is HTML with two interperter/parser tags

< ?foobar
... foobar program statements ...


< ?foobar= ...foobar expression... ?>

Q: Can I tweak options of the HTML 'type' in vs-code to not process the insides of < ?foobar ? And just color the insides as black on yellow ?

If no, is there a quick way to make a foobar type like php without php parsing ?


PS The Q&A forum has weak sauce markdown for questions.

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,948 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. PengGe-MSFT 3,341 Reputation points

    Hi @Richard-Admin

    Welcome to Microsoft Q&A!

    Thank you for taking time to post this issue in Microsoft Q&A forum. Visual Studio Code is currently not supported in the Microsoft Q&A forums, the supported products are listed over here: (more to be added later on).

    You can ask questions and search for answers on StackOverflow and enter issues and feature requests directly in our GitHub repository.
    Thanks for your understanding.

    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread

    0 comments No comments