Hello all.
I have been looking at Textmate and bluntly, have been blown away by the
balance it has gotten between a really narrow scope that is done really
really really well.
For example, "wrap each line" bundle command is just majic! I can't think
how many times I have had to do this by hand in Dreamweaver!
But I have a question that I am sure someone else has solved that I have not
found a solution for on the web.
That is, how do you integrate Textmate, with SVN and also manage sites?
Now, before ou just hit reply and say "SVNX" let me explain...
Dreamweaver has a nice feature, that is, it knows about all the files in the
site. if you change the location of a
file, change the name of a directory or the name of the file itself within
the site, it will run back through the entire site and update every link to
that file.
This is especially useful when you are re-coding sites and bringing them up
to the CSS age.
The problem with this, is if you do it, SVN doesn't see it and SVN then
complains about missing file X and added file Y when in fact it is a simpel
rename X to Y - the end result of this is polution orphans in the SVN
database (not a huge problem, unless you are using huge files)
Conversly, if you do the move from SVN (svn rename big_picture.jpg
little_picture.jpg) then Dreamweaver doesn't know about it and can't find
those 101 references to big_picture.jpg that just got moved (of course you
can do it with a find/replace, but this does not handle relative links).
One obvious solution is move it with SVN, then do a find / replace in
textmate.
But that doesn't handle relative links
(../../../img/myimages/little_picture.jpg being the same as
../myimages/little_picture.jpg)
So how do you do it? I think my answer lies in regex.....
Does anyone have a solution out there to this particular problem?
Regards
Mikel
Is there any more in-depth explanation anywhere about what alt-up/
down really does? I understand there's some sort of columnar
behavior, but when I use it in prose text, it seems to behave in a
rather baffling manner to me... I've been looking for an equivalent
to the (IMO very useful) ctrl-up/down functionality in Emacs (next
paragraph, or, rather, next empty line, basically) and thought
perhaps this might work somewhat like that -- and it seems to, if I
move to the beginning of the line first. (OK, so the "next paragraph"
functionality is a question of its own, I guess; is there something
like it?)
And while I'm on the topic of navigation (and things I miss from
Emacs ;-) -- if I accidentally press cmd-up or down, I completely
lose my current location. Any way of "undoing" something like that?
(In Emacs I used alt-x x or something like that, to switch position
with the position before the navigation.) It's not always that I
remember to set a bookmark before this sort of thing -- mainly
because it tends to be accidental :->
--
Magnus Lie Hetland
http://hetland.org
Sorry if this is a well-known issue, but I couldn't find anything
about it...
For some reason, completions no longer seem to work in my
installation of TextMate. Whether I press the escape button *or*
select Completion > Next Completion (or Previous Completion) from the
menu, all I gett is the system bell/beep.
Does anyone have any ideas about what could have caused this (have I
pressed some Forbidden Keyboard Combo™?) or, perhaps, how I could go
about figuring it out (or, preferably, even fixing it)?
--
Magnus Lie Hetland
http://hetland.org
I'm trying to do something a little weird and I'd like some help. It has
to do with tabs.
The local coding standard is to indent with hard tabs, 8 characters wide.
So far so good. But we want to avoid tabs within the line, after the
first non-whitespace character. Example:
int foo = 1234; // foo
int bar = 5678; // bar
int foobar = 12345678; // foobar
So before the "int" there should be a hard tab, but before the "=" and
"//" characters there should just be spaces. I'd like to use the tab key
for all of this (ie., <tab> i n t <space> f o o <tab> = 1 2 3 4 ...),
changing its behavior from hard tabs to soft tabs depending on where I am
within the line.
I wrote a command script that will actually do this and bound it to the
tab key with Activation: Key Equivalent. But, unfortunately stealing the
tab key like this breaks ordinary tab triggers and tabbing between snippet
fields.
Anyone have suggestions on how overload the tab key without losing what
it already does? I'd also accept some way of binding tab triggers
and snippets to some other keystroke.
--
Steve King, <steve(a)narbat.com>
Hi guys!
Trying out and loving textmate!
Got a question. on the HTML screen cast, it has img(tab) and image(tab) as
being bundle items for filling out self closing image tags for HTML.
Can't seem to get it working here.
I have the document as HTML, did a search
in "Select Bundle Item" for "img" and "image" and nothing comes up.
In the HTML bundle in the editor, nothing.
I can make a entry for it, but from the screen cast it looks like something
else is wrong with my setup.
Any ideas? Am I missing a key bundle?
Thanks!
Mikel
Hi!
I read on the blog-comments that someone has snippets for adding
technorati-tags to his blog-post.
I would really appreciate it if someone could send me those (and
maybe those could be added to the blogging-bundle?).
Does the Blogging bundle supports pinging to sites like Technorati?
Niels
--
Jammern für Anfänger: Niels K. (25) Jammerbacke -- auch für
professionelles Jammern zu haben
http://jammern.wordpress.com
Hi there....
I'm new to the list, but have been keeping tabs on the progress of
the AS bundle
(and sometimes using either get bundle or svn, i dont get the changes
your blog posts mention... but thats another point)
I agree with Aaron regarding -main being optional... for a few reasons:
a. main sort of binds us to either ignoring some of the benefits of
library based movie clips or using _root
b. some of my clients, are small studios, designers and other small
teams.... some of them have decent actionscript skills some have
people on staff that can really rock it.... but forcing a swfmill -
mtasc - textmate workflow would simply not work or be more than a
little unjust...
I use textmate/mtasc/swfmill to improve MY life and workflow, it
saves me time, the strictness helps me debug and it doesnt crash, i
hate the flash IDE.
But months down the line or right before launch on a project I've
long since moved on from i hate clients calling me for small pitlling
changes pulling me off other projects to do small maintanence tasks,
or helpt them tweak a now completed project by nudging things here
and there when they or there staff are more than capable. I
externalize all content, but still things continually come up that
normally any number of them would be able to do themselves via the IDE.
Adding a call to my controller class in the flash, populating the
library and then compiling it once and never touching the IDE again,
works well for me, (i customized my rb file to not call main) this
allows my clients to then open the fla if they need to down the road,
make their changes and compiling with the ide where they feel more
comfortable. But as soon as i share it with someone who has a similar
workflow, and the main call loops ad-infinitum.
Ok, so i rant a bit, but sharing across workflows is enough reason to
make -main optional.... no?
Also is there any way to avoid needing to list our classes in the
main class? It feels like including code to force compile inside the
application really mucks things up in regards to separating build
instructions from the code itself... i guess thats an MTASC issue
more than an actionscript bundle issue, i tried using -pack to work
around this but then I got class redefinition errors on the main
class....
cheers,
t
Ahoy TextMateys…
I like the cocoa completion menu thing.
Open TextEdit. Type a few letters. Hit option-escape.
I want to make a tm_dialog nib that works exactly like that one does.
Does anyone know if that is at all possible?
I like the current dialog menu that we have with tm_dialog --menu.
But it's really not ideal for doing code completion.
What would need to happen is that while you're typing you can open up
the completion panel, but keep on typing.
Escape would banish the panel
Up and down would move the selection in the completion list
and insert the rest of what you're typing
and select it
right would banish the list and keep the currently selected completion
etc...
Is that at all doable?
thomas Aylott — subtleGradient — CrazyEgg — sixteenColors
When I got the latest TextMate update, I was happy to see that
incremental search is put in. That makes me very happy, since Ctrl-s
is imprinted in my Emacs-brain.
Getting into the incremental search works fine, but when I see
something I want to edit, how do I get out of the search mode without
using the mouse? Again, copying Emacs, I should just use a cursor
key, but instead it seems that I have to use the mouse button.
Anyone have another method that I missed?
--
Mike Hostetler
http://mike.hostetlerhome.com/
Does the Show Web Preview command in Textmate 1.5.5 (Build 1372) have
a problem displaying text sized in ems? For some reason, text set in
a style sheet at 0.8 ems doesn't display at the same size as when the
page is viewed in the latest versions of Safari, Firefox, Camino and
OmniWeb.
On a possibly related note: does TextMate use Webkit for Web Preview
and, if so, is it possible to have TextMate use a nightly WebKit
build instead of the version Safari is based on?
I've searched the archives and couldn't locate any other discussions
about this.
Brooks