DEV Community

Discussion on: Some of the Best Coding Tools Aren't Coding Tools

Collapse
 
darksmile92 profile image
Robin Kretzschmar

I can't express in words how much I take from this article, so thank you for taking the time to explain your tools and how you use them (with pretty good examples) and delivering it here!
I am constantly curious how other people manage themselves and honestly I used a lot of tools and sticked with Evernote so far. But your usage of TextExpander got me thinking and I will definitely give it a try!

Collapse
 
craser profile image
Chris Raser

Wow! I'm glad you got something out of it! Thanks!

I used Evernote briefly a few years back, and it's a great tool. I've been meaning to give it another look and see how it's changed/grown.

TextExpander happens to be my favorite, but it's not the only snippet tool out there. If you find something else that you like (especially if it's free) let me know!

Collapse
 
darksmile92 profile image
Robin Kretzschmar

Sure I will let you know!
I used TextExpander some time now and did not manage to get a REST API call working with pure JavaScript (cause on windows shell is not supported sadly).
Just out of curiousity: did you manage to do something in pure JS?
I can embed momentJS and stuff, but did not find a standalone JS library that does not use the "window" object, since this is not available in TextExpander.

Thread Thread
 
craser profile image
Chris Raser

I'm on a Mac, so I tend to write stand-alone shell/ruby scripts, and then just call them from TextExpander.

I haven't tried it, but implementing a pure JavaScript REST call within TextExpander should be possible, provided TextExpander's runtime supports XMLHttpRequest, and you set it to make synchronous calls, rather than asynch.

Now you've piqued my interest. Gonna have to play with this a little bit when I have time. I'll let you know what I find. :)

Thread Thread
 
darksmile92 profile image
Robin Kretzschmar

That's my issue at the moment, I did not manage to use XMLHttpRequest yet. I will also try to solve this and will keep you posted :)