When comparing Slap vs Chocolat, the Slant community recommends Chocolat for most people. In the question“What are the best JavaScript IDEs or editors?” Chocolat is ranked 44th while Slap is ranked 45th. The most important reason people chose Chocolat is:
Chocolat offers integrated web-based documentation, so you can quickly look up anything you might need clarification on.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro First-class mouse support
Slap supports mouse keybindings even though it works inside the terminal and also through SSH.
Pro Uses desktop-like keybindings
Slap features configurable keybindings (Ctrl+S, Ctrl+Z, etc).
Pro Great terminal interface
Pro Built-in access to MDN
Chocolat offers integrated web-based documentation, so you can quickly look up anything you might need clarification on.
Pro Unlimited split viewing
Chocolat allows you to view as many files side-by-side as you'd like, rather than limiting you to two.
Pro Live error checking
Chocolat supports live error checking.
Pro Great look
The native Mac looks awesome.
Pro Excellent theme support
Themes can be tweaked in various ways, such as in terms of font-size, colors, and highlighting colors.
Pro Code completion
Chocolat will auto-complete JS variables, keywords, methods, functions, and parameters.
Cons
Con Requires node.js
Slap is written in JavaScript and it requires something to interpret it in a local machine. That something is node.js, but for people who don't need node, it would be a hindrance and an overkill to install node just to use a simple text editor. Furthermore, it can only be used remotely if the remote machine has node installed.
Con CLI only
Slap only runs through the terminal.
Con Mac only
Chocolate is only available for Mac.