Works everywhere, less typing, no typos, no missing parameters. So I just type vmtx, hand TextExpander the name of the file, and TextExpander then runs my vm-boilerplate script and drops the output into whatever editor I'm using. I have another script called vm-boilerplate that reads a Velocity template file and generates some Java boilerplate for binding the necessary input values. A snippet tool is a powerful means of making that easier. Part of communicating well is quickly clearing away confusion. That's done using a few TextExpander snippets, so it takes three seconds and I never have to switch windows. Why would I do such a thing? Just think back to every email you've ever received that asked, "What's the status on the frob issue?" When I get those, the first line always clarifies exactly what issue is being discussed, with a ticket number, title, and link to the ticket in the ticket system. If I type tlx, I get the URL of that ticket. (It'll run shell scripts & JavaScript directly.) I type jtitlex, and TextExpander runs a script that fetches the title of the ticket I'm working on from Jira's REST API. The real magic starts when you use TextExpander to run scripts in the background and emit the output. When I need placeholder text in web pages, I just type loremx, and I get 200 words of pseudo-Latin nonsense. But I never have to look up that symbol again. When you type a particular string, it instantly replaces it with a stored value. TextExpander runs in the background and listens to your keyboard input. They're all good, but I like TextExpander, mostly because it has a lot of great functionality built in, and lets me use my snippets in any app on my machine. Dash is also popular, and IntelliJ and other IDEs have good built-in support for snippets. TextExpander, Breevy, and Alfred are perennial favorites in this area. Snippet Tool: Code boilerplate, branch names, ticket links, etc. But it seriously helps when you get a note from customer service saying, "Drop shippers can't use the international shipping form! Help!" No, this is not a substitute for actual automated testing. If I need to test the international shipping form, I have addresses for Antwerp, London, Beijing, Dubai, Lima, Seoul, Harare, and Vancouver. Ditto for fake MasterCard, VISA, AmEx, and PayPal accounts. ![]() When I need to test with a certain type of account, I have one ready to roll in 1Password. You're already using a password manager to hold your credentials for your dev box, test server, Jenkins, Jira, Splunk, GitHub, StackOverflow, and the dozen or so other logins you need to do your job, right? Good. ![]() Password Manager: Test logins, addresses & credit cards. QUnit, jUnit & Jenkins have teamed up and have your back like the little floating "bit" from Tron.īut some of the best coding tools out there aren't specifically coding tools. ![]() Okay, so you've got Sublime cooking, IntelliJ is a seamless extension of your will, and Charles is watching your web traffic. Enter fullscreen mode Exit fullscreen mode
0 Comments
Leave a Reply. |