Skip to content

FUNCTION auto completion #25

@andrewcole50

Description

@andrewcole50

Would there be any interest in adding auto completion for built in MVBasic functions? I'm not fully sure what files would need to be added to the project to make it happen but I'd be happy to supply the correctly formatted JSON list of functions for Jbase at least. Here's related documentation: https://sublime-text-unofficial-documentation.readthedocs.io/en/latest/reference/completions.html

I imagine the list would look something like:

{"trigger": "ICONV", "contents": "ICONV(${1:subject}, ${2:code}))"},
{"trigger": "OCONV", "contents": "OCONV(${1:subject}, ${2:code})"},
....etc...

Functionality added would include:

  • Typing "OCO" would display the OCONV suggestion.
  • Upon selecting OCONV, it would auto complete the line to: OCONV(subject, code) with the cursor highlighting subject.
  • After filling in subject, pressing tab would highlight code.
  • Pressing tab once more would take the cursor to the end of the line

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions