Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Autocomplete in Mathematica 9 offers suggestions from inside SetDelayed and Module. For example, after running:

func[thing1_, thing2_] := thing1 + thing2;
Module[{thing3},
 thing3 = 10;
 thing3 + 4
]

autocomplete will offer thing1, thing2, and thing3 as suggestions. Since they are intended to be local, this gets in the way. Is there a way around this?

share|improve this question
3  
I doubt there is... Autocomplete will offer all symbols in the Global context and just using it in a Module creates a persistent symbol (even if its value is cleared). –  rm -rf Mar 4 at 18:04
    
@rm-rf sounds like an answer... –  Yves Klett Mar 5 at 7:53

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.