I like the fact that I can have several folders each representing a
"project" within a TM Project.
However, it becomes quite confusing when editing files in a Project
set up this way.
- TurbogearsProject(group)
- Admin/
-admin/
-controllers.py
-static/
.
.
-Website/
-website/
-controllers.py
-static/
.
.
When editing the file "controllers.py" from folder Admin/admin/ and
Website/website/controllers.py there's no distinction between the two
files in the editor.
The list in cmd-T shows the files as "controllers.py - website" and
"controllers.py - admin". Is there any way I can get the same in the
file tab in the editor?
regards
/rune
---------------------------------------------------------------------
Behind the firewall, nobody can hear you scream...
Hi all,
Have downloaded the demo (1.1b17 (769)) and currently evaluate
TextMate (vs bbedit/textwrangler) against my needs. It looks like the
editor I was missing :)
Indeed I work on the support of the CLAIRE language which have
special construct that are often impossible to describe with other
editor's syntax facilities. The way TM handles languages/scopes and
other language inclusion is the best I've ever seen. I could create a
CLAIRE bundle that, for the first time, handles correctly the syntax
of CLAIRE (and, trust me, I'm not a regex guru...)!
My question is about a language description design. I tried (but
failed) to design the grammar such anything that is a valid CLAIRE
construct is described by a specific pattern and anything else falls
into the scope of 'invalid.illegal.something'. For instance, in
CLAIRE, a variable scope is introduced with a 'let' construct :
let x := 1, y := 2 in (x + y) // valid
let x := 1, y := 2 *BAD* in (x + y) // invalid : *BAD* illegal
The rule that describe the 'let' construct would look like :
let <#var-def-list> in <#any>
Which can't be described with a begin/end pattern, unless I can
reference a repository rule from whitin the begin/end pattern. Can we
do that ?
Is there a way to acheive this ?
Sylvain
I posted a bug report about TextMate basically not handling Japanese
well at all but am wondering if anyone has had problems working with
other double-byte languages or Arabic?
Cheers
Kyle
--
mobile web gear | pukupi.com | 34°40'n 135°30'e
I may simply be confused, but I just had a global find/replace
operation appear to go rather haywire on me and thought I'd ask about
it. The following values were entered in the dialog...
Find: <cfif Session.InAdminGroup IS "Yes">
Replace: <cfif Session.InAdminGroup>
"Ignore case" was checked and "Regular expression" was unchecked.
Here's what I ended up with in each replaced instance...
<cfif NOT Session.In<cfif Session.InAdminGroup>>
That doesn't seem quite right to me.
--
Jack Baty
Fusionary Media - http://www.fusionary.com
Found this util today:
http://eigenclass.org/hiki.rb?
Enhanced+xmp+code+evaluation+and+annotation
You feed it code and it puts the output in comments, i.e.
a = 5
a # =>
would return
a = 5
a # => 5
I set up a command to save and run this filter to replace the document
and bound it to F10. Also a command to take the selected text, add
".inspect # =>" and push it to the clipboard.
Anyone interested?
___________________
Ben Jackson
Diretor de Desenvolvimento
+55 (21) 9997-0593
ben(a)incomumdesign.com
http://www.incomumdesign.com
How do I add my precious KID templates to the dropdown menu in the
dialog resulting from cmd-N?
(Yes, they are present and working in the File->New from template
menu item)
regards
/rune
"Never attribute to malice what can be adequately explained by
incompetence"
Like most on this list, I love TextMate.
There are tons of useful features in it, and I keep finding new ones every date.
I just stumbled on the Cmd-T file-find the other day, in fact. I just
learned that my peeve about columnar selection was based on my
ignorance of the fact that you can toggle to columnar by hitting
Option after starting the selection. Every day, I'm pleasantly
surprised by a new feature.
However (and you knew that was coming...), the help files are a bit
sparse, and the discoverability of some features is pretty bad.
(By the way, the documentation wiki[1] seems to be down right now.)
Screencasts are all the rage now, and I was thinking of making little
30 second - 1 minute demo vids of some useful but hidden TextMate
features.
The problem with that idea is that it's not just the screen people
will be interested in, but the keyboard interaction.
I'd like to provide a keyboard overlay on the demo vids, which would
show which keys are being depressed to get the specific features to
activate.
Does anyone know how to do this?
I'm familiar with vnc2swf and wink. I'm also considering buying
Camtasia and/or Snapz Pro.
I guess a "stay-on-top" utility could be used and just be captured
along with the subject app usage.
Any pointers appreciated...
[1]
http://macromates.com:3000/read/book/1
I didn't see this in the list, but that doesn't mean it's not there.
It would be cool to have a back/forward functionality like in a
browser. For example, I often use cmd-T to find a file to look up the
signature of a class method or whatever. Then I want to go back to
the last file I was viewing. If I have more than 8 files open, the
tabs become useless. I could use cmd-W to close the file, but often
times I have three files that I'm working on at one time and it would
be nice to be able to just quickly switch between them in the order
in which i've looked at them.
Browser-ifying the tab system is a pet request of mine that I hope to
someday see realized. TextMate is an amazing editor - thank you
again, Allan.
Ed
> Did you try with tm-file:// ? The following works for me:
>
> echo "<meta http-equiv='Refresh' content='0; URL=tm-file://localhost$
> {HOME}/Sites/index.html'>"
>
> And alternate way to redirect is btw via the html “support library”
> found in the TM_SUPPORT_PATH (first library “includes” (sources) the
> library):
>
> . "${TM_SUPPORT_PATH}/lib/html.sh"
> redirect "tm-file://localhost${HOME}/Sites/index.html"
Neither of these are working for me:
. "${TM_SUPPORT_PATH}/lib/html.sh"
redirect "tm-file://localhost${TM_PROJECT_DIRECTORY}/public/index.html"
echo "<meta http-equiv='Refresh' content='0;
URL=tm-file://localhost${TM_PROJECT_DIRECTORY}/public/index.html'>"
___________________
Ben Jackson
Diretor de Desenvolvimento
+55 (21) 9997-0593
ben(a)incomumdesign.com
http://www.incomumdesign.com
I apologize if this has been brought up before.
Cutting and pasting text when in Python mode always pastes the text
four spaces (my indent width) to far to the right .
When pasting inside a <class>, text is pasted 8 spaces to far to the
right measured from the current cursor position.
<cmd>[ shift left does not work on my norwegian key map. (<cmd>]
shift right does.)
As you might imagine these two together is quite annoying ;)
regards
/rune
"Never attribute to malice what can be adequately explained by
incompetence"