TinyScheme Auto-Complete
A Sublime Text Auto-Complete plugin for TinyScheme (a dialect of Scheme programming language).
Details
Installs
- Total 926
- Win 762
- Mac 81
- Linux 83
| Nov 7 | Nov 6 | Nov 5 | Nov 4 | Nov 3 | Nov 2 | Nov 1 | Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | Oct 6 | Oct 5 | Oct 4 | Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
| Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Linux | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
TinyScheme Auto-Complete for Sublime Text
This auto-complete plugin covers Procedures and other constructs available in TinyScheme programming language. Most procedures are available as One-Liners. However, some procedures do have Block-Form variant available as well. It is upto you, which variant you pick; the API imposes no restrictions. Completion tags have been set up with consistency and ease-of-use in mind. Simply type some letters of a procedure and press Enter. The full procedure name, together with parentheses and arguments (if any) shall appear at cursor location.
One-Liner Examples
| Text Entered | Result |
|---|---|
lam |
(lambda (args) expression) |
def |
(define (proc) expression) |
let |
(let ((variable)) expression) |
if |
(if test expression_true expression_false) |
ve |
(vector element_a element_b element_n) |
veq |
(vector? vector) |
ves |
(vector-set! vector index value) |
vet |
(vector->list vector) |
oif |
(open-input-file path_string) |
nts |
(number->string number) |
ste |
(string=? string_a string_b) |
sts |
(string-set! variable index char) |
me |
(member element list) |
pl |
(+ number_a number_b) |
expt |
(expt number_base number_exponent) |
max |
(max number_a number_b number_n) |
cons |
(cons element list) |
apn |
(append list_a list_b) |
nlq |
(null? list) |
zq |
(zero? number) |
Block-Form Examples
dflb
(define proc
(lambda (args)
expressions
)
)
dfb
(define (proc)
expressions
)
letb
(let
(
(variable)
)
expressions
)
ifbb
(if test
(begin
expressions_true
)
(begin
expressions_false
)
)
foeb
(for-each
proc
list
)
Tips
- You need to type only a few letters of a procedure's name. Observe the patterns used in examples.
- In the Auto-Complete popup, you'll come across several entries with embedded
_character. Please note that the_character has been added only for better readability. You don't need to type this character. - All Block-Form tags have a
blocksuffix attached. It is intended to help you identify which items have Block-Form variant available. - Scheme comes with several predicate procedures. Tags for these procedures have a
Qsuffix attached. Again, it's been done for easy identification and quick access. - You could use
TabandShift+Tabto cycle forward and backward through arguments. - If you accidentally invoke an undesirable completion, performing a simple Undo
ctrl + zmight be a better fix, rather than manually deleting the unwanted bits.
Installation _ via Sublime Package Control
- Open command palette by using the menu command: Tools → Command Palette
- Select:
Package Control: Install Package - Search for the package name:
TinyScheme Auto-Completeand pressEnter - After installation completes, you could start using this plugin straight away; no restart required.
Installation _ Manually
- Download the plugin (or clone this repository).
- After extraction, copy
tinyscheme_autocompletefolder to Sublime Text's Packages folder. - You can locate this folder from Sublime Text by using the menu command: Preferences → Browse Packages.
- You could start using this plugin straight away; no restart required.
Notes
- The data is based upon TinyScheme 1.41.
- Most dialects of Scheme strive to be at least
R5RScompliant; TinyScheme is no exception. This means coders/users from other dialects of Scheme (Chez, Racket, etc) could also consider using this plugin in their projects. - This plugin is released under … GNU General Public License (v3).
Feedback & Comments
- Email: civanimal@gmail.com
- Twitter:
civAnimal
Copyright © 2020 civAnimal