Hi,
We are evaluating textmate as part of a wider move from PHP to Rails. I have an issue which I hope someone here might be able to help me with...
We have a shared linux development server and we each checkout and edit our files on the server remotely either via samba shares or directly by SSHing in. This is so we can preview the changes in our dev sites as we make them.
This works OK for the windows guys (they use Tortoise svn and map a network drive to get to their files). I am OK as I am comfortable in the terminal and don't mind SSHing over to the dev server to do any subversion stuff, but we have a couple of designers who have a fear of command lines and want to work strictly within textmate. Running any SVN command from textmate fails because the samba share appears like a local directory and all the SVN commands get screwed up. It then locks their copy and we have to clean up the locks.
Is it possible to set up textmate to either tunnel the SVN commands through SSH so they run in the devserver environment as if performed in a dev server shell or switch to using a different network filesystem (SSHFS, maybe?) so that we can edit our files remotely on the development server and use SVN from within TextMate?
We'd even consider moving to another open source version control system to fix this as long as there is good support for Mac, Win and linux...
Many thanks in advance,
Matt.
---------------------------------
What kind of emailer are you? Find out today - get a free analysis of your email personality. Take the quiz at the Yahoo! Mail Championship.
Hi,
Textmate incorrectly labels italicised and bolded text.
In the following markdown: "this is s_om_e markdown", 'om' will be
tagged as italicised. When converting to HTML, 'om' will not be
italicised. I am guessing that the Markdown processor requires that
italicised text be surrounded by white space. The same is also true
for bolded text.
I was able to modify the language grammar to not incorrectly tag the
text. My solution is probably quite naive but it did work for me. Can
someone with more regex fu vet this and can we get it added to the
official bundle please (assuming it should be added and I am not
wrong on this).
Luke.
I've been toying around with the idea of a PHP/HTML language
definition. The problem is that when I'm working on a PHP project, I
switch back and forth between pure PHP files and PHP/HTML files all
the time. As you can imagine, switching the language definition each
time to get proper syntax hilighting can get bothersome. It would
most likely be a huge bundle and take a lot of work, but I was just
wondering if anybody else has found any tricks for this kind of issue
before I investigate it further.
Thanks,
Michael
Hello!
I have the following Latex code.
\begin{lstlisting}[language=PBN]
[Board "<Boardnummer>"]
\end{lstlisting}
The "< starts the scopes
punctuation.definition.string.begin.latex
string.quoted.double.guillemot.latex
The scopes are still active after the code.
Helge
With this function declaration TextMate will not show it in the
symbols list. Is there anyway of importing symbollists from external
commands instead of using regexps?
void client_clause_string(char *buf, int bufsiz,
struct Clause *pclause)
{
}
--
/Erik
Hi --
A quick request for help...
I thought there might be someone knowledgeable here about an error
that cropped up for me with the latest build (1372). I apologize in
advance is this isn't the sort of thing discussed here or if I should
bring this to another forum, but since it just happened NOW, minutes
after my update, I thought this might be the place.
Anyway, I'm using GTDalt and the context command (shift-@) gives this
error after the selection from the dialog:
/Users/mcg/Applications/Text/Textmate/TextMate.app/Contents/
SharedSupport/Support/lib/dialog.rb:138: warning: Insecure world
writable dir /Users/mcg/Documents, mode 040756
Any advice. Did I do something clueless when I grabbed the latest build?
-- Michael
I am having a problem with the GTDAlt date picker. The date inserted
does not correspond to the date entered. So entering 12/03/2007 gives
me 2007-03-11. And entering 31/05/2007 gives me 2007-05-29.
While on the topic of the date picker a small issue about the UI.
Dates are entered day month year. I think it should be year month day
for two reasons:
1. That way it is consistent with what is entered in the file.
2. The date picker defaults to the current date which is now
February. Helpfully it doesn't allow you to pick a day not in that
month. So to enter in 31/05/2007 I first had to tab ahead to change
the month before entering the day (since there are not 31 days in
February). The year month day format would avoid this problem.
Thanks.
All the best, Mark
_________________
Mark Eli Kalderon
Department of Philosophy
University College London
Gower Street
London WC1E 6BT
Departmental webpage: http://www.ucl.ac.uk/philosophy
Personal webpage: http://markelikalderon.com
Hello all,
I use the Pascal bundle quite a bit, and I've been annoyed that it can't tell the difference between declarations/prototypes of functions and definitions of functions.
I'll give you that this is tricky - in Pascal they both mostly look the same, and what they are is really determined by the next line (which would be a BEGIN if it was a definition)
FUNCTION aTest(varName: theType);
However, there is two cases where such a difference can be seen easily: the forward keyword and the external keyword
FUNCTION aTest(varName: theType); FORWARD;
{a prototype of a function found later in the file}
FUNCTION aTest(varName: theType); EXTERNAL;
{EXTERNAL is just like C's extern keyword}
And, in GPC (the Gnu Pascal Compiler) there's also:
FUNCTION aTest(varName: theType); attribute (name = 'aTest');
{You could see this kinda like declaring a prototype in C -
functions above this in the file OR outside the file
can call this function
}
Can we make the Pascal bundle use the following regular expression in the meta.function.prototype.pascal scope (so then we can use a preference to turn off their appearance in the symbol list?
\b(?i:(function|procedure))\b\s+(\w+(\.\w+)?)(\(.+?\)); (attribute|forward|external)
Or other thoughts etc would be appreciated - this could be an inefficient way of doing this.
Thanks In Advance,
_Ryan Wilcox
--
Wilcox Development Solutions: <http://www.wilcoxd.com>
Toolsmiths for the Internet Age PGP: 0x2F4E9C31
Hi All,
I just got the latest build, Version 1.5.5 (1372), and I noticed that
the python language syntax is now somewhat broken for comment
characters (#) inside regular expression strings r'some regular
expression'.
like:
some_reg_string = r'#'
shows up as illegal / incomplete syntax.
And e.g. all my code following this line:
parentPattern = re.compile(r'^#extends (\w+)\s*$')
becomes:
source.python
meta.function-call.python
meta.function-call.arguments.python
which is a little confusing.
best,
dirk
-----------------------------
Dirk van Oosterbosch
de Wittenstraat 225
1052 AT Amsterdam
the Netherlands
http://labs.ixopusada.com
-----------------------------
This morning I got the notice to update to a new cutting edge build.
Now when I try to use the svn status command I get the following error:
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/
web_preview.rb:70:in `html_head': undefined method `+' for
nil:NilClass (NoMethodError) from /Applications/TextMate.app/Contents/
SharedSupport/Support/lib/web_preview.rb:117:in `html_header' from
(erb):29
svn update gives this error:
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/
web_preview.rb:70:in `html_head': undefined method `+' for
nil:NilClass (NoMethodError) from /Applications/TextMate.app/Contents/
SharedSupport/Support/lib/web_preview.rb:117:in `html_header' from
(erb):29 -:13:in `write': Broken pipe (Errno::EPIPE) from -:13:in
`puts' from -:13 from -:13:in `each_line' from -:13
svn info:
NoMethodError
reason: undefined method `+' for nil:NilClass
trace:
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/
web_preview.rb:70:in `html_head'
/Applications/TextMate.app/Contents/SharedSupport/Bundles/
Subversion.tmbundle/Support/format_info.rb:43
I didn't have any reason to test other commands.
Previously I never had any errors. Is there some new setting to get
svn status working again? Or some old setting I might have that would
be throwing it off?
In the advanced prefs I have TM_SVN set to /usr/local/bin/svn and
that's the only svn related change I have made to TextMate.
thanks,
john