<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi there, <div><br><div><br></div><div><div>Le 16 sept. 2013 à 09:40, AJ Renold a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hi,<div><br></div><div>I'm a graduate student at UC Berkeley School of Information and have worked with IPython in various classes and promoted it in others. As an enthusiastic user and a student of <a href="http://www.ischool.berkeley.edu/courses/i290m-ocpp">Peer Production</a>, I'd like to offer my time to contribute to IPython and have a question about setting up a development environment.</div></div></blockquote><div><br></div><div>Nice to meet you and see that you are motivated.</div><br><blockquote type="cite"><div dir="ltr">
<div><br></div><div>Specifically I'd like to work on the open issue here (<a href="https://github.com/ipython/ipython/issues/3653">https://github.com/ipython/ipython/issues/3653</a>) to extend the Completer class to handle auto-completing in the case of "from module import <tab>".<br>
</div><div><br></div><div>Getting started on this issue, I am having trouble setting up my development environment inside of virualenv to work on editing completer.js. I have tried the <a href="https://github.com/ipython/ipython#development-installation">Development Instructions</a> on Github and on <a href="http://ipython.org/ipython-doc/stable/install/install.html#installing-the-development-version">IPython.org</a>, but both methods don't seem to work when I modify the file and then create a new ipython notebook server. </div></div></blockquote><div><br></div><div>What do you mean by "do not seem to work" ? </div><div>If javascript seem not to change, try to force-refresh. </div><div>Usually if you modify a JS file you do not need to restart the server but just refresh the page.</div><div>Using a window with private browsing/incognito mode/... also help in making sure this is not due to browser caching.</div><div><br></div><div>import IPython</div><div>print IPython.sys_info()</div><div><br></div><div>will also help you to diagnoses in which folder IPython is looking for resources.</div><div><br></div><div><br></div><blockquote type="cite"><div dir="ltr"><div>Is there a build process or something similar that I am missing? If there is another resource on setting up the correct development environment that I am missing please link me. I would also be happy to add to the development wiki if these instructions are buried somewhere obscure.</div></div></blockquote><div><br></div><div>You can also try </div><div>$ python setup.py develop</div><div><br></div><br><blockquote type="cite"><div dir="ltr">
<div>After getting this set, I plan to follow up that github issue with a Pull Request.</div></div></blockquote><br>I would also suggest you get a look at IPython Ehencement Proposal 11 About completion.</div><div><br></div><div><a href="https://github.com/ipython/ipython/wiki/IPEP-11:-Tab-Completion-System-Refactor">https://github.com/ipython/ipython/wiki/IPEP-11%3A-Tab-Completion-System-Refactor</a><br><br></div><div>If at the same time you could try to make the API for the completer configurable, that would be great. </div><div>For example, current code in completer.js does not assume `!` is a char that can be part of a token, whereas it can be in julia.</div><div><br></div><div>Don't hesitate to ask question directly on the relevant issue. </div><div>If you really have problems, most of the core dev are near berkley, so meeting in person will be the fasttest if you are really stuck. </div><div>-- </div><div>Matthias</div><div><br><blockquote type="cite"><div dir="ltr"><div><br></div><div>Thanks!</div><div>AJ</div></div></blockquote><br><div><br></div><br><blockquote type="cite">
_______________________________________________<br>IPython-dev mailing list<br><a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>http://mail.scipy.org/mailman/listinfo/ipython-dev<br></blockquote></div><br></div></body></html>