[[nested/path]]does not work and direct links open in a new tab
symbol::usage = ...settings, I've factored it out into a
addUsageMessage[symbol, "substring used in a template"]because I have quite many very similarly structured functions and I wanted a nice long usage message for all of them. And I guess the linking relies of this
symbol::usage = ...line, yes?
symbol::usage =as you have correctly determined. This leads to the following things
Leafin a tree) and IDEA warns you that it doesn't find a "definition", you can simply give it a usage message to make it resolve (which is both good programming style and informative for people reading your code)
Whether I defined this with or without full context in
knownSymbols.m, it’s not recognized when written with full context in
This is from a discussion in October. I'm stumbling on this same issue -- symbols that I reference with their full context (usually because of pulling in symbols from a private context of some file) don't get the linking, even if I add a usage message explicitly with the full context. Should I create a bug report for it?
Foo`bar`funthen of course the plugin knows that you mean
funin the context
Foo`bar`. However, at the position where you defined
fun[x_]:=..inside your package, I would need to evaluate the whole code to find that when the symbol
funis put into the symbol-table, it is put into the context
myContext = "C" <> ToString[1 + 1] <> "`"; Begin[myContext]; var = 3; End
If[isMessageDefined, func::usage = "blub"]
Ifand knowing that the usage message of
funcis defined makes all the difference between exporting a symbol from a package.