The example below shows that the symbol test`MyFunction
is still in blue, which suggests that it is not defined. The color is defined in menu Edit > Preferences> Appearance > SyntaxColoring > Global symbols that have no value assigned.
context`MyFunction[x : _] := x^2
$ContextAliases["test`"] = "context`"
test`MyFunction[5]
How can the front-end be informed about $ContextAliases
so that test`MyFunction
is black instead of blue?
Note that AppendTo[$ContextPath,"context`"]
does not help.