Visual Studio Code for custom parser

Richard AD 1 Reputation point
2021-09-12T13:41:28.517+00:00

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 ...
?>

and

< ?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 ?

Thanks.

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
    2021-09-13T06:59:16.777+00:00

    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: https://learn.microsoft.com/en-us/answers/products/ (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.

    Sincerely,
    Peng
    *
    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