Endline is a Sublime Text plugin which is an intelligent version of add-semicolon-and-new-line macro. It adds the semicolons only when necessary, by checking whether the language you are currently on uses a semi-colon to end line and whether the current line needs a semicolon.
Download all the files in this repository and place it in your Sublime packages folder.
- On the Mac it is
~/Library/Application Support/Sublime Text 2/Packages/EndLine
The default keyboard shortcut is Cmd+option+enter on Mac or Ctrl-alt-enter on Windows and Linux. The command name is end_line so you can change the keyboard shortcut to anything you want.