Hi all,
I've added a comment to one of Alex King's blog posts
http://alexking.org/blog/2006/11/09/quote-of-the-night
With the 'Editor war' thread going on, I think this would be an
awesome idea for a t-shirt. Anyone care to take up the challenge of a
nice design?
Carpe viam,
Mike
Michael Larocque
Chief Cook and Bottle Washer
Prolumina Communications Inc.
http://prolumina.com/~mlarocque/
Hi there,
I find myself launching Xcode just to create a new
project, and then work on it exclusively with TextMate…
It would be great if TextMate had a “New Xcode Project”
command so that I don't have to fire up Xcode at all !
Does anyone here knows if it's easily feaisble ?
Thanks in advance :-)
The 'Statistics (Lines Added/Removed)' command in the Diff bundle works by counting + and - characters in the first column. The current count includes the '---' and '+++' that unified diffs have in the first two lines.
The fix is to skip the first two lines.
When saving a file there is usually a pre-selected file name given in
the dialogue… such as for a markdown file it is "untitled.markdown".
The whole filename is selected… but is it possible to actually get
only the "untitled" part selected?
thx,
Dan
Hi all,
I don't know if this is already a faq, but as I have struggled with
this issue for quite a long time, I care to share my "discovery":
when I want to set a bookmark with the Command-F2 shortcut, I need to
press the Command key first, the 'fn' key second (otherwise the F2 key
increase the brightness of the screen instead of passing the value to
the application), and F2 last.
If I press the 'fn' key first and the 'Command' key second, the
bookmark is not set.
Best regards,
Giulio Cesare
Hi all,
The New note keyboard shortcut "^ {" in the GDTAlt bundle, does not
work on a swedish keyboard. I press ctrl-alt-shift-8 for this, where
alt-shift-8 stands for {.
The end result is just a '8' written out.
/Håkan
Disclaimer: I've got no knowledge of how to code bundles. I can
simply copy the wonderful work done by other people.
That being said -- before I start hacking, has anyone created a
PHPDoc Parser Bundle that would allow me to see up-to-date
documentation of my PHP codebase in TextMate, similar to the way the
TODO List bundle allows me to see where I've marked Todos? I love
TextMate as it's much easier for me to work with projects in
TextMate's formatting, but I miss using something like Zend that'll
parse phpdoc formatted comments on the fly.
Thanks,
Karl Katzke
Karl Katzke | Systems Analyst I | Texas A&M University Athletics |
Internet & Special Projects
Contact: kkatzke(a)athletics.tamu.edu | office: 979.458.4075
The bundle is very nice, lightweight and fast. Excellent.
One thing I do not like is: for me it is very convenient to use
text files containing a lot of stuff besides the
projects: e.g., additional information, a list
of the steps already taken, telephone numbers,
how-to reminders, etc etc. This is extremely handy.
When I open the file concerning a certain group of related
projects, all the info I need is already there and makes it
faster to write the details of projects or do the actions.
Now the problem with GTDalt is that any extraneous line
gives an error. Wouldn't it be nicer if anything which is
not contained in a project...end pair would simply be
ignored, so that the file could be used in a more
flexible way? This should not be too difficult to do
if I understand scopes (unless it's a feature...)
Thanks,
Piero
If I change one character in an open, previously saved TM document, switch
away from TM to the Finder, and then switch back to TM, I get this warning:
"The file for the document at ~/Desktop/yourfile.rb has been modified by
another application. There are also unsaved changes in TextMate. Do you want
to keep the TextMate version or revert to the version on disk?"
This warning is well-intentioned but (under these circumstances) false. m.
--
matt neuburg, phd = matt(a)tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
Hello, folks. I Googled for about 20 minutes and seemed to find nothing.
Here is my problem.
1. I check out a project in Eclipse using Subclipse.
2. I work on the project in Textmate.
3. In Textmate, I add a file to version control, queueing it to be
committed.
At this point when I flip back to Eclipse, the Subclipse plugin thinks
the entire directory containing the new file is not under version
control. If I try to update or check in with Subclipse, that directory
is messed up. It's as though Subclipse doesn't think the directory is a
working copy, even though the .svn directory is still there and the
entries file is still there. I haven't done a before-and-after diff yet,
so I don't know what happened. I'm too tired to do that now. :)
Any advice? What's up? Help!
Thanks.
--
J. B. (Joe) Rainsberger :: http://www.jbrains.ca
Your guide to software craftsmanship
JUnit Recipes: Practical Methods for Programmer Testing
2005 Gordon Pask Award for contribution Agile Software Practice
Hi,
I just wondered if there is a way to quickly see which keys are bound
by key equivalents in the current scope. The reason is that I wanted
to assign a key equivalent to a custom macro, but all the key
shortcuts I came up with were already assigned in "text.tex.latex".
So if you know a better solution than trial-and-error, I'd be happy
to hear it.
Nicolas Schmidt
Dear all,
after some tiny stylish changes and some optimization for speed here
the latest version of Hypersearch.
As always comment are welcomed.
Best,
Hans
I'm happily using the GTDalt bundle. Nearly everything is working
perfectly. I'm seeing one strange issue:
When I run synchronize with iCal, I get a calendar per context in
iCal as Haris describes, but for all contexts, no actions are
exported. There are no errors reported and the bundle works
flawlessly otherwise.
I haven't seen this particular issue come up here and its not
mentioned on Haris' page:
<http://skiadas.dcostanet.net/afterthought/2006/07/17/gtdalt-and-ical/>
Any ideas ?
[Newest Bundle (AFAIAW); Textmate v.1292; iCal v.1058]
wtia,
mark.
Things I'd like to see eliminated.
1) Don't want blank line inserted after Doctype.
2) Don't want to credit Tidy as generator.
3) Don't want blank line inserted after closing head (</head>).
4) Don't want blank line inserted after html comment.
5) Don't want blank line inserted after closing h1 and paragraph tag.
6) Why is it wrapping the CSS found before the closing head tag with:
/*<![CDATA[*/
/*]]>*/
I don't have a problem with the way it indents, just the above concerns.
Besides not doing the stuff mentioned above, Dreamweaver's Source Formatting
command:
1) Eliminates all blank line feeds.
2) Does not place content within <p></p> in a separate indented line. It
keeps everything compact like so:
<p>My content here.</p>
3) *Does* place the content within <div></div> on a separate line indented
like so:
<div>
<p>Content here</p>
</div>
Yep, maybe a GUI dialog would help but for the masses migrating from
Dreamweaver, maybe providing a default Dreamweaver-like setting that
addresses the above would suffice. What's crazy is that as great as BBEdit
and other editors are, I know a lot of people that keep Dreamweaver around
just for source formatting.
---------- Forwarded message ----------From: Jacob Rus <jrus(a)hcs.harvard.edu
>
> To: textmate(a)lists.macromates.com
> Date: Wed, 08 Nov 2006 22:47:08 -0500
> Subject: [TxMt] Re: Newbie Customization of Tidy
> hcabbos wrote:
> > Can anyone point me to instructions on how to modify HTML Tidy's
> formatting
> > of documents. There's a bunch of stuff that happens that I don't care
> > for...stuff that running HTML Tidy in BBEdit doesn't do.
>
> You'll have to clarify. What exactly happens that you don't like? How
> would you prefer the command to work? Which options from tidy (there
> are several dozen, almost all of which seem pretty stupid to me :p) do
> you want TextMate to expose to the user?
>
> For more on creating TM commands, the TM manual has a pretty good
> explanation.
>
> > I'd love Dreamweaver's method of formatting within TextMate--at least
> for HTML
> > files. What's nice about BBEdit is that it allows you to point to
> Dreamweaver's
> > SourceProfile.txt file as a custom profile for source formatting.
>
> You could certainly build this feature yourself. But if you want
> someone else to help you out with that, you'll have to explain how it
> works.
>
> * * *
>
> I think it would maybe be worthwhile to put some sort of GUI dialog in
> front of a tidy command. But which options are needed? Keeping the
> interface as super simple as possible also has many benefits (such as
> keeping people from making unreadable unindented html ;).
>
>
>
>
>
> _______________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/mailman/listinfo/textmate
>
>
Can anyone point me to instructions on how to modify HTML Tidy's formatting
of documents. There's a bunch of stuff that happens that I don't care
for...stuff that running HTML Tidy in BBEdit doesn't do. I'd love
Dreamweaver's method of formatting within TextMate--at least for HTML files.
What's nice about BBEdit is that it allows you to point to Dreamweaver's
SourceProfile.txt file as a custom profile for source formatting.
I recently did a post to my programming blog discussing my 30 day experience
with TextMate (http://sayspy.blogspot.com/2006/11/my-month-with-textmate.html )
where I said I liked the app but there just was not quite enough to tear me
away from Vim at the moment (but who knows since I just started using Vim
again and I am already missing the pretty GUI of TextMate =).
I had some personal gripes about the Python bundle in the post and Jacob Rus
suggested that I email the list with those issues so that they could
possibly be addressed by someone with bundle commit privileges.
I think the biggest universal issue I have is the lack of docsting support
in the various snippets. Both the function and method snippets leave out
docstring tab stops which is really unfortunate as Python best practices
practically dictate a docstring for *every* function or method (see
http://www.python.org/dev/peps/pep-0008/ for the official style guide for
Python). The class definition does have a docstring, but following
docstring conventions from PEP 257 (
http://www.python.org/dev/peps/pep-0257/) which is referenced by PEP 8 there
should be a blank line between the class definition line and the docstring
for the class but that would mess up the code folding so I can look past
that.
But that leads to the problem of code folding not working with Python when
there any blank lines within a block. Jacob said that this should be
addressed in TM 2 by making it easier to define whitespace-delimited
grammars which is great to hear.
The last big issue is the assumption that files containing unit tests end in
'Test.py'. In Python's unit test suite all files use the *prefix* of
'test_' to signify something is a test. This has the nice perk of not
requiring all test files to end in '.py' since you can directly execute
files with other extensions.
Anyway those were my biggest issues. I know most of these are minimal since
editing them directly myself is simple enough, but it would be nice if they
were part of the default bundle so I can get any other improvements made to
the svn repository for those things instead of having them ignored because I
have a local edit.
Keep up the good work. As I said, I think TextMate is a good app, just not
exactly for me (at the moment).
-Brett
This isn't a huge deal, but since it seems to have persisted through
a few TextMate releases and I didn't see it mentioned previously on
the list or in any tickets, I thought I'd ask about it. Does anyone
else end up with words merged together here and there when the text
is taken from an application into TextMate?
For example, if I try it on this message, the words "previously on"
in the first sentence get changed to "previouslyon".
I looked at the Input Manager and it seems to be a symlink into
TextMate.app, so it doesn't look like I'm using an old version or
anything. (I'm running 1324.) I primarily use ^⌘E from within Mail.
I don't know if this would happen with other apps or if it's Mail
specific. I don't recall the text ever getting messed up on the
return trip to the calling app (when I save in TextMate), but I can't
say for certain that it doesn't happen that way, too.
Rob
Would there be a way to add an cmd+R command to the webkit html
output to reload? Say from the TODO window or from the Py?Mate window?
Or would that be another feature request? .. (sorry Allan)
dirk
After automatically upgrading to 1324 at the weekend I've been having
problems with some functions in the Subversion bundle. If I try a
commit I get a popup window saying:
/Library/Application Support/TextMate/Support/lib/erb_streaming.rb:1:in
`require': No such file to load -- erb (LoadError) from
/Library/Application Support/TextMate/Support/lib/erb_streaming.rb:1
from /Library/Application
Support/TextMate/Bundles/Subversion.tmbundle/Support/svn_commit.rb:13:
in `require' from /Library/Application
Support/TextMate/Bundles/Subversion.tmbundle/Support/svn_commit.rb:13
I get a similar message for status checks, but updating to HEAD is
fine...
I have no idea what this means or why it hates me, but I can't help
wondering if it's because I'm running OS X Panther. As I understand
it, TM itself is Panther compatible, but some bundles aren't. Could it
be that a bundle update caused this?
If anyone has any ideas I'm all ears. Thanks.
Hi,
It looks like there might be a small bug in the ctrl-shift-L "Itemize
Lines in Selection" command.
I highlight text that looks like so:
---
It could be the case that there exists an $h_i \in H_s$ that is a
subset of $h_j \in H_s$. In this case, we can think of the
combination $h_i,h_j$ as a new concept class $h^\prime$ which ...
Alternatively, $h_i,h_j$ could be in the situation depicted in \ref
{fig:1b}. In this case, the VC dimension of $h_i \cup h_j$ is at
least ...
---
When I highlight and ctrl-shif-L to "Itemize Lines in Selection", it
hoses the second line. I guess it's finding the ":" in my \ref{fig:
1b} and thinking that I'm trying to make some kind of definition
list? Anyway, the result is this:
----
\begin{itemize}
\item It could be the case that there exists an $h_i \in H_s$ that
is a subset of $h_j \in H_s$. In this case, we can think of the
combination $h_i,h_j$ as a new concept class $h^\prime$ which ...
\item [ Alternatively, $h_i,h_j$ could be in the situation depicted
in \ref{fig ] 1b}. In this case, the VC dimension of $h_i \cup h_j$
is at least ...
\end{itemize}
----
I've just re-svn-up'd my bundles and the issue is still there, so I
just thought I should bring it up.
If my LaTeX is improperly formed as well, please let me know as I'm
no LaTeX guru ... :-)
Thanks,
-steve
(Re-sent to the list after replying solely to Haris the first time.)
On Nov 7, 2006, at 8:20 AM, Charilaos Skiadas wrote:
> I think I might have forgotten to tell Alan about the most recent
> updates I've done. Here is a temporary location for the most recent
> bundle. Alan, perhaps you could update the bundle on your website?
>
Done, thanks for the updates, Haris. The archive on my site[1] is
your current bundle now, and it should do the trick for Danstan.
Thinking broadly about the bundle and how I'm using sweave, it seems
to me that sweave ought to work for at least a few different
circumstances:
1. single .snw file sweave => typeset
2. sweave project (typeset optional; I use the sweave project to
prepare data for subsequent work, and frequently do not typeset at
this point.)
3. sweave current file => typeset (not really functionally different
than no. 1, just switched on the basis of TM_LATEX_MASTER, probably)
My current workflow is to begin with no. 2, and then work with the R
console to test code that I subsequently plug into a single sweave
file. When I'm ready, I sweave and typeset that single file (which
lets me avoid re-sweaving the whole big project each time I want to
fiddle with a table, for instance). The trick for the bundle seems to
me to be enabling smooth selection of a) master sweave, b) per-file
sweave, and c) typeset, with as few overlapping key commands as
possible.
Anyway, I'll be eager to really work on this as soon as I finish this
little project I'm working on.
Cheers-
-Alan
[1] http://textbench.com/tm/SWeave.zip