Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navigate > Test and Navigate > Test Subject #531

Merged
merged 4 commits into from
Nov 26, 2016
Merged

Navigate > Test and Navigate > Test Subject #531

merged 4 commits into from
Nov 26, 2016

Conversation

KronicDeth
Copy link
Owner

@KronicDeth KronicDeth commented Nov 26, 2016

Resolves #449

Changelog

Enhancements

  • enclosingMacroCall returns enclosing macro call when parent is ElixirDoBlock, so that end element goes to the macro call.
  • Navigate > Test will go to the Module that has the same canonical name as the current defimpl, defmodule, defprotocol , or quote with a Test suffix added
  • Navigate > Test Subject will go to the defimpl, defmodule, defprotocol, or quote that has the same canonical name as the current Module with the Test suffix removed.

Makes `end` element go to the macro call.
Go To Test from source
Keep looking up the tree for `Call` and checking each to see if it is
Modular.
@KronicDeth KronicDeth added this to the v4.7.0 milestone Nov 26, 2016
@KronicDeth KronicDeth self-assigned this Nov 26, 2016
@KronicDeth KronicDeth merged commit ecec8de into master Nov 26, 2016
@KronicDeth KronicDeth deleted the 449 branch November 26, 2016 21:13
KronicDeth added a commit that referenced this pull request Nov 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Source / Test navigation ?
1 participant