Arc Forumnew | comments | leaders | submitlogin
4 points by akkartik 2928 days ago | link | parent

No IDE; I mostly just use Vim and run Arc in a separate window. For highlighting I just tell Vim to treat .arc files as scheme. It works well enough, particularly because I tend to have pretty minimalist highlighting needs. Mostly I just want to see comments and strings distinguished from code (https://news.ycombinator.com/item?id=4478154)

On occasion I find a couple of other tools useful:

a) https://github.com/jpalardy/vim-slime runs over tmux and lets me connect up an Arc session. I also use a script to navigate between Vim windows with the same hotkey as between tmux panes: https://www.reddit.com/r/vim/comments/22ixkq/navigate_around.... Screenshot showing all this: http://i.imgur.com/B8ou7zj.png.

b) Anarki contains a script to generate ctags, so that I can jump to definitions from function calls: https://github.com/arclanguage/anarki/blob/master/extras/exu...



3 points by mpr 2928 days ago | link

What's the benefit of running vim-slime as opposed to just an arc repl from the command line? I've been doing that w/ the same vim/tmux setup you mentioned. I enjoy it.

Edit: I see that you can execute code from the vim window. That is a nice feature. Anything else significant?

-----

3 points by akkartik 2927 days ago | link

No, that's pretty much it. I sometimes find it useful, but yes, mostly I forget it exists. Occasionally it'll bother me when I hit ctrl-c for unrelated reasons :)

-----