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

func[thing1_, thing2_] := thing1 + thing2;
 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?

  • 3
    $\begingroup$ 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). $\endgroup$ – rm -rf Mar 4 '14 at 18:04
  • $\begingroup$ @rm-rf sounds like an answer... $\endgroup$ – Yves Klett Mar 5 '14 at 7:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.