October 2007
63 posts
anthonycrumley: Trouble shooting FF issues. (via Twitter / anthonycrumley)
anthonycrumley: Body pump class and then lunch at Moe’s (via Twitter / anthonycrumley)
anthonycrumley: Doing a little rails reading. (via Twitter / anthonycrumley)
Tip: TextMate folding
TextMate allows code to be folded or hidden at logical levels, eg. class, method, if, block, etc. Folding can be toggled by clicking the arrows in the gutter or by pressing F1 while the cursor is in a foldable section. This can be somewhat helpful at times but my favorite folding technique is folding all the code at a certain level. This is done by pressing option-apple-level where level is a...
anthonycrumley: Texas roadhouse (via Twitter / anthonycrumley)
anthonycrumley: Working on DataFax rails project. (via Twitter / anthonycrumley)
Tip: TextMate Go to Symbol
Go to Symbol is very similar to Go to File. Press shift-apple-T and a dialog will appear that contains all the methods in the current file. The up and down arrows can be used to select a method. When the desired method is selected pressing return will navigate there. The special sauce is the text box where you can type the name of the method to select it. As with Go to File, the method name...
Apple Sends 3rd Grader Cease And Desist Letter →
anthonycrumley: Could not get to the Y this morning because a wreck at Valleydale had traffic backed up past Alabaster (via Twitter / anthonycrumley)
anthonycrumley: Headed to the Y for a Body Pump class. (via Twitter / anthonycrumley)
anthonycrumley: Reading the bible. (via Twitter / anthonycrumley)
anthonycrumley: Working on traingo. (via Twitter / anthonycrumley)
anthonycrumley: Reading some Oswald Chambers. (via Twitter / anthonycrumley)
Tip: TextMate Go to Line
Go to Line is a very simple, yet effective, means of moving the cursor in a text document. Press apple-L and a dialog will appear with a text box for entering the line number. Enter the number and press return to jump to a specific line of text in a document. The major problem with Go to Line is not knowing the line number you want to jump to. Line numbers can be turned on and off in the...
anthonycrumley: Reading about TextMate. (via Twitter / anthonycrumley)
anthonycrumley: Going to bed. (via Twitter / anthonycrumley)
anthonycrumley: Feeding the dogs. (via Twitter / anthonycrumley)
anthonycrumley: Just got home from grocery shopping. (via Twitter / anthonycrumley)
anthonycrumley: Going to a 50th anniversary party. The iMac will be featured as a slide show. (via Twitter / anthonycrumley)
anthonycrumley: Cracker barrel (via Twitter / anthonycrumley)
Conscious obtrusive weakness is natural unthankful strength; it means I refuse...
– Oswald Chambers
Tip: TextMate code completion
TextMate has some very basic code completion for HTML, CSS, Ruby, and PHP. The code complete list is displayed when option-escape is pressed. For HTML files all the tags will be listed when the cursor is not in a tag. When the cursor is in a tag it will show all the valid attributes for the tag. For CSS files some selector items will be listed when the cursor is not inside the curly brackets. ...
anthonycrumley: Burning the anniversary DVD (via Twitter / anthonycrumley)
anthonycrumley: Cracker Barrel Friday Fish Fry (via Twitter / anthonycrumley)
anthonycrumley: My Timex Ironman watch band broke :( (via Twitter / anthonycrumley)
anthonycrumley: Actually more DataFax SEM analysis (via Twitter / anthonycrumley)
anthonycrumley: More DataFax SEO analysis (via Twitter / anthonycrumley)
anthonycrumley: Back from another tasty lunch at Zappopan (via Twitter / anthonycrumley)
anthonycrumley: Working on some SEM numbers for DataFax (via Twitter / anthonycrumley)
anthonycrumley: I was almost attacked by a dog. Luckily the owner was able to call them off. (via Twitter / anthonycrumley)
anthonycrumley: Going out for a chilly morning run. (via Twitter / anthonycrumley)
Tip: TexMate cursor movement with arrows
The basic arrow movement of the cursor is as you would expect e.g. up one line, down one line, left one character, and right one character. Apple-up-arrow goes to beginning of document, apple-down-arrow goes to bottom of document, apple-left-arrow goes to beginning of line, and apple-right-arrow goes to end of line.
Now things get a little more interesting. Option-left-arrow and...
anthonycrumley: Reading textmate book. (via Twitter / anthonycrumley)
anthonycrumley: Went to wal-mart and filled kay’s car with gas. Now i am going to bed. (via Twitter / anthonycrumley)
anthonycrumley: Scanning more pictures for our friend’s 50 wedding anniversary. (via Twitter / anthonycrumley)
anthonycrumley: Took my cat to the vet for an ingrown claw. (via Twitter / anthonycrumley)
anthonycrumley: Just ate a piece of cake my mother made me. (via Twitter / anthonycrumley)
anthonycrumley: Going to lunch at Arby’s. (via Twitter / anthonycrumley)
anthonycrumley: Working on myDataFax. (via Twitter / anthonycrumley)
anthonycrumley: Trying to figure out sql server slowness issue…arrrggg!! (via Twitter / anthonycrumley)
anthonycrumley: Walmart (via Twitter / anthonycrumley)
Tip: TextMate Go to File
When you want to open a file you know the name of “Go to File” is awesome. This functionality has dramatically changed the way I work. The keyboard shortcut is apple-t. A dialog box opens that lists all files in the project with the most recently used at the top. Pressing return when a file is selected will close the dialog box and open the file. By default the most recently used file is...
anthonycrumley: Reading textmate book. (via Twitter / anthonycrumley)
anthonycrumley: Texas roadhouse (via Twitter / anthonycrumley)
anthonycrumley: Heading to the house. (via Twitter / anthonycrumley)
anthonycrumley: Working on DataFax. (via Twitter / anthonycrumley)
anthonycrumley: Off to a quick lunch at Taco Bell. (via Twitter / anthonycrumley)
anthonycrumley: Working on datafax. (via Twitter / anthonycrumley)
anthonycrumley: Went for a 4 mile run. (via Twitter / anthonycrumley)
Tip: TextMate file navigation
When you are not sure which project file you are looking for and want to browse them from the keyboard use ctrl-tab to switch to the Project Drawer. The up and down arrows move the selection up and down in the drawer. The right arrow expands folders. The left arrow collapses folders when a folder is selected and moves the selection to the parent folder when a file is selected. Return opens a...