martinring / clide2

A language agnostic collaborative cloud IDE
clide.flatmap.net
GNU Lesser General Public License v3.0
19 stars 2 forks source link

Autocomplete requests and suggestions #14

Closed martinring closed 10 years ago

martinring commented 10 years ago

Autocompletion should be implemented as an Annotation as such:

annotate(length,Set(RequestHelp -> id))

It should then be possible to react by supplying suggestions. For this purpose a new Message type should be introduced:

Help(from: String, id: String, suggestion: String, displayAs: Option[String])

where id refers to the id of the request-annotation

Alternatively Suggestions could be introduced as a new Annotation type:

annotate(length,Set(HelpResponse -> "<id>:<suggestion>[<displayAs>]"))
martinring commented 10 years ago

Fixed as of cbfd456563da66a4ae0a19269514109e97fbf483