JSON RPC version of autocomplete / didOpenFile messages
Summary:
The whole point of versions is to be able to make changes, while giving existing users time to adjust. Here is an example of introducing some changes to commands that are already in use:
- rename "contents" of DidOpenFileParams to "text" (for consistency with "text" field of TextEdit)
- remove deprecated fields ("variadic", "min_arity", "pos", "expected_ty") from autocomplete response
- rename func_details to callable_details in autocomplete reposnes (because "func" suggests only a function, and those can also be methods)
- rename getCompletions to autocomplete (consistency with naming in other places)
Reviewed By: jopamer
Differential Revision:
D4315591
fbshipit-source-id:
aa67c88ba68103add39120adbaba0b9f7b910ccf