开发者

changing .emacs to use IronPython.exe and using code completion for IronPython modules?

开发者 https://www.devze.com 2022-12-29 01:36 出处:网络
I configured my Emacs for code completion and other help using this link (from another question here on SO). I am a complete newbie to emacs.

I configured my Emacs for code completion and other help using this link (from another question here on SO). I am a complete newbie to emacs.

Can anyone tell me what should I change so it (rope, ropemacs, pymacs, yasnippet etc) picks up symbols of IronPython modules for code completion and snippets.

Also I want t开发者_运维知识库o map:

C-x RET - to invoke IronPython.exe and not Python.exe (any clue on how to do that)

PS I am using Emacs with Cygwin on XP machine


The variable python-command contains the path of the python interpreter to be run. By default, this is usually just set to "python", which runs the first python in your path.

Try changing it to point directly to the IronPython exe file:

(setq python-command "C:/Program Files/IronPython 2.6/ipy.exe")
0

精彩评论

暂无评论...
验证码 换一张
取 消