I am working in html mode, which seems to work out when I switch to
php, html, or css just fine. However, there are tab triggers for the
JavaScript jQuery Bundle, for examples "ready -> tab" should put in:
$(document).ready(function() {
// Stuff to do as soon as the DOM is ready;
});
I just get "ready" as a literally string. The source is set to
source.js.jquery, and I am working in a <script type="text/javascript"
charset="utf-8"> block.
What am I doing wrong?
--
Scott * If you contact me off list replace talklists@ with scott@ *
Hi
I would like to use ruby 1.9 under Snow 10.6
1) How to install Ruby 1.9 :
Side by side with 1.8.7 or remove 1.8.7 ?
What is the best solution ?
I will continue to compile LaTeX with TextMate
2) I'm interesting by the code of the command "Typset & View in Skim"
of the bundle LaTeXtra and also by the command "Preview Tikz Picture"
I would like to know the important points in these codes, perhaps
if it's possible to read some comments about the code
Best Regards
Alain Matthes
Hi,
I'd like to use an .Rprofile or .First with the R bundle of textmate.
Is there an easy way to have an .Rprofile and .First excute whenever I
"Run Selection in R"?
Thanks,
-Adam
Hi
I have Textmate 1.5.8, and I have not been able to get the feature
working that allows me to edit in textmate from other applications.
I have installed the install::edit bundle, at least from in side
Safari under the edit menu I see the "Edit in Textmate" menu
selection. But when I open up Safari and begin drafting a message
textmate does NOT Launch. I expected textmate to launch and shift
focus from Safari to textmate.
Maybe that is not how it works so I launch textmate manually and again
to a "^ Command E" manually shift to the Textmate editor start typing,
when I press "Command S" I expected the contents to be copied to my
Safari message window, but instead I get a dialog box asking where to
save the file.
Clearly this feature i not working, but I think I have activated it,
Any suggestions
Thanks
Steve
Hello,
I am not sure, how legal it is in YAML, but YAML::XS perl module is
sometimes saving multi-line value in key:value pairs like this:
---
key: "this is a multi
line value"
however, TextMate YAML bundle thinks the value ends on the first line,
the next line is interpreted probably as regular text, and the second
quotation mark is interpreted as start of never-ending string.
I think this is a bug in YAML bundle.
Karel Bilek
Hi,
Snow Leopard's developer documentation path was changed. Due to that I
have the following suggestion to get rid of that:
in docset_query.rb (Objective-C.tmbundle/Support/lib) line 11 add the
new location to the DOCSETS array:
DOCSETS = [
"/Developer/Documentation/DocSets/
com.apple.ADC_Reference_Library.CoreReference.docset",
"/Developer/Documentation/DocSets/
com.apple.adc.documentation.AppleSnowLeopard.CoreReference.docset",
"/Developer/Platforms/iPhoneOS.platform/Developer/Documentation/
DocSets/com.apple.adc.documentation.AppleiPhone2_0.iPhoneLibrary.docset"
]
Furthermore one has to add to Objective-C's bundle command
"Documentation for Word / Selection" at the beginning
if [[ "$(defaults read /System/Library/CoreServices/SystemVersion
ProductVersion)" == 10.6.* ]]; then
"${TM_RUBY:-ruby}" -r"$TM_BUNDLE_SUPPORT/lib/docset_query.rb" -e
'documentation_for_word'
exit
fi
or one can combine the check for 10.5.* and 10.6* of course.
IMPORTANT:
This only works if the entire documentation is installed locally (as
far as I know this is NOT the default!).
To do it simply open Xcode 3.2 > Preferences > Documentation. Make
sure that the docset 'Mac OS X 10.6 Core Library' is downloaded (press
the Get button if grayed)
After that and reload bundles one has the new look&feel documentation
in TM available.
Best,
--Hans
Thanks for the help, corrections and suggestions!
> OK, then you can duplicate the HTML bundle drag command "Insert Image
> With Dimension" and rewrite it to your need. (Please have a look at
> manual chapter 11 'Drag Commands')
I will try, thanks!
>> That is what I usually do, but with the problem that Project Drawer
>> is
>> not correctly updated: the old file disappears from PD tree.
>> I have to restart TM to see it again. It is always there anyway, it
>> seems to be only a display problem of TM project drawer.
> Yes, this is known issue, but there's no need to restart TM. Simply
> activate any other app like the Finder and re-activate TM. This can be
> done automatically via AppleScript eg; or one could write a command
> which duplicates the selected file, set the focus to Finder, set focus
> to TM.
Why Macromates don't address this know issue in TM or adds a command
for that?
> NOT: CTRL + SHIFT + C! Please use SHIFT+APPLE+C instead.
> As I said TM doesn't listen to CTRL + SHIFT + C.
Ooook, I have found the problem :) thanks
> By myself I seldom click on a tab to select a file. Instead I'm using
> the short-cut APPLE+1..9 for selecting one of the nine tabs (have a
> look at Main Menu > Navigation > Go to Tab) and the title bar tells me
> the current file name I'm working on.
> And more often I'm using APPLE+T "Go to file".
hope TM version 2 will offer soon a better interface for this nice
software.
>>>> And I don't understand where TM places the new file if no
>>>> directory is selected.
>>>
>>> If you press ??N (New File) you will see a dialog with a field
>>> called ?Location?. This will be the place you're looking for.
>>
>> correct, but like before Project Drawer tree seems buggy:
>>
>> If I create a new file with SHIFT + CMD + N, and I set location to "/
>> models" and file name to "test.html", sometimes I see the new file
>> placed at the end of the list at the same level of the project root.
>> Sometimes I will see the file twice: once inside "models" directory
>> and also at the end of the list, out of models directory.
> Hmm, never did that before - by myself I select the folder before I
> create a new file - but I could reproduce it. I got a "ghost file" of
> the same name if I chose an other folder. weird.
Macromates? Please take a look to this too!
..and what are "untitled Group Folder" you get when hit "new folder
without selecting anything in PD ?
thanks
--
Ciao
Fabio
--
Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f
Sponsor:
Nuova Volkswagen Polo: nuovo design, comfort assoluto, pronta per un nuovo passo avanti. Scoprila adesso
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=9582&d=16-9
I have just downloaded the 30 day version of TextMate, and really like
many of its features. However, I do much of my coding in Fortran 77
(I know, not the most modern of languages). I've gotten quite used to
AquaMacs formatting/aligned features and now hope to find the same
features in TextMate.
But what I have found for f77 files is that it doesn't appear to align
code correctly. Maybe I am doing something wrong?
Using opt-command-[ on various lines indents to column 1, doesn't put
line continuation characters ('&') in the proper column (column 6),
and doesn't know what to do at all with format statements.
Are there other f77 users out there with similar experiences? Any
hints, tips, suggestions are welcome.
Or should I just abandon attempts to use TM with f77? It does seem
that TM provides extensive support for 'punchcard fortran' (got to
love the name), so I was initially very optimistic that basic features
would be supported. But so far, I am disappointed.
with the latest textmate running under 10.6.1, i seem to have lost the
ability to save to the last used folder. every new document defaults
to save to the root of my disk. any way to change that?
thanks for any help.
Hi,
I've just installed Snow Leopard 10.6.1 + XCode 3.2. Due to a change
of "xcodebuild -project ..."'s output behaviour from Xcode 3.1 to
Xcode 3.2 the Xcode bundle's commands "Build" and "Build & Run" always
terminate with "Build Failed".
The reason for that is a single '\n' after "** BUILD SUCCEEDED **" in
Xcode 3.2.
To fix that and to be compatible with Xcode 3.1 I suggest to change
line 122 in parse_build.rb (Xcode.tmbundle/Support/bin):
old:
last_line = line
new:
last_line = line if line.chomp.length > 0
In other words remember the last_line only if it is not an empty line.
In the hope this fixes the issue,
--Hans