![]() ![]() To take advantage of these new features, first make sure you have Groovy installed and that your GROOVY_HOME variable is set. Work in progress, indeed! Graeme has just added the ability to run Groovy scripts and Groovy classes from within TextMate. If you have a chance to try it out, shoot a quick note to the Groovy mailing list with your thoughts (or post a comment here, and I'll be happy to pass it along). In addition to more code snippets, future releases will likely provide the ability to execute a Groovy unit test directly from within TextMate, execute a Groovy script inside TextMate, etc. Graeme points out that these bundles are a work in progress. $ ls -l ~/Library/Application\ Support/TextMate/Bundles/ĭrwxr-xr-x 5 jason jason 170 Nov 1 17:33 Grails.tmbundleĭrwxr-xr-x 6 jason jason 204 Nov 1 17:33 Groovy.tmbundleįor more examples of what you'll get from these bundles, be sure to check out the initial release notes.Īnd, there's still more to come. Copy the bundle files ( Groovy.tmbundle and Grails.tmbundle) to ~/Library/Application Support/TextMate/Bundles.If you're ready to give it a shot, just follow the pleasantly-simple installation process, and you'll be good to go. Sticking with the example above, you can type File, hit tab, and TextMate inserts the same code snippet we'd get from the menu. Of course, you're not required to use the menu to benefit from the code snippets you can also tab through various code completion options. Just by looking through the available code snippets, a developer can quickly check out all sorts of APIs and idioms he might not have otherwise known about. ![]() (Less context switching equals greater productivity, so it's an all-around win.) In fact, it's really a great way to discover various Groovy and Grails features. The developer finds the answer he needs without ever leaving the editor. How exactly do I do that in Groovy?"īundles -> Groovy -> Iteration -> Files
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |