Visual Studio Code plan

Home Forums Monkey 2 Projects Visual Studio Code plan

This topic contains 7 replies, has 5 voices, and was last updated by  Simon Armstrong 5 days, 15 hours ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #10379

    Simon Armstrong
    Participant

    Using the Microsoft Go Language plugin as a starting point (MIT license) I have started a vscode-monkey2 project here.

    https://github.com/nitrologic/vscode-monkey2

    Typescript is a bit new to me and I have had some experience with npm and node so having the project launch an instance of VSCode and let me debug the plugin as it tries to handle mouse hover on monkey2 documents was pretty painless.

    Only tested on Windows using following local settings.json

     

    The only thing that works to date is the plugin identifying version of mx2cc and I only know that works as I stepped through the typescript in debugger.

    #10395

    Voidwalker
    Participant

    AWESOME! Will check it out.

    #10396

    Playniax
    Participant

    If this means monkey2 support for Visual Studio I am all for it. Not really for myself but it may attract more people to Monkey2

    #10417

    cocon
    Participant

    Nice job! I will try it. How to install it though?

    I extracted the folder and placed it here: C:\Users\cocon\.vscode\extensions

    Then I set the m2.path value in the settings.json.

    When I open a file I see no syntax highlight, then when I try to debug a file I can see the Monkey2 build system, but when I select it I get this message: command ‘m2.debug.startSession’ not found

    #10423

    Simon Armstrong
    Participant

    Sorry I should have been more clear, I have begun this project not completed it so no, it is not worth installing at this time.

    It is a big job so I will need help, see README.

    There is an install link at bottom of this doc

    https://code.visualstudio.com/docs/extensions/debugging-extensions

    #10435

    cocon
    Participant

    OK, thanks.

    #10445

    Canuto
    Participant

    I’d really love to see Monkey2-Support for a 3rd party IDE/Editor like VS Code. But there is already a monkey 2 package for Atom, which is discussed here: http://monkeycoder.co.nz/forums/topic/atom-package-for-monkey2/

    Since its a lot of work to get such a plugin off the ground it may be good idea to collaborate on the efforts already done here? Just my two cents… 😉

    #10450

    Simon Armstrong
    Participant

    Canuto, it is a good / better idea for people to collaborate on an Atom plugin but as a big VS-Code fan I am more than happy doing my own thing.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.