diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2015-09-02 12:53:20 +1000 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2015-09-02 13:43:16 +1000 |
commit | eca39a40d3c0158192e7364ebb1d9bd5b8deec55 (patch) | |
tree | c9ac3a022751d08dc42255aaf9e89047388bad55 /test/long-running | |
parent | 06ad297a07716910814651acd60736978aa54d63 (diff) | |
download | scala-eca39a40d3c0158192e7364ebb1d9bd5b8deec55.tar.gz scala-eca39a40d3c0158192e7364ebb1d9bd5b8deec55.tar.bz2 scala-eca39a40d3c0158192e7364ebb1d9bd5b8deec55.zip |
Add a higher level completion API to the pres compiler
Conveniences added:
- The client need not determine ahead of time whether it wants
scope completions of type member completions, this is inferred
from the tree at the cursor
- Computes the delta from the cursor to point where a suggested
completion item should be written. This includes finding the
position of the name within a Select node, which is tricky.
- Includes a matcher that matches results base on prefix,
accessibility and suitability in the syntactic location.
Type members are not offered in term positions, and term members
only offered in type position if they could for a prefix for
a type. E.g. `type T = glob<TAB>` should offer `global` to help
writing `global.Tree`.
Diffstat (limited to 'test/long-running')
0 files changed, 0 insertions, 0 deletions