Is there a "right way" to allow for SVN log templates? Basically I'd
like to be able to easily populate the comments section of the
CommitWindow with a template (or snippet, or...).
The best I've found so far is adding:
@commit_args.gsub!("-m ''", '')
to /Applications/TextMate.app/Contents/SharedSupport/Bundles/
Subversion.tmbundle/Support/svn_commit.rb
Which causes the svn's client behavior to kick in and spawn EDITOR
(mate -w) to write comments. Is this as good as it gets?
Thanks,
Mat
I use to open some links (unix links) with mate in the Terminal. It
seems to me that TM makes a mesh with them or not have a clear
criteria with the name/location since the name that appears on the
window title is the name of the link but the location where it refers
to is the real file.
IMHO it should be better to have the real file location in both cases.
Hi everyone :)
Since some months I have had error messages when trying to update my
installed bundles with GetBundle's "Update Installed Bundles" command.
2 different error messages are returned (randomly one or the other,
os so it seems to me) :
1 -> [Target path does not exist]
2 -> [REPORT request failed on '/svn/Bundles/!svn/vcc/default']
Still, after displaying one or the other message, GetBundle tells me
that my bundles were updated an that I can use them...
If I remember well, it all started when I tried to install a bundle
(but don't remember which) and had some error messages during install.
It seems that some people encountered this kind of problem already,
but I couldn't find appropriate solution in this mailing-list archives.
Any help would be appreciated :)
Thanks,
Luc.
Hi,
I have a tiny question:
How can I invoke an inline menu by using 'tm_dialog -u' from a
tmCommand written in bash?
I'd like to popup an inline menu à la Ruby
require File.join(ENV["TM_SUPPORT_PATH"], "lib/ui.rb")
words = STDIN.read().split("\n")
print words[TextMate::UI.menu(words)]
but using 'tm_dialog -u' command.
OK. I can embed Ruby-code in my Bash script, but it should be
possible to use only
tm_dialog -p "{???}" -u
I have no problems with for instance:
PLIST=$(tm_dialog -mc -p '{title="Hallo";}' RequestString)
I tried to write a old-stylish plist using menuItems, title=, etc.,
but up to now I couldn't find a solution.
Thanks in advance for any hint,
Hans
On Jul 19, 2007, at 6:52:07 PM, Cliff Pruitt wrote:
> Yeah I know what you're saying & of course Emacs & vim are "text
> editors". :-) But honestly how many "editors" of any kind have a
> read-only mode? (This is where someone emails me a list of like
> 3,000 read-only editors & I look like a jerk... happens every time.)
One feature of BBEdit that I've missed since moving to TextMate a
couple years ago is the ability to open a file Read Only, or even to
mark an already-open file as Read Only. It's not something I would
call a key feature that all text editors need to have, but it is a
great way to protect a file from inadvertent changes (aka protect me
from myself).
When working on one source file I very often have another file open
from a completely different project, for reference or for copying
code from. More than once I've modified the wrong file and
accidentally saved my changes, then had to use version control to
revert back. It would be much easier if there was a fast and simple
way to open the reference file Read Only.
Don't know about the other 2,999 editors that off that feature, tho,
so I'll let others chime in about that ;)
- Dave
This ought to be easy! :)
I want to be able to use "Wrap Word in Link" (currently in the
Hyperlink Helper bundle) in a php file.
With no modifications to the bundle, evoking the activation: <Key
Equivalent> has no visible effect at all.
Adding "source.php" to the Scope Selector List of the bundle, then
trying evoke the action results in
(this language is not supported, see … for more info)
being inserted in the document.
Umm?
First, how does anyone suggest I get this to work?
Second, "see <ellipsis> for more info" is hardly helpful !!
Thanks,
eo
Dear friends,
several people on this list have brought up the issue of non-sticking
passwords in the new MySql bundle. There were suggestions to
reinstall, revert bundles to original state etc –– I have done that,
but I am still prompted for password with every query and with every
change of table in the database browser.
What is the solution for this problem?
Secondly, I mentioned before that the mysql bundle is not happily
working with non-latin unicode -- queries containing, for instance,
Cyrilic or Greek are not executed as they should (they return no
values), and tables containing non-latin utf8 text display question
marks instead of text.
I am kindly asking for any tips -- the mysql bundle has become
unusable for me, and I need it very badly.
All best,
Tench
Hi There,
This seems like a FAQ, but I haven't been able to find the answer
after some looking. Textmate doesn't have a "match entire word" check
box in the find dialog, like most text editors. Presumably, we're
supposed to use regular expressions to achieve the same effect. Most
times, the word is a variable name. So for my variable x in C++, I
want to find all uses including:
x[i]
x->foo
x.bar
I've been trying to bracket the variable with the "non word
character", so I search for the regular expression \Wx\W
This excludes xbar, and foox. However, this isn't quite the same as
matching just the word, as the find dialog also selects the previous
and next character, matching the \W. I can't use it in a replace, for
example. Is there some cleaner way of doing this?
Thanks,
Craig Schmidt