Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-4151

Fix function prototyping in automation scripting editor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 64.1
    • Fix Version/s: 69
    • Component/s: Automation

      Description

      To reproduce, start a new automation scripting and in the (new) default editor (which uses Ctrl-Space to autocomplete):

      • Enter
        Document.Cre(Ctrl-Space)(Choose Create) 
        

        ==> autocompletes as

        Document.Create
        

        (no function prototype)

      • Enter
        Doc(Ctrl-Space)(Choose Document).(Ctrl-Space)(Choose Create)
        

        (mind the "." above!!!)
        ==> autocompletes as:

          Document.Create(
        input, {
        	/*required:true - type: string*/
        	'type': ,
        	/*required:false - type: string*/
        	'name': ,
        	/*required:false - type: properties*/
        	'properties': 
        }
        );
        

        (with function prototype)

      Once the function prototyping has worked once, it always work OK until page reloading (hit F5 for instance), when the issue pops up again.

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 1 hour, 15 minutes
                1d 1h 15m