Hey Eric and all Java Programmers using TextMate,
/me and Brian Lalor are currently working on the Java Syntax a bit.
> The big evil Java might be the last to succumb, though. Are there
> others on this list who would like to jettison Eclipse, too? What
> can we do to improve Java editing in TM? What would be your minimum
> list of features?
Eclipse is very deticated to Java. it even comes with its own
incremental compiler so that it can highlight errors before you
manually compiled the file and can do much more than a regexp
language grammar that way, like it know about types and variables all
the time and so on.
If one knows how to work with it and needs all those nice features
like a builtin debugger, great autocompletion and documentation
lookup (I love that and certainly depend on a lot of features of
eclipse) there is no way around it.
If one is new to a language on the other hand, a nice little editor
and writing all the code from hand is a good way to learn the
language, so one learns what he is doing instead of eclipse doing it
for him.
If I find the time, I will put some effort into it (Juggling with
jobs at the moment). It would be great, if some more people would
communicate here on the list or in the irc channel on how to improve
the current situation. I know you are out there, Java guys! ;)
Soryu
I'm enjoying learning how to tweak the language bundles, and there's a
lot of good information in the help files and the wiki. There's one
small thing so far that I haven't found a good way to do. I'm playing
with adding support for heredoc-style embedded HTML in PHP document
and have added this to the PHP language syntax definition (version
2.0):
{ name = 'meta.scope.heredoc';
begin = '<<<HTML';
end = '^HTML;';
patterns = ( { include = 'text.html.basic'; } );
}
(Hopefully I haven't made too many embarassing mistakes in those four
lines. It seems to work, anyway.)
What I'd like to do is also specially color the heredoc tags, just to
make the beginning and end of each block stand out. Is there a "right
way" to do that?
A second, minor point about documentation: the wiki says "With regard
to syntaxes...there is a help page on how to define these." But the
term "syntaxes" isn't actually used in the TextMate help. That didn't
stop me from finding the help pages, but this seems like something
that would be good to clean up in the wiki for consistency's sake.
What's the canonical name for these language syntax definitions?
thanks,
pb
--
paul bissex
69.55.225.29
01061-0847
72°39'71"W 42°19'42"N
Themes seem to be very popular nowadays.
Maybe we should have one big place where all the themes are stored.
There is such a place for now:
http://macromates.com/wiki/pmwiki?n=Themes.UserSubmittedThemes
As it happens, I put my own creation there, too.
So check it out, if you like it.
Soryu
Hooray, I got my license key today! :)
Are there any numbers/estimates about how many people bought or
downloaded Textmate or how many are using it, Allan?
Jonas
Hi,
I have noticed two issues being introduced in recent builds that were
not there before.
The first one was introduced in in build 715. I used to have Cmd+2
and Cmd+4 (actually Cmd+é and Cmd+' respectively since this is a
French keyboard) bound to "Set Tab Size: 2" and "4" respectively.
Using the latest build, these do not work anymore, and since there
isn't a menu item for them I can't seem to be able to re-set them (I
use APE Menu Manager for that). I tried setting them on the menu at
the bottom but it doesn't persist. Also, apparently some new
functionality has captured these key bindings.
I used to have a keyboard shortcut to fold/unfold the current block.
This only half-works anymore. It'll unfold and fold once or twice and
then stop working for that block. If I move around and do something
else, it becomes possible again. Mapping the Ctrl+F key to that
produces very strange results (this worked at some point), but using
other key combinations doesn't work either.
Neither Cmd+Shift+A nor Cmd+Shift+N to add existing files or create
new ones in the current project work anymore, even though they appear
to be bound when I right-click in the drawer.
Thanks for any help or fixes,
--
Robin Berjon
Senior Research Scientist
Expway, http://expway.com/
Hi,
First, let me say what a HUGE fan of TM I have become. I hadn't
looked at it since the spring, and I am amazed at how usable its
become (I always saw its power).
I'm trying to do run command...| html | tidy, and all it does is
delete all text in the active window -- not sure what I'm doing wrong.
dc
-----
David Clark
Web Specialist
Institute for Community Inclusion (http://www.communityinclusion.org/)
david.clark(a)umb.edu
(617) 287-4318
Hello--
I really love the new symbol button in the status bar. I write a lot
of JavaScript using prototype methods, however, so dozens of methods
are tucked under one main function name. It would be great if these
would show up as distinct symbols (e.g. main,
main.prototype.methodName1, main.prototype.methodName2, etc.).
TextMate just keeps getting better, thanks.
--Dylan
I'm enjoying learning how to tweak the language bundles, and there's a
lot of good information in the help files and the wiki. There's one
small thing so far that I haven't found a good way to do. I'm playing
with adding support for heredoc-style embedded HTML in PHP document
and have added this to the PHP language syntax definition (version
2.0):
{ name = 'meta.scope.heredoc';
begin = '<<<HTML';
end = '^HTML;';
patterns = ( { include = 'text.html.basic'; } );
}
(Hopefully I haven't made too many embarassing mistakes in those four
lines. It seems to work, anyway.)
What I'd like to do is also specially color the heredoc tags, just to
make the beginning and end of each block stand out. Is there a right
way to do that?
A second, minor point about documentation: the wiki says "With regard
to syntaxes...there is a help page on how to define these." But the
term "syntaxes" isn't actually used in the TextMate help. That didn't
stop me from finding the help pages, but this seems like something
that would be good to clean up in the wiki for consistency's sake.
What's the canonical name for these language syntax definitions?
thanks,
pb
--
Paul Bissex
http://e-scribe.com/news/
Northampton MA USA 01061-0847
http://macromates.com/wiki/pmwiki?n=Themes.UserSubmittedThemes
I took the liberty to add a UserSubmittedThemes section in the wiki.
I suppose everyone who has custom themes can add them.
I added a few of mine and an image for mac classic and Espresso Libre.