In autocomplete, distinguish properties, class-constants, and functions-vs-methods
commitf9c00398935f4dc33abf58cb3119283ab5899894
authorLucian Wischik <ljw@fb.com>
Fri, 14 Jul 2017 17:04:31 +0000 (14 10:04 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Fri, 14 Jul 2017 17:12:18 +0000 (14 10:12 -0700)
tree709b8a0aae3e9d0965899f57bf012e9e0816c42e
parent9a6ddf631606e5f6fd3dd69866474394d7930dc7
In autocomplete, distinguish properties, class-constants, and functions-vs-methods

Summary:
Autocomplete should distinguish more things: properties, class-constants, functions, methods.

This diff adds that distinction in hh_server, and exposes it via LSP.

Reviewed By: dabek

Differential Revision: D5375440

fbshipit-source-id: 349931019931d1617786c726d014b66d331218ae
hphp/hack/src/client/clientLsp.ml
hphp/hack/src/server/autocompleteService.ml