locked
Create textmate extension problem VS 2019 RRS feed

  • Question

  • Good morning all,
    I tried to create an extension so that VS 2019 can support a programming language called CpcdosC +. There is already a functional extension but for Visual Studio Code.
    My problem is that despite having applied everything to the letter of the tutorial from Microsoft
    https://youtu.be/5LaVcOP2X4g

    By replacing the Language file in the Grammars folder with my json file
    https://github.com/SPinti-Software/vscode-cpcdos/blob/master/syntaxes/cpc.tmLanguage.json
    When I test the project and add a cpcdosc + (.cpc) file in Visual Studio (the Visual Studio working test), the code does not color.
    Sorry for the English I am French.
    Thank you for the attention you will bring me !
    Friday, May 1, 2020 11:06 AM

All replies

  • Hi Maxime Leroy,

    The Language.plist is based on xml file instead of json file. So the "cpc.tmLanguage.json" doesn't work in viusal studio. You need to re-modify the Language.plist file following json file.

    Best Regards,

    Dylan


    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

    Sunday, May 3, 2020 9:22 AM