-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement go-to-def for CT testcases
Summary: When in a Common Test suite, try resolving atoms to a function of arity 1 within the same module before attempting to resolve them as modules. This enables: * go-to-definition from the `init_per_suite`, `init_per_testcase`, `all`, `groups` to the testcase * find-references from a testcase to find all usages of the same atom * rename symbol for a testcase to update all occurrences of the testcase While there could be some imprecision in case an atom is used for other purposes within a test suite, I believe this change will significantly improve ergonomics around test suites in most cases. Reviewed By: michalmuskala Differential Revision: D57666181 fbshipit-source-id: 2faf1a6798601c9e23af653f25cc39110d0aa534
- Loading branch information
1 parent
4e17470
commit c270dac
Showing
6 changed files
with
82 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters