It occurred to me that quite a few bundles (okay, at least one) make
use of /tmp.
I've been using /tmp/<uid>/ as several other applications under OS X
seem to use this directory, though I just realized it doesn't always
exist so I'm not sure which app creates it in the first place. I note
some applications also use /tmp/$USER/... Of course, there's always
just using /tmp directly.
Anyway, I'm wondering if it might be useful for:
a) All TextMate bundles to use a standard per-bundle temporary location.
b) For TextMate to create the top of this location at start and clean
it up at quit.
For example, TextMate might set TM_TMPDIR to /tmp/textmate-$USER/
<bundle_name> for each bundle, and create /tmp/textmate-$USER at
startup and remove (recursively) /tmp/textmate-$USER at quit.
Mostly thinking out loud.
Useful or not worth the trouble?
j.
Hi Folks,
Is there method to get a list of all current labels when writing a
tex document? Sometimes that would be easier for a proper selection.
Thanks
Christian
I'm writing a bundle for GNU Forth - mainly for giggles although I'll
release it if it gets good enough. I'd like ⎋ completion to be able to
complete Forth words - which can include any non-space character. Is it
possible to define the 'word characters' on a per-grammar basis?
--
Andy Armstrong, hexten.net
Since I'm lazy by nature :), when I create a new Project I don't save it
right away.
So yesterday, I shut down my Mac and TextMate prompted me to Save the New
Project, which I did. The project had about 15 or 20 tabs opened at the
time.
This morning I start up TextMate but none of the previously opened files
appeared. The project window was blank. I assume this is not expected
behavior since all my other projects open with the files they closed with. I
also had 2 other Projects visible at the time I shut down but likely it
doesn't affect this bug.
Thanks,
Ed
I'm working on adding a command to the TWiki bundle that creates a new
document with the raw text of an indicated TWiki URL. (I'll submit a
patch once I'm happy with it.) It would be nice if my command would
set the language of the new document created to "Twiki". How do I do
that?
I thought perhaps I could define a macro (and add it to the bundle)
that calls my command and then sets the language, but I couldn't seem
to get the macro recorder to record my command (or setting the
language).
--
Daryl
Hi mate(r)s!
I am a passionate hattrick[1] player, and I don't doubt that there
are some others around on this list as well. Now, has anyone ever
tried to create a hattrick bundle to write forum entries and
announcements? Actually, there's not much functionality needed, just
some formatting (like [b]bold[/b] and stuff), plus specialities like
[player=<putplayerIDhere>].
Anyone ever done this? I have tried to create a new bundle with a new
language, but I failed - no ruby skills (yet - learning it).
Hints?
TIA
André
[1] http://www.hattrick.org/
Hi
I installed ruby 1.8.5 and rails on mac osX 10.4.9 via darwinports.
Ever since, using the run command (cmd-R) for ruby programs from
textmate (latest version) gives me:
"/bin/bash: line 4: Sat Apr 21 17:18:00 CDT 2007 /usr/local/bin/ruby:
No such file or directory"
Interestingly, I get the same message if I try to run a python program
from textmate as well.
There is a file 'ruby' in /usr/local/bin/ and a file 'ruby' in /usr/
bin/ruby
>From the command line, "whereis ruby" gives me /usr/bin/ruby
Additionally, if I do the following:
>> 1. Open a new TM document
>> 2. Type echo $HOME
>> 3. Press control-R on that line of shell code
I get:
/Users/charleslsnyder
I previously posted this in the ruby group, but it is really a textmate
problem, and it was suggested I move the question to this group...
TIA
C L Snyder
A while ago there was a post about LaTeX syntax highlighting in the case of
\newcolumntype{R}{>{$}r<{$}}
where the math mode highlighting would leak outside the brackets.
Apparently this is now highlighted correctly in the stable version of
TextMate. Quoting from the original thread:
>> Should more complicated examples ever arise, I guess I can just put
>> the problematic lines into a separate file and use \input.
>>
> Or just let us know, and we'll try to fix it ;)
>
> Haris
Well, if you're asking for it, Haris, I'm frequently using constructs
like this one:
\newcolumntype{q}{>{$\rm}l<{$}}
which, unfortunately breaks the highlighting. My current workaround is this:
\newcommand{\eat}[1]{}
\newcolumntype{q}{>{$\rm\eat$}l<{$}}
But then again, this breaks syntax highlighting for another editor,
which I'm using on a Linux system.
Any ideas?
cheers
Hendrik
As we've discussed before, the current compiler selection logic (in the
Typeset & View command) is a bit of a mess. Below is a suggestion for how it
might be rationalised. Once we've agreed on a plan, I'm happy to implement
it.
One complication is that it's sometimes useful to have compilation under the
control of a custom script – either one that you've written for your
specific project, or a generic compilation tool such as latexmk. The way
that TeXShop deals with this is to have special program-designators "mytex"
and "mylatex", which signify that a user-specified compilation script should
be used. I propose that we adopt this mechanism.
The first task is to decide on the compilation route to use. This will be
one of: tex, latex, pdftex, pdflatex, xetex, xelatex, mytex, mylatex. I
propose trying the following things, in order:
1. Use the %!TEX TS-program specification in the source file.
2. Use the %!TEX TS-program specification in the master file.
3. Use the value of the $TM_LATEX_PROGRAM variable.
4. Sniff for \usepackage commands that suggest (DVI)latex/xelatex should be
used.
5. Default to pdflatex.
If the resulting value is mytex/mylatex, then:
1. Use the script specified in the variable $TM_LATEX_MYTEX or
$TM_LATEX_MYLATEX,
2. Use the script specified in the TeXShop configuration, if any:
defaults read TeXShop TexScriptCommand
defaults read TeXShop LatexScriptCommand
3. Give up, explaining why.
So, the variables $TM_LATEX_COMPILER and $TEX_PSTRICKS would no longer be
used. For backwards compatibility, we could continue to allow the value of
$TM_LATEX_COMPILER to trump all other considerations (perhaps with a warning
in the compilation window to the effect that this variable is deprecated,
and explaining the new way to do it).
Any thoughts?
Robin
Hi,
I really love TextMate but I hate drawers... I just tried Coda
(http://www.panic.com/coda) and I like its nice UI so, there is any
plan to implement a sidebar like that instead of the actual TextMate
project drawer?
In addition, I'd like to have multiples sidebars like:
- project sidebar
- local/remote file browser sidebar
- class/symbol browser sidebar
- custom sidebar
Luca
Calling all flex/flash/as developers:
We need to come up with a unified bundle design for these technologies. I
talked about about this with Allan and it sounds like there are several
people working on these same things. Here are my recomendations:
AS3 bundle:
Should contain ActionScript 3 language syntax, snippets, etc. that are
relevant only to AS3 as a language. (just as the ruby bundle only contains
ruby stuff and not rails stuff).
Flex2 bundle:
Should contain any extensions to the AS3 bundle that are relevant to flex.
Should contain MXML language syntax, snipptets, etc.
Should contain MXML and AS3 templates for new applications and components.
Should contain commands to build components and applications using the flex2
framework standalone lib. ("FlexMate")
Thoughts? Ideas? Improvements?
-dave
I'm looking for a way to start/stop the rails server (ruby script/server)
from TextMate. Ideally having the output popup and tail in a new window.
I've been trying to find a way to do this or to create an addition to the
bundle to do this but I've just started using TextMate (2 days) and as such
haven't had much luck.
One thing I tried was just having a command run 'ruby script/server' and
having the output as HTML but it didn't work.
Thanks
--
Ryan Galgon
rgalgon(a)gmail.com
I know this was briefly covered once, but I'm afraid I'm not getting
it. If I want to return two arguments with returnArgument:, how do I
change the name of the selector to pass them?
Thanks,
Brett
Is there a Mac OS X sh command for quoting text (to
Internet-standard)? I'm writing a "Save to URL" command to complement
the Twiki bundle "Open URL" command I described in a previous email,
and I need to convert all the "special characters" in the entire
document to the '%xx' quoted form so I can append it to a URL.
If there is no such thing, I'll write a Python script instead.
--
Daryl
Dear all,
I don't know whether this is a common feature request. But
nevertheless, ... ;)
(I also found nothing about it in this mailing list.)
Would it be possible to add the following feature to the normal Find
dialog?
Given a string "c( 1, 22, 333 , 4444 )" in a line.
I want to highlight item by item ('1', '22', etc.) by using the
normal Find function (APPLE+G).
To do so I would write for instance this regexp:
[,\(] {0,}(.*?) {0,}[,\)]
The problem is that the current Find function doesn't select only the
content of the regexp group '(.*?)', it also highlight the commas and
brackets.
My suggestion would be to change the Find function in such a way,
that if there is at least one group specified by '()' within the
regexp it only highlight the content of it. It also could select all
occurrences of it at ones, if desired.
This could be chosen with two options within the Find dialog, e.g.
'Match only group' and 'Match all groups'.
I don't know whether it would cost much effort to do this, but I'd
find it quite useful to have such a option.
Of course, one coud write a separate command using 'Insert Snippet'
but 'Insert Snippet' has some limitations.
Or is there an other way to do it with TM?
Thanks,
Hans
So somewhere along the line did the default markdown bundle loose the
snippets for links? The menu structure seems to be in the bundle
editor, but both the bundle in the app package and in svn seems to of
lost the links? Am I going bonkers here?
Sam D
Hi there,
Just playing with the R console mode. It's nice, so thanks to the writers!
I often want to edit collections (R lists), and it would be nice if tabbing
inside a collection had the action of moving the selection to the next item
in the list.
Would it be possible to write a command (to hard for a snippet, I think)
which takes over the tab key when there is no snippet bound to it, and
detects if the user is in a c(x,y,..) structure, and selects the next item
in the list?
So if the cursor is in item 1 like this
> a = c(1|11,222)
Then hitting tab would move to highlight all of item 2. Preferably hitting
shift-tab would move to the next previous item, or in front of the
collection if already at the head.
PS: One thing that keeps me in R, is the useful last command function (like
in tcsh, hitting "up" and "down" scrolls through a command history,
replacing the current line. Is it possible to scan the doc, make a list of
lines, and just give this as a drop down menu when up is hit hit?
Not that I want to dredge up a poo flinging flame fest, but did anyone
else see that with the release of Panic's Coda [0] they are using the
"Subetha Engine" [1]? Interesting that they've licensed the
collabrative part of the editor.
Dan
[0] http://www.panic.com/coda/
[1] http://codingmonkeys.de/subethaengine/
How do I limit the range of a find and replace operation? Say I want to
change "foo" to "bar" within one function in a file, but *only* in that
function. Is there a way to limit the find/replace operation to the
current scope, block, or selection?
I can kinda-sorta do it in an awkward way by pulling up the find dialog,
filling in my find and replace strings, closing the dialog, selecting the
region, and doing "replace all in selection". What I'd like is to have
the find dialog only operate on an already-selected region. Can this be
done?
Also, "replace all in selection" acts in an unexpected way with
column-based selections. Say I have the following text:
Lorem ipsum dolor Lorem ipsum dolor
Lorem ipsum dolor Lorem ipsum dolor
Lorem ipsum dolor Lorem ipsum dolor
|---|
I want to change the first "ipsum" to "foo" in every line, so I make a
column selection (marked by the |---| region) and do
replace-all-in-selection. I end up with:
Lorem foo dolor Lorem ipsum dolor
Lorem foo dolor Lorem ipsum dolor
Lorem foo dolor Lorem ipsum dolor
The five-letter word got replaced with three letters and two extra spaces.
If I do the opposite and replace "ipsum" with a longer word, the rest of
the lines are shifted rightward accordingly. My expectation is that when
I'm replacing with a shorter word the lines get shifted leftward to fill
the gap, not that my replacement string will be padded with spaces. Bug
or feature?
--
Steve King, <steve(a)narbat.com>
Ahoy Allan,
Any chance of making the bundle editor able to be ordered above all
the other panels and windows and everything?
I'm always keeping the "Go to Symbol" open and whenever I open the
Bundle Editor I have to close it.
That's starting to get old.
I know you aren't making changes to the 1.x branch anymore but,
could there be some secret nib change or defaults setting that I
could change to make that work?
thanks
thomas Aylott — subtleGradient — CrazyEgg — sixteenColors
I just got a new Mac and now I can't figure out how I got ^H working
before. Right now it works for standard Ruby stuff, but it can't find
stuff in gems, in particular Rails stuff. However I can use ri from
the terminal to find Rails rdoc just fine. Is there something else I
need to do? I'm sure it's something basic.
Thanks!
Steve
if the last line of the javascript file is a comment with no new line
at the end of it, then the command "Minimize current file" produces
this output:
/Library/Application Support/TextMate/Bundles/JavaScript
Tools.tmbundle/Support/bin/jsmin.rb:73:in `<=': comparison of Fixnum
with String failed (ArgumentError)
from /Library/Application Support/TextMate/Bundles/JavaScript
Tools.tmbundle/Support/bin/jsmin.rb:73:in `mynext'
from /Library/Application Support/TextMate/Bundles/JavaScript
Tools.tmbundle/Support/bin/jsmin.rb:122:in `action'
from /Library/Application Support/TextMate/Bundles/JavaScript
Tools.tmbundle/Support/bin/jsmin.rb:168:in `jsmin'
from /Library/Application Support/TextMate/Bundles/JavaScript
Tools.tmbundle/Support/bin/jsmin.rb:197
The problem lying in the mynext method of jsmin.rb, where the while
(true) loop checking for the end of the comment doesn't check for
EOF. should be a simple fix.
Hi
I'm don't know if this has been a discussed topic in any other place,
this list or wiki, but is only a short question:
are there been considered the possibility of nested snipped?
of course I suppose this, as a major change, should be supported in TM2.
The current problem is a frequent one: you are inside and snipped
"influence area" (for example a C "for") and then in it you need
another snippet.. when you use the tab you will get in the outside of
the last snippet but have loosed any outer snippet control.
--- Juan Falgueras
I have change the source of the list of paths for QuickOpen included
files. It works fine:
-----------------------------------
#!/usr/bin/env perl
# to know header paths for your precompiler do:
# echo | g++ -E -v -x c++ -
# and save the header paths as path1:path2:etc
# in the TM pref env variable TM_HEADER_SEARCH_PATHS
$hpaths = $ENV{'TM_HEADER_SEARCH_PATHS'};
$line=$ENV{'TM_CURRENT_LINE'};
$header=$ENV{'TM_SELECTED_TEXT'};
if (!$header) {
$line =~ /#\s*include\s*([<"])(.*?)[">]/;
$local = $1;
$header = $2;
}
if ($local eq '"') {
$t = $ENV{'TM_DIRECTORY'};
if (-f "$t/$header" ) {
print "$t/$header";
system("mate -r \"$t/$header\"");
exit 0;
}
}
@incs = split(/:/, $hpaths);
foreach $t (@incs) {
if (-f "$t/$header") {
print "$t/$header";
system("mate -r \"$t/$header\"");
exit 0;
}
}
print "";
exit 1;
-----------------------------------
Juan F.
Hi All,
I know this has been asked before (by me) and that it probably has more
to do with the status of work in Movable Type itself, but I was
wondering about work towards getting Movable Type categories to work
with either of the textmate blogging systems...
Andrew
* Moved token file into ~/Library/Preferences
* Fixed error checking on search function
* escaped search string to fix "spaces" bug
* added proof-of-concept command for hotlinking a thumbnail to
original/large size image
* minor tweaking and cleanup
If you're blogging and using Flickr, let me know how this works for you!
Thanks,
Brett
I’ve just released version 0.5 of BlogMate. This release adds a few
fixes for Movable Type blogs and adds support for posting to Twitter
from BlogMate (without requiring command line PHP or anything insane
like that).
<http://www.ditchnet.org/wp/2007/04/22/twitter-from-textmate-with-
blogmate-05/>
Todd Ditchendorf
Scandalous Software - Mac XML Developer Tools
http://scan.dalo.us
Is there currently any type of command/etc to get the character count
in current doc or selection?
I see the command in the Text Bundle 'Statistics for Document (word
count)' but this doesn't report the char count...
thanks!
Todd Ditchendorf
Scandalous Software - Mac XML Developer Tools
http://scan.dalo.us
I've been playing with the Flickr API. The ruby wrapper needed a lot
of work and I've only begun tweaking it, but here's the start for
anyone who's interested. It allows you to insert an image tag for an
image from either a specific photoset or from a search of your own
images. It uses simple popup dialogs and if you have a ton of images
in a result set (100+), might be a little awkward. Each command lets
you choose from the available sizes for each image.
You need to run the authorize command first, which will open a
browser window to authorize the bundle. Then return to TextMate and
confirm the dialog and it will write a token to the bundle
directory. As I'm writing this, I'm realizing I should probably put
that somewhere else, but it works for now.
I'm thinking about eventually making an image browser, but it would
be slow so I need to think about caching the files, and at that
point... I have to figure out if it's worth the time. The goal is to
make it simple to insert Flickr images in your blog posts, so we'll
see where it goes.
I'm semi-new to the whole textmate thing and loving the bundles,
however i seem to have had a cracking idea which could speed up our
company's development no-end.
What i plan on doing is coding a script in preference this would sit
somewhere on our server so it could be easily globally updated. This
script would ask a few questions and then generate a zip file or a
new folder in the repository, not sure which yet. The wish then is
to take these files and plonk them into a project. Now im pretty
sure the way to do this would be to pass back to the script that
opened the browser window some sort of reference. Do you guys (and
girls) know of a way to either a) post something back into a script
after a window has opened or find out the url of a web window when it
closes?
Many thanks.
Lawrence
I'm getting the following when trying to convert to pdf.
Couldn't find htmldoc
Locations searched:
/Applications/TextMate.app/Contents/SharedSupport/Bundles/
Markdown.tmbundle/Support/bin
/Users/normanjenson/Library/Application Support/TextMate/Support/bin/
CocoaDialog.app/Contents/MacOS
/bin
/sbin
/usr/bin
/usr/sbin
/usr/local/bin
/Users/normanjenson/Library/Application Support/TextMate/Support/bin
I'm trying to convert php pages to something readable and then create
a pdf document. I drag the php page to a blank markdown page and
then try to convert to pdf. Also if I had a number of pages and
wanted page breaks between them in the pdf can anyone tell me how to
do it.
Thanks in advance for any help.
Norm
Hello,
I try to use the Blogging-Bundle. I setup an account:
# Blog Name URL
Just a blog http://xxxxUSERxxx.wordpress.com/
When I try to fetch post I get this error message:
Error: Invalid Endpoint specified: http://xxxxUSERxxx.wordpress.com/
What is the problem? I am using 1.5.5
Hi All,
I'm a fairly new TextMate user, and have a few things I miss from
previous editors. I'll just mention two:
1) Is there a way to see the size of the current selection on the
status bar at the bottom of the screen?
i.e. If I have 10 lines selected to show...
Line: 42 Column: 24 Selection: 10
I often edit data files where I want to (say) remove the last 100
lines, and that isn't easy to do.
2) Why does the column edit mode select an extra line at the end?
Say I've selected a block of five lines:
1
2
3
4
5
If I press the option key to get the first column, and then type
something, it also has a selection on the line after 5.
That is, you get:
//1
//2
//3
//4
//5
//
That always messes me up a bit.
I'm enjoying my new life in TextMate, and thanks for any suggestions.
-Craig Schmidt
Hi the list,
While trying to use the "Latex template" command, I received the
following error:
/tmp/temp_textmate.xPSxGN:14: undefined method `exit_tool_tip' for
TextMate:Module (NoMethodError)
I am using the (obviously latest) cutting-edge version of Text-Mate,
and neither the Latex bundle nor any plugin have been manually
modified or updated.
Thanks in advance,
Xavier Cambar
I am a new Textmate user so I'm still figuring out how things work.
Is it really not possible to have multi-keystroke key equivalents for
bundle items? With so many items available I think this would make it
a lot easier to have mnemonic shortcuts that way. Sure, I can (I
think, haven't actually tried it) fake this by messing with Textmates
KeyBindings.dict, but that doesn't feel right.
--
Sven Axelsson
I found a discussion regarding adding support for the Verilog
language dating back to 2005 on this list. Has anyone made any
progress on adding a language bundle for Verilog since then?
Thanks,
HM
Hi all,
I've written a command that performs an AppleScript to look up the
selected text in a FileMaker database. I have the command Output set to
"Replace Selected Text". It's all working well, except that the result
that's replacing my selection is always being followed by a newline--which
is definitely not being added by my AppleScript or FileMaker.
Any ideas on how to get rid of the added newline?
--
Tim Mansour <tim(a)neologica.com.au>
The current method the command Quick Open of the C bundle does use
is look for the file in several funny directories that not always are
then same c/c++ are looking into.
Is not easy to know where the cpp preprocessor look for the included
files. The only method I have found is from Andrew Tomazos and is a
small Perl script that makes c++ have mistakes and then shows us the
real places where it is looking into.
Running it once is enough, I think, and then pick up the directories
for a script to quick opening included files.
I would like to know who is the C bundle maintainer for to share this
things with him.
I also find a bit complicated the current way of making changes (yet
small changes) and then you will be out of updates of the official
bundle since yours will be always loaded before the official one.
Tx.
#!/usr/bin/env perl
$line=$ENV{'TM_CURRENT_LINE'};
$header=$ENV{'TM_SELECTED_TEXT'};
if (!$header) {
$line =~ /#\s*include\s*([<"])(.*?)[">]/;
$local = $1;
$header = $2;
}
if ($local eq '"') {
$t = $ENV{'TM_DIRECTORY'};
if (-f "$t/$header" ) {
print "$t/$header";
system("mate -r \"$t/$header\"");
exit 0;
}
}
@incs = qw(
/usr/include/c++/4.0.0
/usr/include/c++/4.0.0/powerpc-apple-darwin8
/usr/include/c++/4.0.0/backward
/usr/local/include
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/include
/usr/include
/System/Library/Frameworks
/Library/Frameworks
);
foreach $t (@incs) {
if (-f "$t/$header") {
print "$t/$header";
system("mate -r \"$t/$header\"");
exit 0;
}
}
print "";
exit 1;
I wrote:
> Oops. I got caught submitting a change without testing it. I don't
> seem capable of never repeating that mistake--that's where automated
> tests come in handy.
Is there any facility for creating automated tests for language grammar rules?
It would be useful to be able to define tests within rules or patterns such as:
test_matches = " _italic_ ";
test_no_matches = "snake_case_word";
...or perhaps...
test_matches = { " _italic_ " = 1; "snake_case_word" = 0; "
_italic_number_1_ _italic_number_2 " = 2; };
And then be able to run tests for a specific bundle (say from within
the bundle editor) like one would unit tests, and see if they're green
or if there's a problem.
Would it be possible to write a BundleTester bundle? I guess one
would just need to parse the indicated bundle's language property list
and run any tests found using Oniguruma. Would these test properties
be otherwise ignored?
--
Daryl
On 4/18/07, Daryl Spitzer <daryl.spitzer(a)gmail.com> wrote:
> > I got around to apply it, thanks.
>
> Thank you.
>
> > > While I was in there, I made the same change to the
> > > 'markup.bold.twiki' match.
> >
> > This won't work, since * is not a word character, so \b will actually
> > have the opposite effect, i.e. making foo*bar*fud match the inner
> > word as bold.
>
> Oops. I got caught submitting a change without testing it. I don't
> seem capable of never repeating that mistake--that's where automated
> tests come in handy. (Which leads me to a question which I will post
> separately.)
>
> > Instead it should probably be (?<!\w) and (?!\w) before/after the
> > match. I didn't make this change though.
>
> I think you made the right call. Unlike snake_case_words, I have yet
> to run across a real-world need for asterisks embedded within words.
> We should wait to "fix" it until it is proven to be a problem.
>
> --
> Daryl
>
>
> On 4/13/07, Allan Odgaard <throw-away-1(a)macromates.com> wrote:
> > On 5. Apr 2007, at 22:09, Daryl Spitzer wrote:
> >
> > > It is a bug that words surround by underscores in snake_case_words
> > > in a TextMate Twiki document are italicized. (In this example, the
> > > word "case" is italicized.) When displayed in TWiki, those words
> > > are not italicized.
> > >
> > > I made a small change to the Twiki language (in the Twiki bundle)
> > > to correct this--see the 'markup.italic.twiki' match in the
> > > attached patch.
> >
> > I got around to apply it, thanks.
> >
> > > While I was in there, I made the same change to the
> > > 'markup.bold.twiki' match.
> >
> > This won't work, since * is not a word character, so \b will actually
> > have the opposite effect, i.e. making foo*bar*fud match the inner
> > word as bold.
> >
> > Instead it should probably be (?<!\w) and (?!\w) before/after the
> > match. I didn't make this change though.
> >
> >
> >
> >
> > ______________________________________________________________________
> > For new threads USE THIS: textmate(a)lists.macromates.com
> > (threading gets destroyed and the universe will collapse if you don't)
> > http://lists.macromates.com/mailman/listinfo/textmate
> >
>
I don't know if this is a problem with TextMate or a "feature" of OSX, but
I have a problem with the "Save As..." dialog. I want to be able to type
a full path into the Save As: filename box. So if I want to save the file
as "foo.txt" in the "/tmp" directory, I just want to type "/tmp/foo.txt"
rather than mousing around the dialog to navigate to the "/tmp" directory,
then entering the name "foo.txt".
(And, as luck would have it, MacOS "helpfully" hides the "/tmp" directory
from that dialog, so I can't even navigate there! But that's beside
the point; I could fix that with a symlink.)
As it is, if I type "/tmp/foo.txt" into the dialog I get a file in my home
directory named ":tmp:foo.txt". The translation of slashes to colons
makes me think this is probably a mis-feature of OSX rather than TextMate,
but even so, is there a way around it?
--
Steve King, <steve(a)narbat.com>
It is a bug that words surround by underscores in snake_case_words in
a TextMate Twiki document are italicized. (In this example, the word
"case" is italicized.) When displayed in TWiki, those words are not
italicized.
I made a small change to the Twiki language (in the Twiki bundle) to
correct this--see the 'markup.italic.twiki' match in the attached
patch. While I was in there, I made the same change to the
'markup.bold.twiki' match. But I intentionally didn't change the
'markup.raw.fixed.twiki' match, since I don't think it's likely that
someone will type a word with a pair of '=' embedded in it. Let me
know if you think I should resubmit the patch with this change (or
other changes) included.
--
Daryl
Thanks for pointing me in the right direction.
On my macbook, I found the keystrokes to be fn-option-F2.
On Tuesday, April 17, 2007, at 10:16AM, "Ciarán Walsh"
<ciawal(a)gmail.com> wrote:
> On 17 Apr 2007, at 17:43, Robert Ullrey wrote:
>
>> I am wondering if there is a way to get the systems contextual
>> menu to appear with suggested spellings without having to resort to
>> control-click?
>
> You can use ?F2 on the misspelled word.
Not sure if there's a wish list form somewhere anyways I have two semi odd
ones...
It would be handy if there was a overlay feature in textmate much like you
get in photo editing software. What would be really nice if there were X
layers and if you could choose to name each layer and hide and show a layer.
Also if each layer had a transparency setting it would be nice so you could
have 10 layers that combined would appear to be almost one document. Maybe
you could combine 10 peoples comments on your file.
My second wish list item is meta data for a text file. That is I could tag
line 1 as having meta data of "this line is great". If a user adds more text
to the document and line 1 is pushed down to line 10 that meta data should
stay with the original data it was tagged on.
These requests stem from code reviewing.
Not saying anyone gives a rats about or that this is even remotly possible
or usable. The ideas were on my mind and I thought I would post them.
Bob
Hi!
I used the blogging-bundle before w/out any problems. 5 minutes ago I
fired up Textmate and when I use the cat-snippet from the blogging
bundle I get the following error:
/Users/nik/Library/Application Support/TextMate/Support/lib/dialog.rb:
5: warning: already initialized constant TM_DIALOG
/tmp/temp_textmate.b4fiwD:5:in `require': No such file to load -- /
lib/blogging.rb (LoadError)
from /tmp/temp_textmate.b4fiwD:5
Does anyone know what to do?
Niels
Hello,
I'm looking at creating a bundle that can be used to provide peer code
reviews making use of TextMate for the majority if not all of the
process. I'm looking for high level input/suggestions. Does anyone else
think this would be helpful to them? Anyone else want to work on this with
me?
The high level process of this goes like this:
( A database is used to store a code file for review and all comments
submitted against that file. This allows metrics to be reported on as well
as allowing any number of people to review the same code at the same time
from many different locations. This also allows the status of comments to be
tracked and changed and what not. I think I can push and pull data from a
database pretty easily from TM. I'm looking at targeting PostgreSQL.)
0. Code creator submits a file to be reviewed via TM.(Submitting
actually inserts the code into the database)
1. Reviewer/s retrieves the stored file from the database and the file
contents are displayed in TM(This is all done via TM).
2. Reviewer/s comments on a line by line basis or select multiple lines and
comment via TM. Each comment should have a status such as BUG, STANDARDS
BROKEN, GENERAL, etc. I'm thinking of using GUI integration to allow data
input.
3. Code creator can comment on the comments left by a reviewer/s via TM.
Example "I did this because of XYZ".
4. Code creator makes fixes in their code via TM based on reviewer/s
comments.
5. Code creator submits changed code.
6. Reviewer/s can then flag a comment as FIXED, COMPLETED, CLOSED etc. These
would be user configurable values I'm just showing these ones as an example.
7. Repeat 0 to 6 until all comments are in a FIXED/COMPELTE/CLOSED state.
8. Mark review in the database as completed. This will keep anyone from
adding new comments. But the process above will all be in the database for
future reporting and what not if it's needed.
Things I wish I could do, but not sure that I can:
0. I can't mark a line in TextMate with a little graphic in the left
gutter to indicate that line has a comment on it. I do see maybe using the
HTML viewer like the TODO bundle does as an alternative. Is it possible to
highlight a line with a specific color on the fly? Say mark a line with a
BUG comment and the line will turn red and lines with comments marked as
GENERAL are yellow etc etc?
Thanks in advance for any input
Bob