在Komodo Edit中导入.cix NumPy API目录

时间:2014-06-22 12:52:37

标签: python numpy komodoedit code-intelligence

我按照此处给出的说明生成了一个numpy.cix文件:http://community.activestate.com/faq/generate-python-api-catalog

通过命令

python gencix.py --onefile=numpy.cix --name="NumPy" --description="Python NumPy module" numpy

不幸的是,在将numpy.cix API目录导入Komodo Edit 8.5.3之后,在自动完成中找不到简单的numpy.empty命令(例如,在键入s=numpy.e之后)

我是否误解了代码完成的问题,是cix生成程序python_gencix还是Komodo Edit之一的错误?

1 个答案:

答案 0 :(得分:0)

使用以下过程:

  • 搜索其他cix文件的位置:
Komodo stores preferences, macros, templates, keybinding schemes and other settings in a user-specific directory called the user data directory. The name and location of this directory varies depending on the operating system and Komodo version:

Windows Vista, Windows 7, Windows 8 or newer
C:\Users\\AppData\Local\ActiveState\Komodo[IDE|Edit]\

Windows XP or older
C:\Documents and Settings\\Local Settings\Application Data\ActiveState\Komodo[IDE|Edit]\

Linux
/home//.komodo[ide|edit]/

Mac OS X
/Users//Library/Application Support/Komodo[IDE|Edit]/
  • 例如:

    KomodoEdit\8.0\apicatalogs\
    
  • 重新启动Komodo

<强>参考