I meant the auto-completion always work in the console...not necessarily in the editor. And what I found out is, to make it work in the editor..I only need to write a few line of import, for e.g.:
import sys import os and then run it once. Then next time I keep in something into the editor, auto-completion would start to work.. Carlos Córdoba於 2013年2月12日星期二UTC+8上午12時09分11秒寫道: > > Do you mean autocompletion on the console? In that case, yeah, you need > to evaluate your file to get completions. Before that the console > doesn't know anything about your script. > > Cheers, > Carlos > > El 11/02/13 11:00, thefatbrain escribió: > > HI All, > > I am not sure if this is part of the feature of python or not, I found > > that the auto-completion only works after I run the program for at > > least once... > > When I first start up Spyder and write a few lines of code in it, the > > auto-completion wouldn't work unless I have run the same module for at > > least once..otherwise, a 'tab' will not trigger auto-completion. At > > the same time, auto-completion runs perfectly in the command console... > > > > I found similar behavior in IDLEX... > > Is this by nature? > > Brain > > > > -- > > You received this message because you are subscribed to the Google > > Groups "spyder" group. > > To unsubscribe from this group and stop receiving emails from it, send > > an email to [email protected] <javascript:>. > > To post to this group, send email to [email protected]<javascript:>. > > > Visit this group at http://groups.google.com/group/spyderlib?hl=en. > > For more options, visit https://groups.google.com/groups/opt_out. > > > > > > -- You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/spyderlib?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
