Provide hover text on HH_FIXME comments
commitd24424bb69a164d42a2ea02d86e62af029c23c2e
authorWilfred Hughes <wilfred@fb.com>
Wed, 11 May 2022 16:34:17 +0000 (11 09:34 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Wed, 11 May 2022 16:34:17 +0000 (11 09:34 -0700)
treef3556911db0ec6f4e194a207ddde5a964d7464d5
parentda2e77da4ca3a52b8ea833783bb4a50117a3eb37
Provide hover text on HH_FIXME comments

Summary:
Explain what HH_FIXME is, what it does, and why it's a bad idea.

This is very similar to the text shown on UNSAFE_CAST (added in D34943320 (https://github.com/facebook/hhvm/commit/3328a8805e4de0ef6377b4de6ac62c290e6aee65)).

Reviewed By: hgoldstein

Differential Revision: D36221221

fbshipit-source-id: e3d6805c2295a672dfd4e5bfea88c8819fe01843
hphp/hack/src/server/identifySymbolService.ml
hphp/hack/src/server/serverFindRefs.ml
hphp/hack/src/server/serverHover.ml
hphp/hack/src/server/serverSymbolDefinition.ml
hphp/hack/src/utils/symbolOccurrence.ml
hphp/hack/src/utils/symbolOccurrence.mli
hphp/hack/test/hover/hh_fixme.php [new file with mode: 0644]
hphp/hack/test/hover/hh_fixme.php.exp [new file with mode: 0644]