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

Consistent coloring of defs #736

Merged
merged 1 commit into from Jul 18, 2017
Merged

Consistent coloring of defs #736

merged 1 commit into from Jul 18, 2017

Conversation

KronicDeth
Copy link
Owner

@KronicDeth KronicDeth commented Jul 18, 2017

Fixes #536

Changelog

Bug Fixes

  • Merge Callable and Kernel annotators
  • Use PsiElementVisitor instead of PsiRecursiveElementVisitor, so that macros in defmodule block don't get double annotated.
  • Instead of erasing and then applying multiple TextAttributeKey, erase as before, but then merge the TextAttributeKey's TextAttributes and apply as single setEnforcedTextAttributes. For some reason, this fixes the inconsistency of whether PREDEFINED_CALL or MACRO_CALL is applied first.
  • In case of multiple resolveds, make those that need PREDEFINED_CALL to win.

@KronicDeth KronicDeth self-assigned this Jul 18, 2017
* Merge Callable and Kernel annotators
* Use PsiElementVisitor instead of PsiRecursiveElementVisitor, so that
  macros in defmodule block don't get double annotated
* Instead of erasing and then applying multiple TextAttributeKey, erase
  as before, but then merge the TextAttributeKey's TextAttributes and
  apply as single setEnforcedTextAttributes.  For some reason, this
  fixes the inconsistency of whether PREDEFINED_CALL or MACRO_CALL is
  applied first.
* In case of multiple resolveds, make those that need PREDEFINED_CALL to
  win.
Repository owner deleted a comment Jul 18, 2017
@KronicDeth KronicDeth merged commit 84c9f2c into master Jul 18, 2017
@KronicDeth KronicDeth deleted the 536 branch July 18, 2017 22:08
KronicDeth added a commit that referenced this pull request Jul 18, 2017
@KronicDeth KronicDeth added this to the v6.0.0 milestone Jul 18, 2017
This was referenced Jul 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inconsistent coloring of def
1 participant