I want to be able to insert separators in the project drawer. For
example, when I create a rails project, I have the following roots:
- controllers
- models
- helpers
- views
- javascripts
- stylesheets
- rails
I want to use separators to be able to view them as follows:
- controllers
- models
- helpers
- views
-----
- javascripts
- stylesheets
-----
- rails
I guess I could use groups or something, but I prefer to avoid nesting,
otherwise I'd just do it with the rails dir and nothing more.
I'll most likely be releasing 1.0.1 later today, and I'll try to ship
it with all user submitted bundles.
So if you've made changes or you have something you haven't published,
please add it to the wiki [1]. When there are multiple bundles for the
same language, be sure to add comments to why (or merge them ;) ) so
that I can quickly get an overview of this stuff.
I'm planning to include all syntax highlight files in the
"SharedSupport" folder of TextMate, so these will be available
out-of-the-box. And then I'm also adding an external "support" folder
to the disk image, where bundles are located which contain more than
just syntax highlight files, which the user can then double click to
get that extra support (TextMate will merge the default bundle with
syntaxes with the installed bundle that contain the added
functionality).
I'd hoped 1.0.1 would have had better bundle management from within
TextMate, but this will take a little more time, and I think it's about
time the 1.0.1 update was released -- this also means that some of the
other things some of you may have been expecting for 1.0.1 didn't make
it. Don't worry, I do write down every suggestion I get, so there's no
need to re-send your feedback, at least not if I replied to it.
Kind regards Allan
[1] http://wiki.macromates.com/
Create a file test.as, open this in TextMate.
Type: if (x = y)
After typing y, using the mouse to move the caret outside of the
closing bracket hangs TextMate. This doesn't happen if you use the
right arrow key.
(This may only happen with my ActionScript bundle installed: haven't
tested this with any of the other ones).
On 16. Oct 2004, at 20:15, Max wrote:
> I'm developing a web application in PHP. Is there any chance to work
> on a php page, and then see if it works through
> http://localhost/mypage with a command? Just like F12 from
> Dreamweaver... Or do I have to switch to Safari and click on the
> bookmark I made?
I don't know what Dreamweaver does on F12, but you can do a command
like this:
open `echo $TM_FILEPATH | sed
"s|.*/$USER/Sites/\(.*\)|http://localhost/~$USER/\1|"`
Before running command: probably save ;)
Input/output: none/discard
If you are editing a page named:
/Users/max/Sites/project/page.php
It will open Safari (if default browser) and point it to:
http://localhost/~max/project/page.php
And you can of course assign F12 to this command.
Kind regards Allan
P.S. Generally send these type of questions to the mailing list:
http://lists.macromates.com/mailman/listinfo/textmate
Hi,
I've put money where my mouth is and created a PList bundle:
http://www.os3.nl/~jeroen/tm/plist_tm.tar.gz
It contains a syntax highlighting file for syntax highlighting ASCII-PList
files and a template file (with some comments and pointers).
Jeroen.
Hi,
I'm having a bit of a trouble to match a '.' which is part of a string
surrounded by " ".
I've tried: (?=\".*)\.(?=.*\".*$), but this doesn't seem to work.
Can anyone please help out?
Regards, Jeroen.
Hi,
Could the path in the file shell variables (e.g. TM_SELECTED_FILE) be
surrounded by "" if necessary? Currently it doesn't work if there are
spaces in the path.
Jeroen.
I just did a beta 5 build, this has preliminary support for the
discussed drag commands (although the GUI editor didn't make it to beta
5).
I'm thinking about calling them "Anchors", any objections?
I unfortunately broke reformatting in beta 4 (and didn't make a fix in
beta 5), the problem is that paragraph selection in soft wrap was
changed, so it won't find the paragraph automatically (if soft wrap is
enabled). Either select it manually or disable soft wrap (cmd-option-w)
temporarily. Slightly related is also that when at the begin/end of a
paragraph, selecting the paragraph selects too much.
Kind regards Allan
Hi,
We can, in a project, create a new file using a template. We can of
course customize/create new template(s), but as they are located in the
application packet, we have to re-do the job every time the application
is upgraded (every night in fact:).
Could we have customized templates stored in :
~/Library/Application Support/TextMate/Bundles/Custom.tmbundles,
side-by-side with Macros and Snippets?
Or could we save "template" files "as stationery"
--
Jo <W:00°04'37" ; N:47°15'36">
1....'....12.....'....24.....'....36.....'....48.....'....60.....'....72
Hi All,
(Is there|Will there be) an option in TM "Save as..." dialog box to
set document's creator?
i.e. when we edit an old BBEdit *.txt file, change encoding and line
ends through the "Save as..." dialog box, we also could change creator
to "TxMt" (or choose any application in a scrolling menu)
(in fact, as what happens in BBEdit "Save..." menu)
Have a nice day,
--
Jo <W:00°04'37" ; N:47°15'36">
1....'....12.....'....24.....'....36.....'....48.....'....60.....'....72