helo i would like to use
PHP Project Functions - "Dion Almaer"
Goes through the project directory and groks out all functions. If you
select some text it will narrow it to that.
Before running command: Nothing
Command(s): grep -E -n -r --include=\*.php --exclude=.svn "function
Standard input: None
Standard output: Show in separate window
Format String: $1, line $2: $3
File Register: 1
finded there :
but it didn't work
can you help me ?
> I too am a huge (unfortunate) fan of working on remote files...
> This topic has been discussed at great length. Since it is
> apparent none
> of the existing solutions work nicely and as elegantly as working
> on local
> code we all have come up with less than ideal solutions for solving
> problem. I for example use RBrowser because I like that - but
> again it is
> less than perfect. So.. We need a better solution. Writing down the
> short list of requirements
> - Tie to Textmate - very closely
> - Allow me to easily create a project out of remote files
> - Allow me to add remote files
> - Allow me to search those remote files
> - Save the file back
> - Connect via ssh
> - Should be able to routinely (background) poll the remote
> and determine the status of the file. This should be able to be
> off or time adjusted based on user needs. I wouldn't need this per
> - Should have an integrated browser mechanism which 1) gets
> on a
> remote system (ssh) 2) allows you to traverse a remote file system
> - Might want to be able to bind a command to a save ( svn
> commit )
> - Might want to be able to bind a command to the file
> status ( p4
> fstat ) feature
> OK what do we need to add shorten or comment on?? Perhaps the
> cyberduck /
> rbrowser / macfuse / Olrik folks are listening. I think David
> solution is a decent start but needs a bit more polishing. A better
> solution can't be far off..
At this point (unless TextMate 2.0 addresses the issue ;) I think
MacFuse pretty much solves everything, so the single one change that
I would like to see in textmate is a mechanism to stop and/or set
intervals on the project directory scanning routine. I have no idea
what that would entail or if it's even feasible, so forgive me Allan
if what I'm saying is ludicrous... ;) That single change would make
MacFuse usable on projects that have more than 5 files... and solve
OK, so the GHCi fix was due to Alan's patch of the haskell bundle, not to my
trashing my local bundle repository.
I've been playing with the 3rd party bundle Plain Text Wiki, but it doesn't
seem to play nice with the fact that I modify some of the standard bundles
(LaTeX templates and commands primarily). I've installed it in the standard
place now, but then it will get wiped out upon update, right?
So, I tried the Experimental Wiki bundle: easy to do, perform the one
command available. Apparently it should open a wiki based in a subdirectory
of the bundle. I get the following error message, looks like a typo in the
sh: line 1: /Users/ds08/Library/Application
Support/TextMate/Support/bin/Markdown.pl: No such file or directory
I went into linkify.rb and noticed that the path is based on a HOME
directory, so I altered that path name to be based on TM_SUPPORT_PATH. Now
it works. And its cool (a bit clunky but useful).
It would be good to have the patch committed to the repository.
OK I know this is a lame feature that probably only I would use, but
here are my thoughts & maybe someone has a suggestion or maybe it
could make its way into TextMate 9.1 or something...
I know there are keyboard shortcuts to focus on the drawer and to
show the drawer, but I'd love a shortcut to toggle the size of the
drawer. By that I mean:
Initial State: Project window with drawer of n px width. (TM
"remembers" and saves this value)
Closed State: Drawer is hidden, but project window resizes its width
to fill the space that was once occupied by the drawer.
Expanded state: project drawer increases its width until all items in
the drawer are displayed without any ellipsis (...) characters. The
window resizes (reduces) its width to make room for the drawer.
In all of the modes the sum of window width + drawer width would
remain equal. The reason I bring it up is that I almost always work
with TM zoomed to fill the screen. Toggling the drawer on/off does
not resize the window so it doesn't improve the size of the project
window. Also, if I have several nested folders, it becomes difficult
to read file names when the drawer is kept narrow. I'm constantly
dragging folders from the drawer to the dock icon to open temporary
sub-projects or revealing files in the finder just to view the files
I don't expect that this is something that enough people need to
warrant major development time, but I thought I'd just voice my
opinion. Maybe TM 2.0 will open up something that a plugin can use
to handle this functionality?
If anyone sees some obvious currently available solution I'm
overlooking please let me know.
I'm currently working on the beginnings of of RubyCocoa Bundle, and
trying to do something similar to the "Build and Run" script from the
cd $TM_PROJECT_DIRECTORY && rake
I've gotten to the point where I can run MyApp.app/Contents/MacOS/
MyApp and get the output, but only after the program has terminated.
I know there's some way to get my traces to output while I'm running
the program, but not sure how. Any pointers? Thanks,
I'd like to do a series of things automatically
each time I save a modified file. E.g. change
the name of the file adding a timestamp to it,
etc. What is the simplest way? Probably to
create a command which does all the stuff, and
assign the shortcut CMD-S to it. I do not
like this idea, emacs' hook mechanism sounds
the right way to achieve this, but I could live with it.
Anyway: how can I say TextMate to save the
open (modified) file? I mean, from inside my
When writing an article, it happens that some symbols appear very
very often, so instead of type-writing them all every time, I'm used
to create snippets or commands o make things faster and easier.
But such snippets are not to be kept in a safe place for a later
usage. So I was wondering if there wasn't a way to create project
snippets, not stored in a particular bundle, but (e.g.) in the
project file, so every time a projec is open, the custom commands are
It would be like the Scope Selector, but concerning projects, sort of.
PS: On the T-shirts debate, what about "Happy Mating"?
Is there a way to make it so that the sidebar for a project stays the
same size between invocations of TM?
"He who says it cannot be done is usually interrupting the one doing
it." - Chinese Proverb
I'm using TextMate for Ruby and Rails development. There is a feature/
behaviour that worked correctly, back in early days, but it doesn't
work now, since long. Here it goes:
I have a changelog.txt file in my Rails project, that describes
changes made in svn-commits. This file should be viewed as "Release
Notes" file-type (then it's properly colored etc.). But it is in
conflict with the Subversion-bundle (or Diff-bundle?), because
temporaty diff-files generated by TextMate (when using Subversion-
bundle) have now a .txt extension too, not .diff, as it used to have.
Now, when I'm manually switching the language from the popup-menu
(the one located at the bottom of the diff window) then next time I'm
viewing a changelog.txt, it's treated as "Plain Text", not as
"Release Notes" type of document. When I'm manually switching it to
the "Release Notes" then next time a diff is generated, it's
displayed as "Plain Text", not as "Diff".
I tried to look into the bundles, but I cannot find anything helpful.
Maybe the diffs should have a .diff file--extension? Maybe I have
something messed-up in my bundle-config?
Described behaviour is consistent on 2 machines (both PowerPC and
Any ideas? TIA.
I was just wondering if there was a way to know if a key combination
was assigned to a particular action.
Why: I would like to avoid as much as possible the use of the pop-up
showing the corresponding actions, and so, assign a unique action per
shortcut per scope.
Even if there is the "Show Keyboard Shortcuts" command, it could be
more useful to type in the shortcut you want to test, and you get as
the result a list of actions assigned to that shortcut.
Thanks in advance,