Modific - show changes since last Git commit If you select diff for any of the files in the project, you get a nice visual comparison of the changes between what is committed and your working copy. If you open a file from a project managed by git you can see the status of all the files in that project using the command gitlight-status Use Gitlight by opening the command panel and type gitlight, you will see a list of available commands Install Gitlight from the Light Table plugin manager and restart Light Table (you may just be able to select “Reload App Behaviours” from the Light Table commands). Gitlight plugin provides a visual Git client that can stage and commit changes, push & pull changes with remote repositories and show visual diffs of changes. Git branch / status will only show for files that are in repositories whose root is in your workspace. Then open a file under version control and you will see its Git branch in the right corner of the status bar (the bar at the bottom of Light Table). Install using the plugin manager and restart Light Table (you may just be able to select “Reload App Behaviours” from the Light Table commands). The Git status bar plugin simply indicates the Git branch your current editors’ file is in, assuming it is under version control. See my previous post on how to use the Emacs plugin with Light Table. Installing the Emacs plugin with give you many of the Emacs keybindings you enjoy and you can easily customise them by changing the keybindings mapping in the plugin. The Emacs plugin is a wrapper around the Code Mirror keybindings for Emacs. Coming from Emacs, I find this limiting, so luckily you can add this behaviour back in by editing your user behaviors. Bracket funįrom Light Table 0.7.0 onwards parens are not auto-closed anymore, so when you type ( then you have to also type ). There is also an Ubuntu theme plugin that I have just spotted, so I am trying that out although I want to tweak some of the colours before I make the switch. The default theme for Light Table is pretty good, however my prefered Light Table font is called Tommorow Night and I configure my user behaviors to use this theme by adding the following line: 1 You can use Ubuntu Fonts with operating systems other than Ubuntu by downloading the fonts from Themes When I run workshops or other demos I increase the font size to 20, to make the code easier to read from a distance. Then edit the file that opens and add the following line 1 Open the command panel in Light Table with Ctrl-Space and type user behaviors. I use the Ubuntu Mono font for all my editors by adding the following line to my user behaviors The Ubuntu fonts are very clear and easy on the eyes, so are great for coding with. Here are a few of the tweaks and plugins I use for my development with Light Table. With a few tweaks and some of the many plugins you can make Light Table do even more. lt.objs.editor/autoclose-brackets should fix autoclosing characters e.g.Light Table provides a great development environment for Clojure, ClojureScript & JavaScript.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |