![]() If you combine that with the Simulator’s “Reload project when files change” preference you can just use “Cmd+S” to trigger a reload of the project. There you can choose a printer or export to PDF, and print. ![]() This opens your browser print dialog (Chrome for me) with the selected text neatly in the print dialog window and syntax highlighting intact. In order to Close Without Saving just tap and hold the Alt key for a second, underlines appear on one character of all 3 options and hit W to close without saving. Make a selection (or none for the whole file) Press Alt + Shift + P OR Shift + Command + P and type in 'Print to HTML'. Longer version: Ctrl+W will attempt to close the file and brings up this prompt when file has unsaved changes. In the meantime, you can return to the old behavior on MacOSX (console output but a new Simulator every time you hit Cmd+B ) by editing the file: ~/Library/Application Support/Sublime Text 2/Packages/Corona Editor/Corona SDK.sublime-buildĪnd changing the “cmd” entry in the “osx” section to be: "cmd": , In short: Ctrl+W > Alt (hold for 1s) > W. Fixing the issue for real is a bigger job than just Sublime Text scripting but it’s coming along nicely on both Windows and MacOSX. If you have a hard time memorizing new shortcuts, have a look at part 1 of our series for some keyboard-related tips. To delete a line, the default shortcut is Ctrl+Shift+K :) Highlighting a bunch of lines then hitting Cmd (Ctrl) +Shift+L gives you multi-cursors on each line. As expected from a competent text editor, Sublime comes with a plethora of keyboard shortcuts that you should learn and take advantage of. So, Ctrl+X doesnt 'delete' a line, it cuts it. I apologize for breaking console output, I got focussed on preventing multiple instances of the Simulator starting with each new “build” and didn’t notice my “solution” caused console output to get lost. Ctrl+C, Ctrl+X and Ctrl+V let you copy/cut/paste lines if you dont select anything. Maybe I’m confused, but how is this even usable for development without console output? Is there a way to enable it? Previously I had Sublime working fine (one simulator, console output working) using an older corona plugin. I get one simulator, but no console output, other than " " Return to full list of Sublime Text 4 shortcuts. On OSX, I installed the corona plugin for Sublime Text 2. Note: If PDF opens in your browser, press Ctrl + S or right click on it and choose Save as.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |