textmate

new to mac and textmate, can someone explain these shortcuts?

I'm using textmate for the first time basically, and I am lost as to what keys map to these funny symbols. using python bundles, what keys do I press for: run run with tests run project unit tests Also, with textmate, do I actually define a project in textmate or do I just work on the files and textmate doesn't create its own .project...

Can TextMate be changed to "shift text to right" by highlighting text and pressing Tab?

Can TextMate be changed to "shift text to right" by highlighting text and pressing Tab? Right now it actually replace the whole selected text with a tab character but I almost never want to do something like that. I think some other editors like Notepad++ will indent to the next level. ...

TextMate can show definition of a function or a class easily?

I am using TextMate on a Ruby on Rails project and wonder if you can put the mouse on link_to, and then press a key and it will show the definition of link_to, or does this for any other helper functions or Model definition? Or, click open a box and type in a function name and it will show you the definition? ...

Summer Camp TextMate theme

A while back on the User Submitted Themes wiki page on the TextMate site there was a link to the theme "Summer Camp", the entry is still there but the link no longer works. I'm wondering if anyone has this theme and is willing to share? Thanks in advance. ...

Is there anything like TextMate for the web?

Has anyone built a text editor that has somewhat the same functionality as TextMate but for the web? It would be really cool to see something that: Doesn't have any GUI buttons Has all the base textmate keyboard shortcuts (e.g. highlight text and hit quotes key, and it wraps text in quotes, or hold ALT+SHIFT and highlight text and it ...

texmate and django, is there intellisense?

New to mac and textmate AND python. I don't seem to be getting any intellisensewith textmate, is there a plugin? what are the keyboard shortcuts I should know about (basic ones at this point). thanks! ...

TextMate: Regex replacing $1 with following 0.

Hi, I'm trying to fix a file full of 1- and 2-digit numbers to make them all 2 digits long. The file is of the form: 10,5,2 2,4,5 7,7,12 ... I've managed to match the problem numbers with: (^|,)(\d)(,|$) All I want to do now is replace the offending string with: ${1}0$2$3 but TextMate gives me: 10${1}05,2 Any ideas? Thank...

Is there any easy way to toggle "do/end" and "{}" in ruby in Vim?

Is there any easy way to toggle "do/end" and "{}" in ruby in Vim? (TextMate does this with ^{.) ...

Debugging python using Textmate?

I'd like to use TextMate for debugging python scripts. I'm looking for suggestions on the best way to accomplish this. I found these "solutions" -- is there a better approach? http://www.libertypages.com/clarktech/?p=192 http://stackoverflow.com/questions/1775954/using-python-3-1-with-textmate I'd really like to find something as u...

Rails helpers shortcuts with HAML bundle

Hi guys, I've started using HAML, and everything rocks except that I cannot get my old helper shortcuts in TextMate when creating HAML templates. I've installed the HAML bundle, but it doesn't seem to support those shortcuts (like rp => render :partial). Is there any way out of this? Thanks a lot. ...

Regex to remove all functions from a js file [Textmate preferred]

I'm working on a large and extremely messy javascript file, and I would like to remove all functions from the file, ultimately creating a version which contains only data. the code looks something like this: var foo : bar = "hi"; function foobar (){ //blah blah } var fobar:bar; var barfo:bar; function imSoUgly(){ //Blah blah blah b...

Error using CMD-R on a Cucumber feature in TextMate

Running a Cucumber feature from inside TextMate is producing an error. Works perfectly from the terminal error is: Running: /usr/local/bin/ruby /Users/craig/Projects/lahaina/script/cucumber /Users/craig/Projects/lahaina/features/top_level_pages.feature --format=html Missing these required gems: cucumber-rails >= 0.3.2 database_clean...

Textmate syntax highlighting, extending highlighting from another language

I'm trying to extend some CSS highlighting in Textmate. My approach is like so... { .... patterns = ( { include = 'source.css'; }, { name = 'support.function'; match = '\..*\);'; }, ); } The problem is "include = 'source.css';". If I remove that line. My custom matcher hits...

Debugging Rails application with Textmate

How do you guys debug your Rails apps? I have seen a link to datanoise.com that is supposed to show how to use ruby-debug with Textmate using a bundle.. but it looks like the page is down. Does anyone know how to set this up? Thanks! ...

How to reference external .jar files in TextMate

I'm working on a java project that requires constantly running the code, to see if it builds properly. So I'm trying to reference external jar files, without having to launch the project from the command line (I'm running in TextMate). Any advice? ...

Debugging of javascript in Textmate

How shall I do for jumping to definition of function of javascript in Textmate? Does Textmate support intergated debugging for javascript? ...

Getting Textmate to create PHP autoload class name from filepath

What I would like is a snippet that when executed, grabs the TM_FILEPATH output Explodes it on the slash / Then split out each part as a placeholder containing that part and an underscore (apart from the last part (the filename)) For Example: for a file in directory path /Path/To/Original/file we would get class ${1:Path_}${2:To_}${3:Or...

Netbeans on OSX: How can I make the text clearer like Textmate?

Hi, I use both Textmate and Netbeans on OSX. I'm finding I like Netbeans more, but the fonts are nowhere near as clear as Textmate. I've tried tweaking the themes and downloading other users themes, but they're still not a patch on the clarity of Textmate. Is this an anit-aliasing issues? I tried adding -J-Dswing.aatext=true -J-Daw...

TextMate question: how to move caret to next/previous blank line

See title. Is there already a simple key combination that does this that I can't find in the manual? Is there a command I can put in KeyBindings.dict to do this? I was hoping moveToBeginningOfParagraph: would do it but that appears to just go to the beginning of the current line. Help appreciated. ...

How set PHP_INCLUDE_PATH correctly in Textmate project

Hi I'm trying to configure my Textmate project/env to be able to find included/required files. I believe one way is to set a project specific environment variable PHP_INCLUDE_PATH. As far as I know this should be colon separated, so something like this should be okay: .:./src/:./src/mode/ But (command)+(shift)+d, that is 'Jump to in...