tildebyte / ChucK-plugin-for-ST3

A Sublime Text 3 plugin for ChucK (http://chuck.cs.princeton.edu).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

auto completions

zeffii opened this issue · comments

a few autocompletes I have use for,

pi
Math.INT_MAX
chout <= " ";
chout <= IO.newline();

// for casting
$ float => float $1name;
$ int => int $1name;

string.length();
string.charAt(int index);
string.setCharAt(int index, int ch);
string.substring(int pos);
string.substring(int pos, int len);
string.insert(int pos, string str);
string.erase(int pos, int len);
string.replace(int pos, string str);
string.replace(int pos, int len, string str);
string.find(int ch);
string.find(int ch, int pos);
string.find(string str);
string.find(string str, int pos);
string.rfind(int ch);
string.rfind(int ch, int pos);
string.rfind(string str);
string.rfind(string str, int pos);

Done. Not sure what to do with chout <= " ";

this is fine now!