Connect to remote q session and execute q statements in Sublime Text
Cmd + alt + q
to add q connections and quickly switch between themCmd + Enter
orCmd + e
to send highlighted line or block textCmd + j
to execute text and get result as json (by calling .j.j to results - requires .j.j in kdb 3.x)- 2 result modes: output panel and inline popup
- Syntax higlighing (based on kimtang's https://github.com/kimtang/sublime-q)
- shows rows, column, time, mem usage at status bar
- auto complete
[change Cmd to Ctrl for windows]
F1
open help at cursorF2
print variable at cursorF3
show type at cursorF4
show table and columnsF5
show environmentsshift + F5
show memory usage
[hold shift to show output in inline popup instead of output panel]
###Supported
- osx_x64
- windows_x64
###Not supported Support can be easily extended by adding proper numpy 1.8 build with python 3.3 to lib/[os]_[architecture]. Please send PR if you can build any of these
- osx_x32
- windows_x32
- linux_x32
- linux_x64
For Sublime Text 2, please use https://github.com/komsit37/sublime-q-2
via package control https://packagecontrol.io/packages/q%20KDB
Clone this git repository into your Sublime Text 3/Packages
directory.
NOTE: You may need to change dir to q KDB
- Windows:
C:\Users\[username]\AppData\Roaming\Sublime Text 3\Packages
- OS X:
~/Library/Application Support/Sublime Text 3/Packages
git clone https://github.com/komsit37/sublime-q.git
From sublime text, run package control: satisfy dependencies (you may need to open package folder in sublime text first). This will install numpy as a dependency package to your packages folder
Tested on OSX and Windows 8
Included numpy version should work for osx and windows 64bit, but if you need to build numpy
- download python 3.3
- download http://sourceforge.net/projects/numpy/files/NumPy/1.8.1/
- run
python3.3 setup.py install
- numpy will be installed to your default python lib
- then follow steps here komsit37#12