> Is there a way to add Xyle Scope to the list of browsers that will do a
> preview under the HTML Command?
That would be awesome!
___________________
Ben Jackson
Diretor de Desenvolvimento
ben(a)incomumdesign.com
http://www.incomumdesign.com
Are there any plans for, or any interest in, making it easier to see
and set the newline style of open files? Right now it seems you can
control this only through the Preferences dialog, and there's no
at-a-glance way to tell (or change) what newline style an open file is
actually using.
The absence of this bit me last night, when I made changes to
someone's PHP file that had been saved with Mac newlines. I had added
some HEREDOC-quoted text, and the script started throwing parsing
errors which completely stumped me until I opened the file in Some
Other Text Editor and saw that it was using Mac newlines.
A newline type selector/indicator in the bottom bar is the most
obvious thing to do (it might even be combined with the spaces/tabs
popup), but I'm sure there are other ways to do it as well.
Possible?
thanks
pb
--
Paul Bissex
http://e-scribe.com/news/
Northampton MA USA 01061-0847
First wanted to say I love textmate. It and amazing piece of work
and I just recently discovered it. (I just switched to a mac a few
months ago).
i'd like to see an option to sort folders first in the files panel.
I am not sure how possible this is with the cocoa controls
Another suggestion (and I think it was already purposed) is to be
able to double click on folder names.
I just wanted to see if this was a possibility before I purchased :)
-- Eric
--
Eric Coleman
http://aplosmedia.com
home: 412 399 1024
cell: 412 779 5176
i'm sure there's been discussion of this before, but was wondering if there
was anyway to add a preference to have the tabs for the open files of a
project wrap to multiple lines instead of limiting them to one line and
having that dropdown menu on the right show up. i like to see ALL the files
i have open at once and can't stand that dropdown. is this possible? it
seems the 'tab component' should be able to handle this. i can look into it
if you'd like...
thanx!
- jamal
I've been using the macro below on my laptop with TextMate for quite a
while, and just realized I didn't have it on my G5. I went to record
it and ended up having a terrible time. It seems that with newer
versions of textmate (I couldn't tell you which version I was on when
I recorded it on my laptop) when you record the macro below, it adds
an "insert text" command with whatever tag has been inserted.
The macro:
In an HTML document, type < (it inserts <>, but ignore
that), now do:
1) Automation / Start Macro Recording
2) Backwards delete (to delete <, which also removes >)
3) Automation / Insert Closing Tag
4) Automation / Stop Macro Recording
Now save this macro, give it key equivalent /, and here's the sneaky
part: set the scope to: text.html invalid.illegal.incomplete
The scope controls when the macro should "fire", and if you press
ctrl-shift P inside <>, you'll see the scope of that position, which
is what's quoted above. So only inside <> will / fire this macro,
which first removes the <> and then inserts the closing tag.
In newer versions, instead of just coming out with
deleteBackward:
insertClosingTag:
it also adds
insertText: </html> (or whichever tag you happened to be closing)
I was able to open up the recorded macro in the Property List Editor
and remove the third command, but that is not a very elegant solution.
This was working properly in the past!
-Kevin
Hi,
I suspect you're going to say 'no, it's a limitation of the way the
parsing is done', but would it be possible to collapse white space in
the display of symbols? See the attached example. The file itself
has these items being split by a newline and indentation...
Actually, on a related note, it would be really nice if the auto-
indentation would behave in the way I want it to for indented
function arguments. That is, if I hit enter inside an open bracket,
the next line should be indented to one beyond the open bracket on
the previous line. And when the corresponding closed bracket
happens, the indentation should revert to what it was before. As an
example:
tickets = self.sql.listTickets(ticket_id = id,
/* Caret should be placed at the
'/' of this comment. */
support_of = 123,
account = 'foo(a)acmewidgets.example')
/* Caret should be placed at the '/' of this comment. */
Is it possible to do this?
--
Mail: mathie(a)woss.name | Web: http://woss.name/
AIM: Math1e | PGP: 1024D/D72F2737
I do a lot of coursework for University in Textmate - which means I'm
always printing out my code for marking. Thing is, currently, I'm
having to switch over to Xcode to print each time so I can do so in
Colour. It makes it a ton easier for the marker.
Is there any chance Textmate could support colour printing and also
being able to set the text size and font?
Dave Winter
http://commanderbond.net
On 06/12/2005, at 15.45, Jamal Johnson wrote:
> i'm sure there's been discussion of this before, but was wondering
> if there was anyway to add a preference to have the tabs for the
> open files of a project wrap to multiple lines instead of limiting
> them to one line
I'm pretty sure the conclusion was that it's a bad design element to
have multi-line tab bars. I at least dislike it in Windows, and it
could also be hard to make it look 'right', but... :-p.
-- Sune.
yeah, from the quick research i did that's what most people were saying.
however, having it as a 'checkbox option' in the prefs would give those who
believe it's bad design the ability not to use it, and those who like it
that way the ability TO use it. but from what i also read, it might be a
little hairy to implement...
On 12/6/05, Sune Foldager <cryo(a)cyanite.org> wrote:
>
> On 06/12/2005, at 15.45, Jamal Johnson wrote:
>
> > i'm sure there's been discussion of this before, but was wondering
> > if there was anyway to add a preference to have the tabs for the
> > open files of a project wrap to multiple lines instead of limiting
> > them to one line
>
> I'm pretty sure the conclusion was that it's a bad design element to
> have multi-line tab bars. I at least dislike it in Windows, and it
> could also be hard to make it look 'right', but... :-p.
>
> -- Sune.
>
>
Hi,
Outliners are a good tool for organising many things.
I strive to keep everything in plain text.
The best outliner to my tastes that I've found so far is Vim's
excellent outliner mode.
http://vimoutliner.org/
It does that vim 2-keystrokes-and-you've-rearranged-the-furniture
thing to a tee (tea? T?). There's also a unix tool called hnb (not
sure if it's on OS X):
http://hnb.sourceforge.net/Links/
My question is, does anyone here on this list use, or hope / intend
to use, TextMate as an outliner? I mean, you could almost use the
drawer alone, but that kind of inverts the plain text thing (plain
file nodes, anyone?)
has anyone got any ideas on how TM could be scripted / used as-is /
etc to facilitate use as an outliner? I only get to use TM / OS X at
home (working on it though ..), so any advice from more practiced TM
users appreciated.
cheers,
David
Hi all!
Is it possible that whenever TM is invoked from a Spotlight query, it
automatically jumps (when present) to the first occurrence of the
search term(s)?
I've had a look at Apple's documentation on the developer site, but
not found any information on whether it's possible, although
Preview.app certainly does it for PDF documents.
Thanks,
Daniel.
Hi,
I don't suppose it would be possible for Textmate to make an attempt
to 'guess' the tab size (and whether the file is using hard/soft
tabs) when a file is opened? I often wind up editing other people's
code and, usually, they wind up using something other than 'soft
tabs: 2'. So I regularly have to fiddle with the tab size to make
things match up nicely.
ISTR a previous editor I've used, WingIDE[1], having this feature,
and it was really handy... And no, that's not an 'every other editor
does it' -- it's the only time I've seen that feature, but it was
really useful!
Oh, even better! I'm looking at the code for Typo just now, and it's
not even consistent throughout the code! In fact most of it is 'soft
tabs: 2', just views/articles/taglist.rhtml (the first one I happened
to want to edit) that's using hard tabs...
[1] http://www.wingware.com/
--
Mail: mathie(a)woss.name | Web: http://woss.name/
AIM: Math1e | PGP: 1024D/D72F2737
There is no bundle for Verilog HDL, but it has a lot in common with C
and Pascal, so I duplicated the C language and have been hacking on
that to get the syntax coloration mostly working. I've run into a bit
of trouble with the constant expression syntax though. In Verilog
constants have this form:
8'b00100011 (8 bit binary)
6'o35 (6 bit octal)
12'h3A2 (12 bit hex)
The initial number is optional, so 'b10110 would be a 5 bit binary
constant. In addition to numbers, z and ? can also appear sometimes to
indicate high impedance or indeterminate values. I've tried the
following syntax for the binary constants:
...|([0-9]*)\'b[0-1zZ\?]*)|...
When I hit the test button it highlights everything from the b on. I'm
guessing it is not able to escape the single quote. I've also tried
escaping the b as well and it didn't make any difference. Is there a
way around this? Is there somewhere I can find the detailed syntax
rules for the matching expressions and bundles in general? I did a
quick look through the WIKI and didn't see anything obvious.
Hi All,
Just wondering if anyone else is having issues with importing newer
Xcode projects with external project references into TextMate? Mine
throws the following error:
2005-12-04 22:15:20.646 xcode_to_tmproj[7025] Tried to set undefined
key 'projectReferences' of class 'PBXProject' to '(
{
ProductGroup = EAB7BCD90924DDB40067CDFD;
ProjectRef = EAB7BCD80924DDB40067CDFD;
},
{
ProductGroup = EAB7BCD00924DDAB0067CDFD;
ProjectRef = EAB7BCCF0924DDAB0067CDFD;
},
{
ProductGroup = EAB7C03C0924F7DD0067CDFD;
ProjectRef = EAB7C03B0924F7DD0067CDFD;
},
{
ProductGroup = EAF8C92B09076E8C003D54B1;
ProjectRef = EAF8C92A09076E8C003D54B1;
},
{
ProductGroup = EAF8C94E09076F38003D54B1;
ProjectRef = EAF8C94D09076F38003D54B1;
}
)'
2005-12-04 22:15:20.665 xcode_to_tmproj[7025] Tried to set undefined
key 'comments' of class 'PBXVariantGroup' to 'General User Interface
strings '
2005-12-04 22:15:20.665 xcode_to_tmproj[7025] Tried to set undefined
key 'comments' of class 'PBXVariantGroup' to 'Action and Action Group
names and descriptions '
2005-12-04 22:15:20.666 xcode_to_tmproj[7025] Tried to set undefined
key 'comments' of class 'PBXVariantGroup' to 'Built-in Primitive Names'
2005-12-04 22:15:20.666 xcode_to_tmproj[7025] Tried to set undefined
key 'comments' of class 'PBXVariantGroup' to 'Virtue Bundle
Information Strings '
2005-12-04 22:15:20.666 xcode_to_tmproj[7025] Tried to set undefined
key 'comments' of class 'PBXVariantGroup' to 'Desktop Color Label'
2005-12-04 22:15:20.667 xcode_to_tmproj[7025] Tried to set undefined
key 'comments' of class 'PBXVariantGroup' to 'Desktop Name '
2005-12-04 22:15:20.667 xcode_to_tmproj[7025] Tried to set undefined
key 'comments' of class 'PBXVariantGroup' to 'Desktop Template
Preferences'
2005-12-04 22:15:20.667 xcode_to_tmproj[7025] Tried to set undefined
key 'comments' of class 'PBXVariantGroup' to 'Desktop Layout and
Pager Preferences '
2005-12-04 22:15:20.668 xcode_to_tmproj[7025] Tried to set undefined
key 'comments' of class 'PBXVariantGroup' to 'Trigger Preferences'
2005-12-04 22:15:20.668 xcode_to_tmproj[7025] Tried to set undefined
key 'comments' of class 'PBXVariantGroup' to 'Appearance Preferences'
2005-12-04 22:15:20.668 xcode_to_tmproj[7025] Tried to set undefined
key 'comments' of class 'PBXVariantGroup' to 'Application Preferences'
2005-12-04 22:15:20.669 xcode_to_tmproj[7025] Tried to set undefined
key 'comments' of class 'PBXVariantGroup' to 'Extension Preferences'
2005-12-04 22:15:20.675 xcode_to_tmproj[7025] unknown
class:PBXReferenceProxy
2005-12-04 22:15:20.675 xcode_to_tmproj[7025] *** Assertion failure
in -[XCProject unarchiveObjectForKey:], XCProject.m:143
2005-12-04 22:15:20.676 xcode_to_tmproj[7025] *** Uncaught exception:
<NSInternalInconsistencyException> Invalid parameter not satisfying:
theClass
Is this something I can fix myself? I'd rather be using TextMate for
my coding purely for speed and convenience, but this error is
stopping me dead in my tracks!
Tony Arnold
http://tonyarnold.com/
“The university was great. They gave us money and facilities,
but we didn’t have to produce anything. I’ve worked in the
private sector. You don’t know what it’s like out there. They
expect results.” -- Dr Ray Stanz, Ghostbusters
Hi,
I am a big fan of the Sunburst theme (thanks Soryu). I like it
because it has a black background with lots of contrast and a crisp
feel to it. I really hate white backgrounds for editing.
So it spoils the editing experience a little then the way the drawer
stands so starkly "black on white" right next to my editing surface.
Would it be possible to include styling of the drawer (and maybe other
TxMt elements such as the tab bar) in a Theme?
Regards,
Matt
--
Matt Mower :: http://matt.blogs.it/
I just had a little idea for a symbol list in markdown, and thought
other people might be interested in it. I wanted to get the symbol
list to show the first 8 or so words of each paragraph, kind of like
a mini summary. You can accomplish this by creating a new preferences
file, pasting the following code in it and setting its scope to:
"text.html.markdown markup.paragraph"
/* preferences */
{ showInSymbolList = '1';
symbolTransformation = 's/^([A-Z](([^ \t]*[ \t]*){1,8})).*$/$1/g;';
}
This is supposed to only pick lines that start with a capital letter.
For some reason though, it doesn't. Any ideas?
Haris
I generally like smart typing feature, but it gets in the way sometimes.
For example if I want to add parens around expression, I often just get ()
before it (if expression starts with ! or $).
It's horror when I need to change double quotes to single quotes. I end up
having something like: "'""'"
Is it possible to configure it to work only when there is whitespace/EOL
ahead of cursor? Or to disable it for cases I mentioned above?
I don't want to disable it completly and I don't want to add symbols to
word characters list.
--
regards, porneL
Hi,
Will there be more text encoding support? Like for Japanese(Shift-
JIS), Chinese(GB-2312) or Korean? I think this issue has been bought
up before, but it didn't get my attention until lately.
I have been working on websites in different language: Chinese,
Japanese and Korean, and it was a horrible experience. I had to add
some pages to the existing websites, so i can't really changed all
the text encoding to unicode. Also, I have been told that there are
some missing characters in unicode for Japanese, so even the
government won't use that.
My nightmare stopped when bbedit came to rescue, it supposed all of
the text encoding I need. But then I want to stick to Textmate, and,
well, bbedit is simply far too expensive!
My guess is that I will need to maintain those websites in the
future, so it will be great to see textmate supporting more text
encoding!
Thanks
Kelvin
Hi folks,
I quite often seem to find stray whitepsace at the end of my lines
when I'm editing Ruby code. I'm reasonably certain that I'm not going
around adding a tab here or there to the end of lines (it's not every
line).
It doesn't seem to be harmful but, as a neat freak, I find it
distressing. I assume that it's TxMt that's adding it because I can't
think where else it can be coming from. Does anyone else see this?
Does anyone know how to stop it?
Regards,
Matt
--
Matt Mower :: http://matt.blogs.it/
I work in either 9 points monaco or 12 points anti-aliased monaco, is
it possible to switch between these two with a simple hotkey?
(also, to be really perfect, I'd like it to switch themes because I
disable all bold and italics in my favourite themes because of 9
points monaco, but they look good with 12 points and so ideally I
should switch between two themes as well, I think this can be done
but I'm not entirely sure how)
Andreas
Hi :)
Sorry, if this has already been this discussed, but I couldn't find
anything related. I'm looking for a way to alter the appearance of let's
say subsection headers in the Symbol Popup. Normally these would appear
the same way as would sections. So I want to have subsections be
slightly intended as for example class methods are in Python language
bundle. My problem now is, I couldn't yet find out how this is achieved
there :) I'd really appreciate any help on this matter :)
Best wishes,
Horst "zeroK" Gutmann
http://weblog.zerokspot.com