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
What are *exactly* the folding rules? I understand
folding keeps into account both the rules given in
the language definition and the text indentation,
but which one takes precedence? above all, is there a
way to completely overrule the indentation thing
and let folding use only the rules declared in
the language?
Thanks,
Piero
Just wondering how I can go about assigning a key combo for opening
project files in their own windows? (I like to keep the files I'm
actively editing in separate windows so I can easily compare back to
what I already have.) The help says to go through System
Preferences, but it wants the exact name of the menu item, which is
variable in this case (Open "foo" in New Window). Also, it seems you
can only open one file at a time this way, which is a bit of a drag.
-Ted
I'm new to htis and saw some previous postings on xcode. I don't know exactly
what xcode is or even why I need it at all. All I want to do is execute Ruby
code using the <command>R command, but I keep getting and xcodebuild error
saying there is no xcode project in my directory. xcodebuild shows up in my
terminal shell. I know I installed Xcode. How do I configure Textmate so that
shelling out to Ruby will execute correctly with Xcode?
I was just about to buy textmate (I've got the book, so I certainly intend
to buy it) when I read this
page<http://www.wired.com/software/coolapps/news/2007/06/core_anim>and
saw this sentence:
Allan Odgaard, the developer of TextMate,
says<http://macromates.com/blog/2006/20-will-require-leopard/>the next
version of the text editor will only work on Leopard.
So I'm wondering if I buy textmate now, what the upgrade policy/price will
likely be? Any experience with their upgrades?
Thanks,
ge
--
Besta é tu se você não viver nesse mundo
The following pieces of code are indented incorrectly by "Indent
Selection" - ⌥⌘[ . Any fixes?
Prb 1:
/*
This comment causes the problem in the indentation of the function
statement below. I guess since it does not end with a semi-colon the
following line gets indented.
*/
void abc()
{
if (xyz)
{
}
}
Prb 2:
void abc()
{ /* If this comment is removed, indentation is okay.*/
if (xyz)
{
}
}
Hello all,
One thing I found useful in BBEdit was the ability to show the
pinstripe column markers -- I find this invaluable as a guide when
coding in python, where indentation is critical. Might this be a
feature that you all would find useful?
JP
Hi,
I wanted to suggest adding a confirmation dialog for subversion
revert. My problem is that a lot of times I want to update my project,
but I miss the target and press revert instead. I'm not sure if a
single Cmd-Z undo's all of that, but it's a bit annoying anyway.
Thanks In Advance
José Manuel Sánchez
Hi,
I'm currently woking on a small spreadsheet in TM, and some of my
column alignment is broken. I think it's due to accented letter. My
text encoding is UTF-8.
I don't know if I'm doing something wrong or if it's a bug. But in
both case, the mailing list is probably a good way to get more
information.
As usual, thanks for your help.
Édouard
Hi everyone,
Just wondering if there is a way to modify the hyperlink helper bundle
when working in markdown (ok, I'm pretty sure there is a way, I just
don't have the sweet skills to accomplish this on my own).
Currently, when i paste a link using ctrl-shift-L I get:
[text](http://linkaddress.yay)
I would prefer to get
[text][1]
and then have the link entered at the bottom of the document.
[1]: http://linkaddress.yay
Any thoughts on how this could be pulled off?
thank you.
--
Jeff Newman
I'm trying to use hex codes in a regular expression from the find
dialog:
[^\x00-\x80]
This doesn't work to find non-ASCII characters
Nor does this:
\x20
to find spaces
Am I doing something wrong?
Thanks
Jeremy
Hi
I'm looking for a way to easily encrypt and decrypt a text file. It
should do the following:
- On open, ask for the passphrase and decrypt the document
- Display the document plain text, allow edits
- On save, automatically encrypt the document, but leave the
unencrypted doc open.
I'd use this to store passwords.
Any ideas?
Thanks a lot!
André
Textmate is great to work with, if you are using it on your mac. The moment
you have a file on a remote server though, things get tough, at least with
MacFuse using SSH.
Here are the most prominent problems:
- It is impossible to import a directory. You have to import the files
individually into the project. I don't know why this is the case, but sadly
it seems nothing can be done about it.
- Saving a file takes ages and locks up textmate. I have no problem if
saving the file takes time, after all it is going across a network. What I
don't understand though is why textmate has to lock itself up while it is
saving a file.
But maybe I am going the wrong way about it altogether for working with
remote files?
--
View this message in context: http://www.nabble.com/Textmate-for-remote-files-tf3822831.html#a10822703
Sent from the textmate users mailing list archive at Nabble.com.
Hi all,
for easier navigating with throught tex file and pdf with pdfsync, I
want to write one sentence per line in my tex document.
I wrote the a snippet inserting '.\n' with the key equivalent . (<dot>).
As I want it to apply to and only to the scope "text.tex.latex", I
had to set the scope selector to:
text.tex.latex - string - source - meta - entity - support - comment
to avoid to insert a line in lists, comments, etc...
Although it works well, I'm pretty sure there is a simpler scope
selector for this task.
If not, here is a feature request for TM2: Alow more complex scope
selection, with wildcards/jokers/regexps, or anything else...
please ;-)
Xavier CAMBAR
Hi All,
I am creating snippets and I was wondering if there is a way to force tabs
to follow similar lines...
Sample
Snippet 1
mytext -> -> -> Text
Snippet 2
(listens to line above and uses the tabs necessary to align Text in next
line
mytexttwo -> -> Text
So it would look like this:
mytext -> -> -> Text
mytexttwo -> -> Text
I can create two different snippets that use 1 or 2 or 3 tabs as neccesary
but since i will never know what mytext will be I need to create the tabs in
some kind of dynamic way.
Any ideas?
I must be missing something really obvious here but I don't know how
to do this most basic thing:
(1) Drag a folder onto TM icon to open as project
(2) Open an HTML file called index.html
-- Now here's the part that throws me ---
(3) Make a new file called index2.html based on the original index.html
My first instinct is to right click on the file in the project drawer
and look for "duplicate file" or something similar - no such option
exists. So the next thing I try is opening the file and using "Save
as" to make the new file. This actually works but something weird
happens: In the drawer, it has the effect of *renaming* my original
file rather than adding a new one. If I switch to another
application and then back to TM, the original file reappears. Is
this expected behavior?
So what's the preferred method of creating a new file starting with a
copy of an existing one?
Thanks!
Sean
:::: DataFly.Net ::::
Complete Web Services
http://www.datafly.net