vmware-archive / scripted

The Scripted code editor
Eclipse Public License 1.0
1.56k stars 166 forks source link

Linked editing and content assist #254

Open aeisenberg opened 11 years ago

aeisenberg commented 11 years ago

As described in #251, it would be nice if the following completion provided a drop down of the appropriate choices when the linked editing tab stop is navigated to.

{
        "scope": "text.html - source - meta.tag, punctuation.definition.tag.begin",

        "completions":
        [
                { "trigger" : "\$http", "contents": "$http('${1:GET|POST|PUT|DELETE}');"}
        ]
}

I would imagine that content assist would immediately appear with the four choices, GET, POST, PUT, and DELETE.

bkbonner commented 10 years ago

Yes, this is how I would imagine the content assist working as well. Perfect!