Hello everyone on the list,
I am just wondering why the text anti-aliasing in Textmate is so different from XCode: in Textmate, the characters are much bolder than in XCode. For example, I love LuxiMono. It is a great font for displaying code. It renders beautifully in XCode, but is much to thick in Textmate :(
Any way to change that (at least make it customizable)?
Otherwise Textmate is really cool.
Cheers!
=============================================
Jean-Marc Borer
7 av. de Vaudagne
CH-1217 Meyrin
Mob: +41 79 213 9937
Tel: +41 22 782 0866
=============================================
Hi all,
I've been working with too many prototype objects in javascript of
late, and as some of you may know, they are generally declared as
follows:
Sound.prototype.play = function() {
...
}
All I did was took the existing function regex, and moved a couple of
the captures:
{ name = 'meta.function.js';
match = '\b([a-zA-Z_?\.]+\w*)\s+=\s+\b(function)?\s*\((.*?)\)';
captures =
{ 1 = { name = 'entity.name.function.js'; };
2 = { name = 'storage.type.function.js'; };
3 = { name = 'variable.parameter.function.js'; };
};
},
It could probably be nicer, but pasting that in after the original
function code (in the JS language def file) will give you properly
highlighted function declarations :)
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
Trying to get a simple command that displays a webpage with a flash
file in it. `cat /path/to/file.html` gives me a blank screen, as does
`curl http://mydomain.com/path/to/file.html`. However, running curl to
an old url that provides a link to the page does load the movie.
Any idea what's up?
___________________
Ben Jackson
Diretor de Desenvolvimento
ben(a)incomumdesign.com
http://www.incomumdesign.com
> "create document" -- why not? :)
Because you cant click on the lines in a new document window to have it take
you to the correct line in the file, very useful for debugging that is.
Chris Jenkins
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
I keep hitting the 'Toggle Comment' command with no selection,
expecting it to work on the current line only, but it does the whole
file. I find this behavior counter-intuitive. Does anyone else? And
if so, is it possible to have it changed?
-pete
--
(peter.royal|osi)(a)pobox.com - http://fotap.org/~osi
Hi,
I just noticed a problem when creating a new file from the Project drawer.
I right clicked at the top level and created a file which appears to
be at the top level. However I just realised that it actually created
the file in the last folder I was working in.
See attached images where the file LICENSE appears to be at the
top-level but, svnX finds it under themes/moxie/templates/publish/
Regards,
Matt
--
Matt Mower :: http://matt.blogs.it/
Hi all.. I've been developing a web-app using TextMate and just
recently decided to go and create a project (up to that time I've
just been browsing for the file(s) to edit directly). Anyway,
I found that once the project was created and I imported my existing
files (>100-200 of them I'd guess) and opened perhaps 4-5 of them
in the same tabbed window that bringing TextMate into the foreground
caused a ~3-5 second delay while it was doing some sort of network
activity.. What I mean by bringing TextMate into the foreground is that
I've got it displayed on the screen, and I bring Safari into the
foreground so I can test an updated page.. I then switch back to TM
to edit something.. If this switch back and forth is <5-8 seconds, then
TM seems to be fine.. Anything longer seems to cause this long delay
before I can type or change tabbed windows,etc.
Interestingly enough, I can have these same 4-5 files open without the
project paradigm and not see these same delays..
I should also tell you that my file server is a Linux box being remotely
mounted via Samba (smb://) and that I've got the metadata disabled in TM.
This is all being done via 802.11b on a 667Mhz Powerbook if that helps..
I don't recall the version of TM I'm using -- it was automatically downloaded
for me about a week or so ago. Any ideas on how to get rid of this delay
would be greatly appreciated..
-- Rick
I just came across this today: It would be handy to limit a "find in
project" search to only those files within selected folders.
Interface-wise, it would be cool if you could simply command-click
the folders or files you want to search through in the project files
pane and then choose "find in project". Perhaps the "Find in
Project" menu item could change to "Find in Files" if more than one
file is explicitly selected?
Duane Johnson
(canadaduane)
It would be really cool if TextMate could automatically pull the
latest bundles from svn in the same fashion as it now pulls builds.
I am always updating my bundles...often every day...and this would
save me some time.
>
> >>>* Are there plans to add support for the symbols popup for php?
> *>>* For me it show PHP function names.
> *>* Could it be because I am using tabs rather then spaces?
> *
> No -- if you place the caret on a function name and press ctrl-shift
> P, does it show entity.name.function as part of the scope?
>
> only when i use spaces
>
> Subject: Re: [TxMt] symbols and php
> To: TextMate users <textmate(a)lists.macromates.com>
> Message-ID: <44DC6269-3E8A-41E0-B90F-10232F21E614(a)macromates.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
> On 15/11/2005, at 23.59, Samuel DeVore wrote:
>
> > Are there plans to add support for the symbols popup for php?
>
> For me it show PHP function names.
>
>
Could it be because I am using tabs rather then spaces?
Is ³Show in Separate Window² really deprecated? It seems so useful, is
something going to replace it? The HTML output option doesn¹t seem to really
come close.
Chris
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
Hi list,
I have some files into a Devonthink database. Now, a devonthink
database is just a bundle with .dtbase extension. If you right click
on it and select "show package contents" you can see the internal
files, just like app bundles.
But when I try to open them from inside Devonthink, TextMate just
ignores them. I have to manually drag them on the desktop, open and
edit them and then put them back in the database.
Is there a workaround?
Thanks
Kostas
How would people feel about this diff in the C syntax bundle?
It will work on functions of the form:
int
main () {
but not on
int main()
What would be the appropriate regexp for making it work in both
cases? What I'm trying to do is get the functions to show up in the
Symbols menu.
The other thing that's broken with C is that #defines which are not
functions are incorrectly marked as functions. For instance:
#define FOOBAR 10
adds FOOBAR to the symbols menu. I think that's because the regexp
that handles #defines tries to handle the case where the #define is
really a macro
#define MIN(a,b) ((a)<(b)?(a):(b))
but applies the name even if the syntax doesn't match... I'll take a
look at this later this week if no one has a workaround...
@@ -140,6 +140,20 @@
</array>
</dict>
<dict>
+ <key>captures</key>
+ <dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+
<string>entity.name.function.c</string>
+ </dict>
+ </dict>
+ <key>match</key>
+ <string>^([a-zA-Z_][a-zA-Z0-9_]*)\s*\(</string>
+ <key>name</key>
+ <string>source.c.function</string>
+ </dict>
+ <dict>
<key>begin</key>
<string>^\s*#\s*(define)\s+([a-zA-Z_][a-zA-
Z0-9_]*)(?:\(
((?:\s*[a-zA-Z_][a-zA-Z0-9_]*\s*,?)*)\)|\b)</string>
<key>captures</key>
--
pgp fingerprint: BC64 2E7A CAEF 39E1 9544 80CA F7D5 784D FB46 16C1
A few days ago the create new file button in the drawer stopped
working. Whenever I tried to create a new file, TM crashed. Then
whenever I'd go into a terminal to fiddle, I'd get some error (sorry
to so vague) about resource fork not being available.
I would force crash textmate, and killall bash, and all would work
again - but each time I tried to create a file (I sure hope it works
this time...), I had to do it all over again.
Last night I made the same error, textmate crashed, but I never got
to killing the runaway bash process. I woke up and my computer fan
was just screaming, a quick top showed a runaway bash process going
at 75% cpu and fifty others! Here's a snip:
--------------------------------
kjell 26675 74.2 0.1 27880 900 ?? R 1:09AM
430:19.31 /bin/bash -c touch "$TM_NEW_FILE"
kjell 26571 0.4 0.1 27880 980 p3 S 12:57AM 0:00.12
-bash
kjell 26606 0.0 0.1 27880 764 ?? S 1:09AM
0:00.04 /bin/bash -c touch "$TM_NEW_FILE"
kjell 26608 0.0 0.1 27880 508 ?? S 1:09AM
0:00.01 /bin/bash -c touch "$TM_NEW_FILE"
[35 more like the last two...]
--------------------------------
What could be going wrong? I'd love to have it fixed, if possible.
The problem has reared it's ugly head with both beta1.17 and r421,
and is getting to be a real pain. Anyone have an idea what's wrong?
Kjell [http://station11.net]
I just posted an FAQ question with regard to the subject line that
was (almost) instantaneously answered. Thanks to whoever was
responsible for that! :)
I'm trying to figure out how I might get TextMate to run on my new
Mac/Intel box and I've run in to some problems. I documented the
error message I received from build 731 at http://inquirylabs.com.
However, as of build 753, I now receive no error message at all. The
application crashes without a sputter.
Is there anything I can send that would help diagnose or debug this
situation? Thanks,
Duane Johnson
(canadaduane)
Hi,
Type and select the string
"£"
in an html document
Hit cmd-shift-& and choose "Convert to named entity"
expected: british pounds sterling symbol
obtained: ampersand (&)
reference: <http://www.w3.org/TR/WD-entities-961125>
<!ENTITY pound CDATA "£" -- pound sterling sign -->
<!ENTITY amp CDATA "&" -- ampersand, U0026 ISOnum -->
Not really sure anything can be done to help it if we want the
current set of features, but is you type something like this in Ruby:
<<-HTML
<style>
HTML
foo = 21
The 'foo = 21' part and the rest of the document is colored like a
style-sheet. Normally this would be incorrect nesting of course, but
for heredocs in languages, there can be good reasons for this (and
it's in fact used in tmruby).
-- Sune.
Is there any chance of being able to set a preference where the code
collapsing is not based on indentation? To be honest I'm not sure
how other applications have handled collapsing programmatically, but
basing it on indentation seems to be a bit buggy and doesn't work for
every situation.
Thanks,
Colin D. Devroe
Blog: http://theubergeeks.net/
Photos: http://flickr.com/photos/cdevroe/
I guess this is just a bug, but if you drop a (real) folder into a textmate
virtual project folder, you cannot then move it to the top level.
____________________
"Let the people decide through the marketplace mechanisms what they
wish to see and hear. Why is there this national obsession to
tamper with this box of transistors and tubes when we don't do the
same for 'Time' magazine?"
-- Mark Fowler, former FCC Chairman
Allan,
Just in case you hadn¹t spotted this...
It seems as though the v731 update, which greys out commands when there isnt
a document open also greys out items under the New From Template menu
command, which presumably isnt supposed to happen.
Regards
Chris
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
Hi there,
a question has occurred to me while trying to open a project from the
command line: Is there any way to open a project with mate (I can't
see any switch that does so) or do I have to use OSX's open command?
Would you consider, Allan, adding support for this? It'd avoid users
having to switch depending on the file name (file type,actually) when
invoking mate from a script
Cheers
Victor
--
Victor Jalencas <Victor.Jalencas(a)gmail.com>
Two great features in the last release. I really appreciate reveal in
project and the symbol popup is great.
Thanks Allan.
M
--
Matt Mower :: http://matt.blogs.it/
Hi All,
Has anyone else experienced an unresponsive find dialog?
Occasionally, when I bring up find, it will let me type in the find
entry box, but clicking on any of the UI elements does nothing.
Sometimes I can hit escape to make the dialog go away, but usually I
can't do anything to make it go away or work and have to restart
TextMate. This is common for me on both of my macs. But maybe its
something in my setup. I'm curious if anyone else has experienced
this to help track down what might be causing it. Thanks _matt
A few times I've wished this feature was present. I have huge projects with
many folders and the files can number in the thousands, sometimes with the
same names but in different folders (i.e index.php).
At times I'd like to go to the folder in the drawer that a currently opened
file is from (to open another related file for instance) but that folder
and file may exist several layers deep in another folder that is now closed.
It would be nice to have a command (either from menu or right clickable
menu) that will open the folder hierarchy to expose the folder and file
list.
Thanks,
Ed
Here's a theme I made for personal use, but I've been enjoying it so much I
thought I'd share it around. I've always been fond of dark backgrounds, but
not *that dark. I started this one as a compromise, inspired by colored
chalk on a chalkboard.
I'd love to see three new items in the Automation submenus:
Replay Macro > Replay [name of last macro selected]
Insert Snippet -> Insert [name of last snippet selected]
Run Command -> Run [name of last command selected]
It's very common for me to have tasks where I dig out some obscure
command that I rarely use, use it repeatedly in a given session, and
then forget about it.
Keyboard shortcuts make sense for tasks that are done repeatedly --
either very often, or in repetitive bursts less often. This feature
would allow many seldom-used commands of the latter type to go without
permanent keyboard shortcuts, freeing up combos for more commonly used
commands. Obviously, these new menu choices themselves would need
keyboard shortcuts.
One subtle point: by "last * selected" I mean that this would apply
only to macros/snippets/commands manually chosen from the menus
(either the regular menus or the status bar menus). That way, other
keyboard commands wouldn't needlessly get picked up by this feature;
if you have invoked a macro/snippet/command via the keyboard, you
obviously don't need this feature to remember it.
I actually got this idea from Photoshop, which allows you to invoke
the last-used filter with cmd-F.
I love TM's combination of high power and low cruft. IMO this feature
would increase usability and at the same time decrease the need for
crazy five-key-mash keyboard shortcuts on obscure bundle features.
thanks for listening,
pb
--
Paul Bissex
http://e-scribe.com/news/
Northampton MA USA 01061-0847
[Kindly tell me if I should move this off-list.]
> Even if you worked for free or peanuts, you would miss the many features
> that helps you write clean and solid code (the inspections), the
> integrated JUnit integration, the code formatter, the code pointer
> sharing (ideTalk plugin), etc, etc...
I did try it for a month, but it didn't quite *click* for me. I
appreciated the code sense and such, but I ultimately had a hard time
reaching for all the other options (e.g. refactoring, etc.). It could
be that I just need more programming experience in Java to "feel" the
need for these extra tools. As such, it was heard enough for me to
stop using vim!
(Also, my first point was a bit in jest. I would spend $500 for a
superior IDE I felt comfortable using, but I simply preferred the
faster response time of within TextMate rather than the general
sluggishness that came about from IntelliJ.)
> (2) Couldn't bear what IntelliJ was doing to my PowerBook's RAM.
> I guess it depends on your project's size, but it works fine on mine,
> with 1GB and java 5.
I'm actually on a 1.25 GB PowerBook. Alain, would you mind if I write
you privately, to compare our IntelliJ configurations?
thanks,
dev
Hi List,
I applaud the symbol popup!
However I never see any symbols in it, and I have never seen anything
in the 'go to symbol' window either!
What am I doing wrong?
Howdy,
For some reason, this is only happening on my laptop .. an old g3
lombard, but anyhow, I'm using the latest build of TM.
Let me set the stage here:
I'm working on some Python stuff ...
Looking @ the bottom status bar/whatever you call, the Language is
clearly marked as Python (yay).
When I open that Language menu from down there I don't see Python in
the drop down list that opens.
If I deselect the menu w/o choosing a language, it says python.
If I switch the language from python, there's no way to switch it
back -- though if I restart TM, the file is correctly flagged as python.
It looks like the Python bundle isn't loading, or isn't being
shown .. I found this weirdness because I was trying to do a cmd-
shift-v to check my syntax and it didn't do anything ... so I went
digging for it in the Commands and noticed there is no Python bundle/
choice anywhere in the bundle editor.
I moved my /Library/App Support/TextMate/Bundles stuff out to make
sure there was no collisions ... maybe it had something to do w/ the
svn bundles .. but no, still same thing.
There are no bundles in ~/Library/App Support/TextMate/Bundles
The only bundles it's using now are the ones in
/Applications/TextMate.app/Contents/SharedSupport/Bundles
(which has the Python.tmbundle)
So I'm a bit confused as to what's going on ... my desktop doesn't
display this behavior at all.
Hmm ... the laptop is running OS X.3.9
The desktop has OSX.4.3
As a side note, this behavior seems to be isolated to Python ... when
woring w/ PHP on the lappy everything seems to be fine.
That's all the info I got.
Any insight would be helpful.
Thanks,
-steve
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.
Wouldn't it be cool to have a seperate MRU list for .tmproj project
files? This way they won't get pushed off the list by other
independent small files. Older projects are more important than
files, IMO.
Jonas
Hi All,
I use TM for lots of HTML and I use the built-in tidy command all the
time. The behavior of the command changed recently and it is now
doing something that I was about to request as a feature! The old
behavior was that after the tidy command the current line was now the
very bottom of the file. The new behavior is that the current line
stays where I was editing. This is great! It was a serious pain to
have to find the line I was just on to keep working.
I just want to make sure that this was done on purpose and will stay
this way. Thanks!
BTW, I will soon be attending the Pragmatic Studio workshop on Ruby
on Rails so I hope to be soon using TM for Ruby. Slowly, but very
surely, I am switching over to TM. 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?
-Eric
> Not really -- in principle there should be nothing wrong with having
> a normal (file) template generate a project, although I'd have to
> spot the .tmproj extension.
Allan,
That sounds like the way we'd like to go, seems like the right place in the
app for the feature to exist as well, we don't really have the skills to
delve into ObjC and write a plugin (although Im sure it cant be THAT hard),
so some form of script (perl or python) is probably the easiest way to go,
we are working on something that can ask the user for input and then copy
across a whole directory of files, what is it about the .tmproj extension
you need to change?
Regards
Chris
On 9/11/05 10:22, "textmate-request(a)lists.macromates.com"
<textmate-request(a)lists.macromates.com> wrote:
> Re: [TxMt] Feature request: project templates
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
Hi all,
What's the official procedure for filing bug reports? There's this
mailing list, bugs(a)macromates.com, the various areas of the wiki, the
FogBugz site... what's the best way to deliver bug reports without
driving Allan to distraction?
thanks
pb
--
paul bissex
69.55.225.29
01061-0847
72°39'71"W 42°19'42"N
It's just taken me a while to work out that the reason a command from
Automation > Run Command > etc...
Wasn't working because I didn't have a document open - it's been a
long day ;) . I know this may be been discussed before but how
possible would it be for the commands to be greyed out when they
can't be called? Or is there a way to exec a command from the list
when there isn't a document open that I'm missing.
Cheers,
Simon
> The number one thing I miss when trying to do java coding in TM is
> code autocompletion, and code hinting. I guess codesense is the more
> common term. I think this would probably require some kind of plugin.
I'm soooooooooooooooooooo with you on this one. This would be a killer
app for any oo language (including Actionscript, which takes up the
better part of my days) with the option for strong typing. I agree that
the plugin architecture would be needed for this.
> Second on my list would be some of the common refactoring things like
> wrap in try/catch, smart rename/delete etc.
See above.
> I'd be willing to help with some of the work.
As would I.
Allan, do you have any ideas/suggestions/resources/examples/whatever
for us to start thinking about this?
I look forward to sending screenshots of this to all of my smug,
Eclipse-using colleagues ("you develop for Flash on a MAC??!!?!?!)
:D
___________________
Ben Jackson
Diretor de Desenvolvimento
ben(a)incomumdesign.com
http://www.incomumdesign.com
Allan,
Im not sure if this has been mentioned before but have you considered adding
some sort of support for project templates? Im thinking of something that
can be accessed from the File menu with no files open, that pops open a
dialog like the ³new file from template² one, a bit like the way Xcode does
it. We are in the process of making something that can be run as a command
that can sort of do this, ie: ask for user input for the project name, a
location to save the project etc and this is working quite nicely, but it
requires a document to be open to run it, which obviously isnt ideal. Do you
have any thoughts on this?
Regards
Chris Jenkins
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
Because it came up yesterday and I already have the bad reputation to
like Java, here it goes:
A somewhat better Java Syntax than the included one:
Features:
- Better colouring (due to the old syntax being outdated)
- Goto Symbol popup working
Bugs:
- Keep the closing parentheses and the opening brace ) { of a method
declaration on the same line, otherwise the end pattern won't match
- More to come soon ;)
Soryu
{ scopeName = 'source.java';
comment = '
Credits to Brian Lalor, who wrote the Java syntax included in TM.
I might have adapted some of his syntax.
Soryu
Comments:
• I excluded overridden anonymous Constructors from
"declaration.function.method.java", so they won''t show up in the
Goto Symbol popup to reduce clutter a little.
';
fileTypes = ( 'java' );
foldingStartMarker = '/\*\*|\{\s*$';
foldingStopMarker = '\*\*/|^\s*\}';
patterns = (
{ name = 'comment.line.double-slash.java';
begin = '//';
end = '$';
swallow = '\\\s*\n';
},
{ name = 'comment.documentation.java';
begin = '/\*\*';
end = '\*/';
patterns = (
{ match = '\*\s*(@)(param)\s*([a-z][a-zA-Z0-9_]+)\s*';
captures =
{ 1 = { name = 'keyword.other.documentation.control'; };
2 = { name = 'keyword.other.documentation.params.java'; };
3 = { name = 'keyword.other.documentation.value.java'; };
};
},
{ match = '\*\s*(@)([a-zA-Z0-9_-]+)\s*';
captures =
{ 1 = { name = 'keyword.embedded-docs.control.java'; };
2 = { name = 'keyword.embedded-docs.params.java'; };
};
},
);
},
{ name = 'comment.block.java';
begin = '/\*';
end = '\*/';
},
{ name = 'meta.package.java';
match = '(package)\s+([^ ;]+?)\s*;';
captures =
{ 1 = { name = 'keyword.other.java'; };
2 = { name = 'entity.name.package.java'; };
};
},
{ name = 'meta.import.java';
match = '(import)\s+([^ ;]+?);';
captures =
{ 1 = { name = 'keyword.other.java'; };
2 = { name = 'entity.name.class.java'; };
};
},
{ name = 'declaration.class.java';
match = '\b(?<=class|interface|enum)\s+(\w+)';
captures = { 1 = { name = 'entity.name.class.java'; }; };
},
{ name = 'other.inheritance.class.java';
comment = 'TODO: implements has multiple Parameters, Extends does
not';
match = '\b(?<=extends|implements)\s+(\w+)';
captures = { 1 = { name = 'entity.name.class.java'; }; };
},
{ name = 'declaration.function.method.java';
begin = '\b(?<!new)\s+(\w+)\s*\(';
end = '\)\s*{';
captures = { 1 = { name = 'entity.name.function.java'; }; };
patterns = ( { include = '#keywords'; } );
},
{ name = 'constant.numeric.java';
comment = 'stolen from c syntax without looking very much at it';
match = '\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|
E)(\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?\b';
},
{ name = 'keyword.flow.java';
match = '\b(if|else|while|for|return|continue|break|switch|do|goto|
case|try|catch|finally|throw)\b';
},
{ name = 'keyword.other.simple-types.java';
match = '\b(int|char|float|long|double|boolean|byte|short)\b';
},
{ name = 'keyword.operator.comparison.java';
match = '(==|!=|<=|>=|<>|<|>)';
},
{ name = 'keyword.operator.increment-decrement.java';
match = '(\-\-|\+\+)';
},
{ name = 'keyword.operator.arithmetic.java';
match = '(\-|\+|\*|\/|%)';
},
{ name = 'keyword.operator.logical.java';
match = '(!|&&|\|\|)';
},
{ name = 'storage.modifier.java';
match = '\b(private|public|protected|static|transient|final|
abstract|native|threadsafe|synchronized|volatile|strictfp)\b';
},
{ name = 'storage.type.java';
match = '\b(class|interface|enum)\b';
},
{ include = '#string-double-quoted'; },
{ include = '#keywords'; },
);
repository =
{ keywords =
{ name = 'keyword.other.java';
match = '\b(new|abstract|assert|default|synchronized|private|
protected|public|throws|enum|instanceof|transient|final|interface|
static|void|null|class|finally|strictfp|volatile|const|native|import|
package|extends|implements|this|super|true|false|if|else|while|for|
return|continue|break|switch|do|goto|case|try|catch|finally|throw|int|
char|float|long|double|boolean|byte|short)\b';
};
string-double-quoted =
{ name = 'string.quoted.double.java';
begin = '"';
end = '"';
patterns = (
{ name = 'constant.character.escaped.java';
match = '\\.';
}
);
};
};
}
Could it be that since the snap 715 the defaultkey defininition for all
application has changed. There are some definitions inside that I can't
use newline, backspace in any applications on os x.
regards
Karl-Heinz
> On 31/10/2005, at 10.59, Frédérik Bilhaut wrote:
>
> > I was wondering if TextMate has the feature often called "smart
> > home/end" in other editors ? [...]
>
> It doesn't, but you could record a macro which does:
>
> 1) move to beginning of line (ctrl A)
> 2) regexp search for: (?=\S|$)
>
> And bind that to the home key. For smart end you'd search for: (?=\s*$
Actually, this moves to the second column with lines that have no
whitespace at the front. It'd be better to do:
1) move to beginning of line (ctrl A)
2) regexp search for: (?<=\S|$)
3) move left
The regexp uses a look-behind to place the cursor after the first
non-whitespace character. Cheers,
Ben
___________________
Ben Jackson
Diretor de Desenvolvimento
ben(a)incomumdesign.com
http://www.incomumdesign.com
Looking at the Ruby and Python bundles, they don't seem to have this
value set. Is indenting based on the folding markers, or what's the
deal?
___________________
Ben Jackson
Diretor de Desenvolvimento
ben(a)incomumdesign.com
http://www.incomumdesign.com
Hi Folks,
TmCodeBrowser is now available as tmplugin, with a number of
enhancements:
- Keyboard navigation and search, similar to the 'Go to File...' panel
- Compatible with OS X 10.3.9 and later
- Support for Objective-C
If you currently have the old TmCodeBrowser2 installed, please de-
install it first:
- Quit TextMate
- Drag the ~/Library/InputManagersManager folder into the trash
- Drag the ~/Library/InputManagers/InputManagersManager folder into
the trash
Note: You will not be able to empty the trash until you logout or
restart!
Then install the new TmCodeBrowser.tmplugin available here:
http://www.cocoabits.com/TmCodeBrowser/
Note: Once unpacked, TmCodeBrowser.tmplugin will look like a Folder
(Allan has not added tmplugin to the CFBundleDocumentTypes in the
Info.plist file). Simply drag the TmCodeBrowser.tmplugin onto
TextMate, and TextMate will install the plugin. CodeBrowser will then
be available in the menu under 'Windows/Show CodeBrowser' (you may
need to restart TextMate for that entry to appear).
Gerd
hello.
How do I keep a command output from sending in an extra newline?
I've got a command like this:
echo $\{1:`expr $TM_SELECTED_TEXT + 1`\}
Input: Selected Text
Output: insert as snippet
Activation: ctrl-up
Scope constant.numeric
But it's no good unless I can figure out how to keep that pesky
newline from jumping in my face.
Thanks
one feature i miss from other text editors are white space indicators
and indentation guides. please see attached screenshot. note the subtle
dots which indicate spaces and the vertical dotted lines which are
usually called indentation guides. i'd love if textmate had options to
display these things.
-moshe
Add this to your language grammar of choice (from a previous thread,
sorry but I couldn't find the link in the archives):
patterns = (
/* your other patterns */
{ name = 'meta.leading-tabs.yaml';
begin = '^(?=\t)';
end = '(?=[^\t])';
patterns = (
{ match = '(\t)(\t)?';
captures =
{ 1 = { name = 'meta.odd-tab'; };
2 = { name = 'meta.even-tab'; };
};
}
);
}
)
___________________
Ben Jackson
Diretor de Desenvolvimento
+55 (21) 9997-0593
ben(a)incomumdesign.com
http://www.incomumdesign.com
On 07/11/2005, at 16.22, Matt Mower wrote:
>> This is rather difficult for me to administrate, so chances are low.
> Do you mean administering this in the menu? Or in general?
Administrate in the code/in general.
> If it was an issue about the menu being dynamic I'd be quite happy
> with Paul Bissex's suggestion of putting the last command executed in
> the status area somewhere.
Yes, it's a very good idea (and I definitely like it), but it's not
something TM was designed to do, so it's a lot of work to “add”, as
it would require several things to be done differently -- so this is
distant future…
Hi Allan,
Sometimes I find myself in the situation where I try a key combination
which doesn't do what I thought but moves the carat leaving me
uncertain what action I have just performed. I know I can hit undo
but given the non-atomic undo nature it leaves me with doubts about
whether my file is changed.
Would it be possible to add a feature that tells you what function a
key combination will invoke?
What I have in mind would be:
select "identity key"
press key combination, e.g. Cmd+Opt+V
TxMt pops up a dialog identifying the bundle & command this will activate
Choose "yes"
Executes command
Choose "no"
Does nothing
This would help me, (a) because I could work out what I *did* do, and
(b) because I could help myself learn key combos safely (by either
passing through to the action or not).
Just a thought, not sure how good of a one though ;-)
M
--
Matt Mower :: http://matt.blogs.it/
It's not exhaustive but it's a start. Kudos to the authors of the Ruby,
Python, and XML bundles for their inspiration.
___________________
Ben Jackson
Diretor de Desenvolvimento
ben(a)incomumdesign.com
http://www.incomumdesign.comhttp://www.unfitforprint.com/
> I haven't figured out what the motivation is for full-screen mode
> when one can maximize the windows, and TM is already very low on
> window decorations, so the extra pixels gained from a real full-
> screen would be minimal.
I think I can speak for more than a few of the people who have
requested this when I say:
It's not about the extra pixels.
It's about minimizing distractions. There's a significant mode switch
that's triggered when all of a sudden the only thing you should be
doing is the only thing you can see on the screen. No bouncing dock
icons, no flashing news reader, no growl notifications, just your words
staring you in the face. It kind of reminds me of the good old days of
green screens and ascii text.
I've used Ulysses and honestly the only thing that made me even
consider dropping the cash on it was this one feature. It's only
implemented by one other OS X program AFAIK (MacJournal) and totally
souped up my writing productivity.
Allan, I know that we're beating a dead horse here, but no one in my
recollection seems to have brought this perspective to the table. What
are your thoughts?
___________________
Ben Jackson
Diretor de Desenvolvimento
ben(a)incomumdesign.com
http://www.incomumdesign.com
I've noticed that right now displaymath modes in latex initiated by $
$ are not handled correctly. It seems that lots of times, though not
entirely consistently, they are being captured by the
string.other.math.tex scope, instead of the
string.other.math.block.latex scope.
In other words, the two dollars signs next to each other are matched
as the begining and end of a simple math mode, instead of being
considered as the beginning of a block math mode. What makes it even
weirder is that the following:
$$\int_{C_{t}}e^{g(z,t)}f(z,t)\d z$$ where $g,f$
would consider the first pair of dollar signs as
string.other.math.tex scope, and the second as the beginning of
string.other.math.block.latex, which then goes on to capture the
entire rest of the document.
So I am wondering, how is this possible that the $$ is not
consistently matched, and what can we do about it?
Haris
Try this:
1. Open a file F1 with extension .pm, Perl mode is correctly
active.
2. Open a second file F2 with extension .pm, Perl mode is
correctly active.
3. Change F2's mode to C mode.
4. Switch back to F1's tab and you'll see it's now in C mode!
Is that a bug?
-- fxn
Just in case you are wondering where does this convoluted experiment
comes from: I am working in a Perl module that has some part written
in C:
http://search.cpan.org/~fxn/Algorithm-Combinatorics/
There's a file ending in .pm that is strictly a Perl module, but that
actually is mostly C except for a few lines, since it uses Inline::C.
I need C mode there to work normally.
While we're talking about the bundle... my number one activity in
writing LaTeX is going in and out of math mode as in
\( blah \) and \[ foo \].
What is the officially encouraged LaTeX bundle way of shortening that task?
- Eric
--
Eric Hsu, Assistant Professor of Mathematics
San Francisco State University
erichsu(a)math.sfsu.edu
http://math.sfsu.edu/hsu
> One problem with full-screen apps on the Mac is the fact that good
> Cocoa interfaces don't lend themselves to a full-screen environment.
> Ulysses is a good example. It works full-screen because its interface
> is a single monolithic window, but that makes it look like hell when
> it has to share a desktop with other apps. A full screen TextMate
> would require either a significant interface change or a loss of
> functionality, and I don't know that I'd really want either of those.
I'd be happy with just being able to make the active tab take up the
full screen. I don't need access to tabs, the file drawer, or any of
the other interface elements. I just want my green text on my black
screen and nothing else. If I want to do something that will take me
out of my current mode, like switching files or tabs, I can use a
hotkey or just hit escape to get back to normal mode.
___________________
Ben Jackson
Diretor de Desenvolvimento
ben(a)incomumdesign.com
http://www.incomumdesign.com
YES!
I LOVE the textindent, thank you so much!!
Upps, after some testing, I discovered somethnig I'd still like to be
changed :)
When an empty line, let the caret remain in position, or move it "in"
just as a tab would have done. Reason; I immediately set up enter to
be a macro with newline and indent, so all code would immediately get
indented, and then I used ctrl+enter for just newline, in case I'd
ever want that. Problem was this behaviour broke rather badly since
each line without previous text had the caret far to the left. Before
setting up the macros, I'd only tested it on lines already containing
text you see..
Andreas
Version 1.03 of TmCodeBrowser is available now at
http://www.cocoabits.com/TmCodeBrowser/
NOTE: I have changed the handling of .ctags.tmcodebrowser: If
~/.ctags.tmcodebrowser does not exist, fall back to internal default.
That way users without a customized ~/.ctags.tmcodebrowser will
benefit from updates to the internal default file.
So unless you have personal customizations not covered by the default
file, please delete your ~/.ctags.tmcodebrowser, for example by
entering this line in a terminal window:
rm ~/.ctags.tmcodebrowser
Gerd
Change Log
Version 1.03:
- Possible freeze while moving the selection, fixed
- Added some quotes in Objc-C postprocessing script to avoid problems
with spaces in paths
- Added line for HTML <div> sections to the default .ctags.tmcodebrowser
- Changed handling of .ctags.tmcodebrowser: If ~/.ctags.tmcodebrowser
does not exist, fall back to internal default. That way users without
a customized ~/.ctags.tmcodebrowser will benefit from updates to the
internal default file
- Changed CFBundleVersion to a growing integer in preparation for
automatic version checks by TextMate
- Fixed tabbing through the CodeBrowser panel
I am one of the few (?) people who experience a crash in the find
dialog, when using <tab>.
Now, something similiar happened when using the tab key inside the
search field of TmCodeBrowser, the Beachball spun out on me.
I sampled Textmate and attached the file,
maybe Gerd or Allan can see something strange in there.
Soryu
Since I've found on informations about student discounts, I assume there
are none. Am I correct?
I just would like to avoid learning they existed *after* buying
TextMate...
Thanx in advance,
-riko
I get a crash when pressing the down arrow in the find dialog even with
the latest 1.02 build.
___________________
Ben Jackson
Diretor de Desenvolvimento
ben(a)incomumdesign.com
http://www.incomumdesign.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
just wanted to look up the regexp help (very useful!!) and got a
blank help view window.
anyone else? any workaround? a bug? etc. etc. ;)
tom
- --
Tom Lazar
http://tomster.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
iQIVAwUBQ2zi5deSJSslDUEWAQJxYA//T+vn6+Egf7U6R5LYhgOMyljModYgAID2
4rLapTx1mBnTzaVX0L0qPl33586M+XDX50vItmBkuovZiGrvNaEugtZMrBTtl6J0
9nwjx+kJimnUcqmAg/79rSL6qCXFEDXwgmoQwyPMTDqGHziPHnNtW9rszix5WD1R
5IXhVtby7eOe/yA9T7LHYfC8qCl0CyPiiW3Hd+CaRwlyox4Y+y2MSfa0/aLb2ZFU
NfLeNSf7dFJZh3z8j1b1oKU1ph4T6nEjAGvgXrqeCpiRYq7+88ctOKJcc+b8HukE
HY6TnYq4hIvZpeVXzRa2wJaFDNu6Uhp4svTjoSkUROuhRQ6USfQFUG2ua8hHWOeT
JL+HK7zbTPld4ZJY3UTz1iUlaVZhyqVK7diwKsVZFnjZwpSvGVDH3z/qouwBVY3q
kHf5P42rUQo8WN6j7z/Q1z4/KG0+qVqhRph4fG+inMp9t6E46Mrewuz0mYwnB4ji
qTDEhT5VC3BcVaFCv334QwDXtClxRJphX/ZJUlILhg96m+8QbPgSxJV9DVlBox74
M4VadiJecsvfpMWheMauu0efNzaP4VVHqfDBs0aMbtCcGu0WtdegzO7LCFfB8Fff
CXKabXslQCXytlcgbTjaClsx4ygaJ5WTLDF8pj37NJQjHGGv4AolPaLsS2cZzj/r
QjDRGLp2FnM=
=NDAC
-----END PGP SIGNATURE-----
Hi,
Trying to make a bundle and I think it would be easier if the bundle
language language bundle applied to language files being edited in the
bundle editor.
i.e., if when I view a language in the bundle editor, all the folding and
syntactic candy are applied.
tim
Hi there,
I have actionscript installed for ctags from my jEdit days:
http://tinyurl.com/7tshwhttp://www.appliedrhetoric.com/actionscript.c
However the browser isn't coming up with anything. The only thing I can
think of that might be off would be the case of the name:
(20:14:05 <~>) 0 $ ctags --list-languages
ActionScript
Asm
Asp
…
In the Language menu it's "Actionscript" without the camel case for
"Script". Just wanted to throw this out before recompiling ctags to
make sure that there are no other possible issues.
___________________
Ben Jackson
Diretor de Desenvolvimento
ben(a)incomumdesign.com
http://www.incomumdesign.com
Hi,
Why not just save the project when any file is added or deleted from it?
After a crash I lost a bunch of files I'd added to the project, and it is a
pain to get them.
I can't think of any comparable situation where I wanted to quit textmate
and would be upset to find that it kept the project the way I had made it
(rather than reverting to whenever it was last explicitly saved)
Tim
Hi all!
Seeing the release notes of 687 reminded me of something that's been
nagging me (slightly) for some time. It's mostly got to to with the
language selection in the spelling dialog:
- The selected dictionary is application wide (i.e. valid for all
documents), but as it happens I often have a German and an English
document open (or more applicably one in British and one in American
English :P). Maybe this setting could be stored in the meta-info
file? I just found out there is a plugin for AdiumX that does this
for each contact...
- After changing the dictionary, the red squiggly underlining isn't
refreshed. I thought this was due to the lazy colouring, but I tested
it with plenty of idle CPU time.
As an aside, I finally got my British keyboard (the German key-layout
trades valuable keys (e.g. everything needed for coding in general)
for hardly ever used umlauts) so now I can use the keyboard shortcuts
of TM as intended. And stuff like Apple+~ works now. I find it
strange, that (generally speaking) very few people seem to use their
OS in a non-local language with a local keyboard...
Anyway... ranting over!
Daniel.
On 24/09/2005, at 8.26, José Campos wrote:
> In revision 469, when I try
> Find : this
> Replace : \t$0
> The resuls is "\tthis" instead of a tabulation as expected before
> "this"
>
> Is it a new feature? ;-)
heh… I was actually thinking just yesterday, maybe I should add \t to
the new replace string syntax :) I'll put it in again for next version.
I didn't keep the escape characters from previous syntax, except \n
-- let me know if I need to add others. Also, the new syntax btw also
support \l and \u (for changing case only of first letter), where I
think the old contains only \L and \U -- I'll update the manual page
on this also for next rev.
Trevor Turk <trevorturk(a)yahoo.com> wrote:
>>> I found that you can drag a folder onto TextMate to
>>> open it in a single window. That's actually pretty
>>> good for my purposes generally, but it looks like you
>>> can't do that via Transmit.
>
> What about Transmit->Preferences->General
> Double Click Action: Edit in External Editor
> External Editor: TextMate
> ?
>
> No drag required, just Double-Click on file in Transmit
>"their stuff" windows.
Here's a trick I use (btw, I use Cyberduck, but that shouldn't matter
for this) to edit related files via SFTP. I create a new project so I
have a project drawer, then I double click on a file I want to edit,
Cyberduck downloads it and TM presents it to me in a new window. Here's
the tricky part: I click on the file icon in the title bar and drag it
into the project drawer. (My aim isn't very good, I sometimes have to
try a couple of time to hit the magic spot that causes the icon to
drag.) Then I close the edit window and double click on the file again
and it appears in the already open project window. So what I do is an
initial download of all the files I'm interested in, drag them into the
project drawer and close their independent edit windows and from that
point on, I have pseudo project based sftp support. :-)
--
Carl Forde
Start by doing what's necessary;
then do what's possible;
and suddenly you are doing the impossible.
-- Saint Francis of Assisi
When double-clicking the middle of a word and then pressing arrow left or right, the cursor does not start from the edges of the word, but instead from the double-click position. This behavior is not consistent with NSTextView, or any Mac OS app I've ever used way back to System 6.
Shawn
On Mon, 31 Oct 2005 12:00:04 +0000 (GMT), textmate-request(a)lists.macromates.com wrote:
> Send textmate mailing list submissions to
> textmate(a)lists.macromates.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.macromates.com/mailman/listinfo/textmate
> or, via email, send a message with subject or body 'help' to
> textmate-request(a)lists.macromates.com
>
> You can reach the person managing the list at
> textmate-owner(a)lists.macromates.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of textmate digest..."
> Today's Topics:
>
> 1. Re: textmate Digest, Vol 13, Issue 71 (Shawn Van Ittersum)
> 2. Emacs-style tab to indent line (was: [TxMt] textmate Digest,
> Vol 13, Issue 71) (Allan Odgaard)
> 3. Re: Emacs-style tab to indent line (was: [TxMt] textmate
> Digest, Vol 13, Issue 71) (Gerd Knops)
> 4. Rev 665 - icon gone (Jeremy Dunck)
> 5. Re: Rev 665 - icon gone (Allan Odgaard)
> 6. Tab Size per window (Peter Vohmann)
> 7. Smart Home/End ( Fr?d?rik Bilhaut )
> 8. Re: Tab Size per window (Allan Odgaard)
> 9. Re: Smart Home/End (Allan Odgaard)
> 10. Re: Tab Size per window (Peter Vohmann)
> 11. Re: Tabulation of end tags (Andreas Wahlin)
>
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/mailman/listinfo/textmate
Hi,
I just released Version 1.02 of TmCodeBrowser, a minor update:
- Manual button was not working in some instances, fixed
- Fixed a memory leak
- Use UTF-8 encoding to read back results from ctags
It is available at
http://www.cocoabits.com/TmCodeBrowser/
Note that you need to restart TextMate after the update, otherwise
the plugin will not work properly.
Gerd
Hello.
I just slapped together this theme.
I based it off the excellent Espresso Libre theme.
Just like the Sin City comics & movie, it has a de-saturated overall
feel with a single brightly colored element.
I didn't think i'd like it as much as I do.
Enjoy
Is there a simple way to turn off "check spelling" for
a particular document? You know, so that TextMate
would remember it? I've got some scratch pads that get
littered with re underlines, but I really like the
spell checking in most cases.
Related question - is there any chance of getting a
keyboard shortcut to toggle "Check Spelling as You
Type" - I can't seem to do a macro or anything for
that, and t'would be handy.
- Trevor
Hi,
I think full screen mode would be a nice enhancement: in this mode the
editor takes over the whole monitor: no windows, no scroll bars: nothing to
distract you: just you and the text (constrained to some inset from the
monitor frame).
I find this is a nice environment to get work done in.
I've been doing some writing the last week that I was putting off doing:
easy to be distracted when it is unpleasant work... anyhow: I found while I
couldn't write the paragraphs I needed in textmate, I could in macjournal
<a href="http://homepage.mac.com/dschimpf/">macjournal</a>
So, if full screen is already an option... Please someone point it out to me
:-) Else, this is my suggestion.
Hi All,
I have frequently wanted the ability to replace some text in the
current document and set the selection through a command. Is this
possible? I can easily replace the entire document, but setting the
selection eludes me.
In addition, I'd like access to the column number along with the line
number. I didn't see this as one of the exported environment
variables. Allen/all, any suggestions? Thanks _matt
Hiya!
I used to use that Shift-Apple-N to create new files in the project
but the shortcut doesn't work anymore gah!
It doesn't work when the focus is in the project draw or in the
document either. Has that changed or is this a bug or something? :D
-_RYan.
When I choose "Update Entire Project to Newest" from the Subversion
menu I get the following message:
svn update /Users/bryce/Sites
Skipped '/Users/bryce/Sites'
My working directory is located in '/Users/bryce/Sites/moodle'. Is
there a setting that needs to be set somewhere to get Textmate to pass
the proper path?
Thanks,
Bryce
I love a lot of things about TextMate - but I'm still
having one major problem.
How can I edit multiple files straight from an FTP
server in a single window? I use Transmit 3 - which
lets you ctrl-click a file and "edit in" whatever.
Then, when you save, it shoots the new file up to the
server. However, I'm trying to figure out how to do
this within one window - like when you're working on a
"project". Coming from TextWrangler, this works fine
because all your files open in the file browser and
you've got one window. In TextMate, I've got a new
window every time, and I always have to drag the new
windows around because they open in "cascade" like
fashion. It's really a pain, and I'm trying to find a
way around this...
Is there a way to make a "project" that points to
files that are online? Is there a way to get new files
to open in a single window? I got the impression that
this "single window" thing I was talking about might
be coming to TextMate - but I'm trying to figure out a
way to work with this as-is.
Any tips would be greatly appreciated!
Thanks,
- Trevor
The last changes in the LaTeX Bundle broke down syntax coloring for
things like this:
$D_1=\{x_1^2\}$
Basically, the \{ inside math mode is considered
constant.language.generic
while the \} is not.
The relevant code is
{ name = 'constant.language.general';
match = '\\([^a-zA-Z]|[A-Za-z]+)(?=\b|\}|\]|\^|
\_)';
},
Can't see right now what the problem is with it, maybe someone else
can spot it.
Thanks.
Haris
Will everyone who reads this message please stand up and give a round
of applause for Allan.
Allan, you are now hearing the sound of lots and lots of satisfied
customers. Programmers don't often hear this so please enjoy it.
Now, everyone get back to work.
-Eric
I'm looking for an easy way to add a shell variable to TextMates
preferences via a shell script, I've got so far but the final step
seems a little illusive.
The following just overwrites what's already there....
defaults write com.macromates.textmate OakShellVariables '{enabled =
1; value = "/Users/simon/classes"; variable = "CLASS_PATH"; }'
As the script would run as part of a bundle package install it would
be possible to quit textmate first and not run the risk of defaults
confusion, but ideally I'd like something similar that could simply
be executed via a command.
Any help would be great.
Thanks,
Simon
Yeah I bought BBEdit a few years ago and it cost almost 6 times what
TextMate cost. It was something like $350 Australian dollars.
I sent a few questions and suggestions to their support team and I
recieved a pathetic condecending email explaing very pretentiously
why it was not possible to highlight interpolated variables inside
strings because of 'XML Parsing Rules'.
I paid another $80 odd AU dollars for the 7 to 8 update. What was in
8 that was not in 7? A document drawer. So I paid $80 dollars for a
document draw... Really.
Textmate was about $60 AUD and I get daily builds, I can speak to the
author directly and the application kicks arse!
So all you poo-poo'ers can get stuffed because it's well worth the
cost. If Textmate was $350 AU I'd probably pay that much, too.
(And also for the record I own a license of Zend Studio, and I paid
about $450 AU for that, and they suck, too. I won't be renewing that
license, that's for sure!)
--RYan
In regards to :
[CHANGED] Rather than set soft tabs (that spaces should be used
instead of tabs) and tab size in the bundle editor for language
specific tab settings, the popup in the status bar will now record
changes only for the current (root) scope -- for scopes where an
explicit choice hasn't been made, it'll use the closest with an
explicit choice, and in case of a tie, it picks the one which most
recently was updated.
What am I missing here? I cannot find the soft tabs setting anymore.
I thought it was in preferences. I.E., I had trouble with a Python
script after updating to rev. 680 (had to convert all spaces to tabs)
and want to make sure that I am still editing with spaces as tabs.
thanks, K