Carriage returns ( ) on the general clipboard are converted to regular newlines when pasting.With multiple carets, ⌘-clicking one of them removes it (i.e.File browser can be placed on the right side: defaults write fileBrowserPlacement right.Anti-alias can be disabled: defaults write disableAntiAlias -bool YES.HTML output can open in its own window: defaults write htmlOutputPlacement window.See below for the complete release notes: 2011–12–16 The big items here are the ability to disable text aliasing, the ability to put the file-browser on the right side of the window, and the option for HTML output to have its own window. I was delighted to see a significant update to the alpha released earlier today, with some much anticipated features/settings added. Remove folding patterns from grammar template.Fix issue with ⌃⇥ not always working to move focus to file browser.Fix issue with selection sent to commands needing entire document (e.g.Fix issue with indented soft wrap having the prefix string wider than the wrap column.Tab bar can be made always visible: defaults write disableTabBarCollapsing -bool YES.to text.html to only have the “save on lost focus” enabled when editing HTML files - alternatively one can introduce a custom scope like attr.save-on-deactivate and set that for specific projects via a scopeAttributes setting in. The approach in 2.0 also allows to run some code, for example reloading the currently open browsers, and it can be scoped e.g.This allows creating a command with “Save” set to “Modified Documents” and thereby recreating TextMate 1.x’s ability to save modified documents on lost focus. The scope selector is matched against the “current scope” of the visible document (in each window). A command with this class will be executed when the application gain/lose focus. Introduced -activate and -deactivate as two new semantic classes.Disabling that auto hide makes Textmate 2’s functionality like that of Textmate 1. This release allows you to disable the functionality that hides the tab bar when only one file is open. It is a very good idea to display these comments in the outline as they help to show the logical structure of a file.įor example in Java, the code is often organized as public/protected/private methods but it is does not give enough information on the logical composition of the class.Development continues. Outline the "logical" structure of the code I assume the kudos should go the the bundle's authors rather than to TextMate 1. I tried several comment formats in Ruby code but I was not able to make them appear in the outline. To make it appear in the outline, the comment must end with : This will appear in TextMate outline I don't know if the "magic" comes from TextMate or the Clojure bundle. I noticed that these special comments were also displayed:Ĭlojure Outline in TextMate (click for full size) While I was writing code, I wanted to move from one part of the file to another and I used TextMate's outline for that (the outline is the right part of the status bar at the bottom of the window, when you click it, it displays a list of all defined functions in the file). My file was starting to be "big" and I added comments to separate the different "sections": ************* I found a cool feature by accident yesterday. I am currently learning Clojure and installed a bundle to have proper syntax highlighting and macros in TextMate. TextMate is my favorite text editor and my preferred IDE when I'm not writing Java or Objective-C (for these two, I use Eclipse and Xcode).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |