SublimeText / PackageDev

Tools to ease the creation of snippets, syntax definitions, etc. for Sublime Text.
MIT License
436 stars 83 forks source link

Work out a concept for dict setting completions #157

Open FichteFoll opened 7 years ago

FichteFoll commented 7 years ago

Currently, we just ignore dicts when offering value completions, because

  1. we don't know how to handle them in most situations, especially when they occur as secondary values inside a list,
  2. our architecture can't handle unhashable type (and we have special handling for lists)

Completions currently originate from either the default value, parsing comments and indirectly from list items of a default list value. Currently it seems only completing the default value it sensible.

Related: #156, 2fba8f54d98145f9c9965b7689dbdeb0ec160b28