Hi,
sorry if this is off-topic, but i I think someone may know the answer...
i am using macfuse/sshfs to access my server. until the latest update i I
was able to invoke svn from within tm with a project on this mount. now, i I
have to do svn commands via a ssh session because of permissions on the .svn
dir
Any ideas?
dc
-----
David Clark
Database Developer
Institute for Community Inclusion (http://www.communityinclusion.org/)
david.clark(a)umb.edu
(617) 287-4318
I'm trying out TextMate after a year of using RadRails/Aptana for RoR development. I'm trying to use "validate syntax" in Ruby bundle but no matter what Ruby code I have, it seems to always pop up a tool tip saying the syntax is valid.
Also, it seems to be using /usr/bin/ruby instead of /usr/local/bin/ruby, even though /usr/local/bin is first in my path, so it's finding 1.8.2 instead of 1.8.6.
I haven't had much luck in finding information on this feature, so I hope this is a good place to ask.
Thanks!
Hi all,
My C/C++ code doesn't always get parsed correctly, and I think I've
narrowed the problem down: the bundle doesn't seem to like it when my
parentheses are on separate lines. An example:
---------------------------
int a (int *p);
int
main (
void
)
{
int *p = 0; /* null pointer */
return a (p);
}
int
a (
int *p
)
{
int y = *p;
return y;
}
---------------------------
Is this intended? If not, how can I fix it?
Thanks!
John
1. It would be nice if the Regular Expression and Ignore Case
checkboxes were synchronized between Find and Find in Project (the
find and replace text are, so it seems these checkboxes should be as
well).
2. I was somewhat surprised to discover that regular expressions can
match across multiple lines. Or rather, I was surprised that TextMate
feeds the regex engine the entire buffer instead of a line at a time.
This is powerful, but it would also be nice to have a checkbox to
force TextMate to feed the regex line at a time.
j.
Hi all,
The subject has probably been discussed a number of times, but a
little googling didn't bring me a satisfying answer.
Is it possible to add smart folders capabilities to the project
drawer, like XCode does?
Sorry for my unability to find answers by myself! ;-)
Xavier Cambar
Just getting into TextMate (love it). I am trying to customize my own theme
(don't know a lot about RegEx yet). In the Ruby Bundle the language
settings have the following.
{ name = 'constant.other.symbol.ruby';
comment = 'symbols';
match =
'(?<!:)(:)(?>[a-zA-Z_]\w*(?>[?!]|=(?![>=]))?|===?|>[>=]?|<[<=]?|<=>|[%&`/\|]|\*\*?|=?~|[-+]@?|\[\]=?|@@?[a-zA-Z_]\w*)';
captures = { 1 = { name = 'punctuation.definition.constant.ruby';
}; };
},
So to me this appears customizing the syntax of symbols and math operators.
But when I Create a new Syntax element and set the scope to "
constant.other.symbol.ruby" the symbols and math operators don't change to
what I want. They stay like the default syntax "ruby.source" and i don't
know why because the symbol information has a more detailed scope.
Also does anyone have a language element that I can add to my language
definitions to allow me to chose syntax highlighting for function calls. Not
function definition, but actual functions being called upon such as:
old_inventory = inventory_from(ARGV[0])
With "inventory_from" being the thing I want to highlight?
Is there a way of permanently excluding build directories from a project? I have
a Python project that I develop using TextMate, from which I have to repeatedly
delete references to the build directory. After deleting references, of course,
the very next time I build the project, TextMate sees new files and adds them
back into the project.
Any help here most appreciated.
I'm just starting to try out TextMate, but a bunch of my commands are
failing for what looks like pathing issues.
A simple illustration of the problem is trying to do the 'Execute
Line Inserting Result' command on say, 'ls' for example. I get:
ls
/bin/bash: line 1: ls: command not found
Trying to do something like 'Filter Through Command...' yields man
many lines of '/bin/bash: line 1: dirname: command not found'
It looks like a path issue. I'm using .MacOSX/environment.plist to
set my environment path, but /bin, /usr/bin, et all are in there. So
I don't see why that would be an issue. The only other funky thing
I'm doing is parsing my environment.plist in .profile so I don't have
two sources of path information. Again, not sure why that would be
an issue, but it's at least related.
This is all on TextMate (trial) Version 1.5.5 (1368)
Any ideas?
Thanks in advance!
-Mat
For a project I'm working one I'm trying to figure out a way to tab
indent new lines of code between certain tags (mainly <head> and
<body>). Unfortunately I'm not as good at regular expressions as I
thought I was and can't figure it out.
Anyone out there able to lend a hand?
Thanks,
Mike Stickel
http://screenflicker.com/mike/ | http://gonecksgo.com