Say I create
BeginPackage["MyPackage`"]; Symbol1 = 1; Begin["`MyContext`"]; Symbol2 = 2; End; EndPackage;
When I run Mathematica:
MyPackage`Symbol1and is colored black, indicating it has a value assigned.
MyContext`Symbol2does not resolve, but
MyPackage`MyContext`Symbol2does. However, there is no autocompletion and the symbol is colored blue (indicating no value assigned) even after evaluation.
Is it possible to configure my package such that
MyContext`Symbol2 will resolve and have all the front-end niceties?