Published
over 2 years ago

Alternate Method Editor

Visual Studio Code has quickly become one of the most popular code editors among software developers. Last year, Microsoft released the browser-based editor that powers VS Code as a standalone application called the Monaco Editor. Out-of-the-box, the Monaco Editor supports Microsoft's signature Intellisense as well as the option to compare two different pieces of code.

As Visual Studio Code is the preferred code editor of many members of the Aras Labs team, this project aims to integrate the Monaco Editor into an alternate Method Form to allow for an enhanced developer experience for writing methods inside of Aras Innovator.

Project URL:

https://github.com/ArasLabs/Alternate-Method-Editor

  • Hello,

    The changes in this project were purposefully designed to not interfere with the standard method editor, so the changes are pretty easy to revert by following the steps below.

    1. Login as admin
    2. Navigate to TOC > Administration > ItemTypes
    3. Search for and open the Method ItemType
    4. Navigate to the Views relationship tab
    5. Edit the Display Priority of the standard Method form to be 1
    6. Edit the Display Priority of the Method (Monaco) form to be 2
    7. Save the Method ItemType

    This will cause the default Form with the standard method editor to be used instead of the alternate method editor of this project. 

    This project has not been tested against 11.0 SP12, so it will likely not work without some modifications. If you'd like to try updating this project to add support for SP12, we're always appreciative of help from our community. :) 

    Chris

  • Hi Christopher,I tried addind method editor in 11SP12 and it was failed ,Now i am not able to see the code in methods.

    Can you Please help me.

  • - Can you add a screenshot to this project when you have a chance?