Hi,
the basic version of this question is:
"Can I set which version of python the python bundle uses, and how?"
The extended version:
<disclaimer: you will see that I am not a specialist... />
in the Bundle editor under "Run Script" I can see that there seems to
be a variable called PYTHONPATH as well as one TM_PYTHON
Do I need to set PYTHONPATH somewhere?
Two additional things:
- under Preferences in the Advanced tab under Shell Variables, there
is a variable called PATH, which points to one python "distribution"
-- is this related to PYTHONPATH or to my problem?
- when I create a python script from a template (File--New from
Template -- Python -- Python Script), then the first line is
#!/usr/bin/env python
1) there's a link under /usr/bin which is called python which points
to one distribution -- could that be critical (the critical link that
needs to be adapted if I want to use another python distribution
2) there is a PATH statement in /usr/bin/env which points to /usr/bin
(see point (1) )
Thank you for your help,
Claus
Hi,
try to insert a query like this below in your php code and see what
happens with TM colours: they will be "broken" after the query.
The problem seems related to the fact that the query has been broken
into more than one line and there are filtered chars like \' or
closing ")" not related to the logic sequence.
Is there any fix to see things well in these situations?
thanks
$var = "SELECT
field_1
,REPLACE
(REPLACE(REPLACE(REPLACE(LOWER(field_2),'\'',''),'/',''),' (the)',
''),'.', '') AS test,
SOUNDEX
(REPLACE
(REPLACE
(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(LOWER(field_2),' (the)',
''),'-',''),'+',''),'(',''),')',''),'/',''),'.','')) as test2
FROM table ORDER BY field_2";
--
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:
Forza Motosport3: spingi pi� di 400 auto straordinarie al limite delle loro possibilit� su oltre 100 circuiti tra i pi� entusiasmanti al mondo!
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=9728&d=13-10
Hi,
The author of Ruby HAML bundle for the official TextMate repo
might want to consider renaming the bundle to "HAML" bundle.
This is because HAML is now supported in many other languages
than Ruby.
Also the bundle has no snippets support. Another user's bundle
<http://github.com/seaofclouds/sass-textmate-bundle> has snippets,
completions and drag/drop support.
There is also another bundle here. <http://github.com/mattpolito/ruby-haml.tmbundle/
>
I hope that somebody else will take over the bundle in the official
repository if the current committer is not active.
Takaaki
Dear textmate experts,
I often print textfiles created with textmate to a pdf. As I work on
Mac OS 10.6.1, I use "command+P" to open the print dialog. From there
I can choose the left-most button ("PDF") and then "Save as pdf...".
Now I realized that not only the text file is printed, but also
headers and footers. They can actually be adjusted/removed manually
from the print dialog (click the little arrow-button right in the
first line right next to "Printer"). However, I cannot remove the
horizontal lines that still separate the (empty) header and (empty)
footer from the text. Is there any way to remove these lines as well,
in order to simply have the txt-file printed to pdf?
If I use the textedit.app, I can simply choose "Print header and
footer", so leaving this option blank simply prints the text. Since
this feature is possible with textedit, I assume the problem comes
from textmate, that's why I post it here.
Many thanks,
Marius
Dear textmate experts,
I get the following message out of textmate (Version 1.5.7) on
compiling LaTeX documents (using latexmk):
/Applications/TextMate.app/Contents/SharedSupport/Bundles/
Latex.tmbundle/Support/bin/texMate.py:433: DeprecationWarning:
os.popen4 is deprecated. Use the subprocess module. texin,tex =
os.popen4(texCommand)
How can I solve this? I tested on Mac OS X Tiger and Snow Leopard and
get the same error.
Many thanks,
Marius
Works here.
Make sure you have the placed the shebang at the top of the file.
#!/usr/bin/env python
That should help.
Here's the full file:
#!/usr/bin/env python
print('test')
> I'm new to TextMate and would like to use it for my Python
> development, among other things.
>
> My issue is that I am not able to get the default Python bundle to
> function.
>
> I am running OS X 10.6.1 with python 2.6.1.
>
> For example if I create a new file named test.py, enter the text
> "print
> ('test')", save it, and hit command-R, a window pops up saying the
> script has been run, but the output is blank.
>
> What am I missing here?
>
> My eventual desire is to be able to run the IPython bundle created by
> Matt as well, but I figured it was better to start with just the
> regular Python bundle and get that functioning first.
>
> Thank you for any help you can provide.
Hi all,
I remember that there was a way to disable reloading of the directory
contents of the sidebar (which causes timeouts of several seconds when
switching focus back to TM). I googled, looked in the wiki and the
blog, but couldn't find the post about it any more :-(
Does anybody know how to do it? Should be a quick answer.
Thank you for your help,
Nick
I'm new to TextMate and would like to use it for my Python
development, among other things.
My issue is that I am not able to get the default Python bundle to
function.
I am running OS X 10.6.1 with python 2.6.1.
For example if I create a new file named test.py, enter the text "print
('test')", save it, and hit command-R, a window pops up saying the
script has been run, but the output is blank.
What am I missing here?
My eventual desire is to be able to run the IPython bundle created by
Matt as well, but I figured it was better to start with just the
regular Python bundle and get that functioning first.
Thank you for any help you can provide.
As some of you know I've been working off and on on a new LaTeX
bundle. It started as an extension bundle “LaTeXtra” but lately
I've been focusing on merging that code into a fork of the LaTeX
bundle (http://github.com/alexross/latex.tmbundle).
One of my biggest gripes with the current bundle is that there are
MANY ways to do things. For instance there are 3-4 ways to insert a
new environment, each with different key combinations that I cannot
remember. There is a lot of room for simplification.
Simplification will require the removal of some commands, but I'm sure
there is at least one person using each command. What I'd like is to
get an idea of how people generally use the bundle. So, if you use
the LaTeX bundle, please reply!
1. What typesetting engine do you typically use? (ie. pdflatex,
xelatex, pdflualatex, etc …)
2. PDF Viewer? (Skim.app, Preview.app, …)
3. Do you use any of the completion commands? Which ones? What sort
of LaTeX macros do you commonly complete?
4. Do you use any of the snippets?
5. What commands (besides ⌘R) do you use the most often?
6. Anything that you'd miss terribly if it was removed?
Thanks for your time!
—Alex
Hi guys. I'd like to get rid of the terminal [for monitoring trace
output] while developing AS3 projects. I'd like to use a command like:
(code)
:>/Users/{me}/Library/Preferences/Macromedia/Flash\
Player/Logs/flashlog.txt #truncate the flashlog
echo "<pre>"
tail -f /Users/schell/Library/Preferences/Macromedia/Flash\
Player/Logs/flashlog.txt &
(/code)
in order to have the contents of my flashlog.txt spill into the html
output window. This would be great because I'd like to format my trace
statements with HTML.
That won't update in real time, so I've written this code instead for testing:
(code)
cat<<-HTML
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>untitled</title>
<script type="text/javascript" charset="utf-8">
function update() {
var updateCommand = TextMate.system("tail -f
/Users/schell/Library/Preferences/Macromedia/Flash
Player/Logs/flashlog.txt", endHandler);
updateCommand.onreadoutput = outputHandler;
function endHandler(s) {
}
function outputHandler(currentStringOnStdout) { // Code that
does something with the command’s current output like...
document.getElementById("flashlog").innerText = currentStringOnStdout;
}
}
</script>
</head>
<body>
<button onclick="update()">UPDATE</button><br>
<pre id="flashlog">
</pre>
</body>
</html>
HTML
(/code)
But with this code I never get any output. If I replace my 'tail -f'
with something like 'ping efnx.com', I get some output. Is this
because we're not allowed to access any files through this interface?
Anyone have any ideas?
--
Schell Scivally
efsubenovex(a)gmail.com
http://blog.efnx.com
In my opinion, one of the most useful things about the Textmate bundle
is the snippets feature. I use snippets all the time, many of them
customized. Thus, I type eq-tab and a nice equation environment
appears, enum-tab and a nice enumerate environment appears, etc etc.
If this were made less simple in any way, so that for example I had to
navigate a tree to get to the most-used snippets, or if I couldn't
design my own tab triggers, I would regard that as a retrograde step.
I may be misunderstanding something here and I am sure that is not the
intent, but I just wanted to make my point clear.
Relatedly, I mainly use pdflatex but sometimes latex (also bibtex,
makeindex). I use skim.app as a viewer, although the current version
of skim will sometimes freeze in snow leopard. I also sometimes use
xdvi.
I'm absolutely delighted that someone is looking at the latex bundle.
Geoff Vallis
>> On Oct 9, 2009, at 7:30 PM, Alex Ross wrote:
>>
>>> LaTeX users:
>>>
>>> My plan is to remove most of the completion commands and latex
>>> snippets from the LaTeX bundle. They will be replaced by a single
>>> command. I have a prototype under construction, you can see how it
>>> works here:
>>>
>>> http://lasersox.net/LaTeXCompletion.m4v
>>>
>>> Basically there is a tree of completions, and you can navigate them
>>> just by typing. We can work citation completion, and all existing
>>> snippets into this system.
>>>
>>> Thoughts?
>>>
>>> _______________________________________________
>>> textmate mailing list
>>> textmate(a)lists.macromates.com
>>> http://lists.macromates.com/listinfo/textmate
Hi,
Recently I wrote a bundle command to paste the selected TM text to a
terminal window.
Was working fine for few weeks, but then suddenly there was a lag of 2-3
seconds between when i launched the command (via bundles menu or keyboard
shortcut) and when it got around to pasting the text. Kind of irritating.
THoughts?
---------------
rawText="$(cat | sed 's/ / /g;')"
# send the code to the Terminal
osascript -e 'on run(theCode)' \
-e ' tell application "Terminal"' \
-e ' do script theCode in window 1' \
-e ' end tell' \
-e 'end run' -- "$rawText"
--
View this message in context: http://www.nabble.com/Textmate-bundle-command-delay-tp25769214p25769214.html
Sent from the textmate users mailing list archive at Nabble.com.
Hi
I use TM 1.5.9 (1511) and I have again the problem with
tm_interactive_input.dylib.
I removed this file because I can't use LaTeX if this file
is here !
Best Regards
Alain Matthes
Consider the following code:
<gaga>
<bar at1="" at2="" at3="" at4="" at5=""
at6="" at7="" at8="" at9="" at10=""/>
gaga
</gaga>
Re-indenting this gives you the following, which incorrectly doesn't
decrease the indent level after the "/>":
<gaga>
<bar at1="" at2="" at3="" at4="" at5=""
at6="" at7="" at8="" at9="" at10=""/>
gaga
</gaga>
Moving all the attributes (at1 to at10) on a single line is a way around the
problem, but when there are a lot of arguments, it sometimes just makes
sense to have the attributes over multiple lines. I imagine that this could
be fixed by tuning the decreaseIndentPattern and increaseIndentPattern for
XML. Has anyone already done that?
Alex
-----
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet
--
View this message in context: http://www.nabble.com/Re-indenting-XML-with-tag-on-multiple-lines-tp2567268…
Sent from the textmate users mailing list archive at Nabble.com.
Hello everyone,
Has anyone out there tweaked the markdown2book bundle to work with
multimarkdown? The bundle looks great, but I need multimarkdown's
ability to work with tables and bibliogrpahies.
thanks.
jeff.
Hi,
I am a click happy person for some reason. I am trying to fix this. I see my
bartender 3 times a week trying to fix my double click propensities. It
hasn't worked yet, but I have hope.
If I double click in column view on the file open dialog it opens the folder
in textMate. I know better, I do, but in detail view or icon view, I have to
double click in order to go to the next level. When you doubleclick on the
root directory of the 100 Gb partition (how in the hell it is that I can
fill up 100Gb of disk is something I don't want to reveal to my bartender /
shrink).
It occurs to me that one could stick a check on the front of the open
routine. Run du on the folder and alert the user to his impending doom if he
proceeds.
This feature is strictly for boneheads like me who can't seem to get their
double clicks under control.
Part of me doesn't want it to be implemented, because the best way to train
me to not do this is to have the negative feedback of my textMate locking
up, but I also feel obliged to at least suggest it.
--
Brad Tittle
Tech Support
Hi Allan,
This is a small feature request based on my experience of developing
Rails applications.
In rails, view files are named after action name, and thus we get a
lot of files with same names but inside different view folders. When
we use Apple+T to open file, we can only enter file name and use up/
down key to select file.
It'll be really nice if we could enter "/" and dir name to further
narrow down choices. For example, enter 'indexhaml/plan' to select
index.html.haml in plan directory below. It won't cause much confusion
to have dir after file name because the dialog show them in same order.
If you have any comments, please let me know.
Thanks,
Guoliang Cao
Hi,
I've just switched to Snow Leopard and I'm experiencing weird
Subversion Bundle issue. When I try to pop-up a commit window (via Ctrl
+Shift+A, 5 or via Ctrl+Shift+A, 0, then hit commit button) nothing
happens, and I see no error message too. Am I the only experiencing
this issue? Has anyone come up with a solution? TIA!
I'm using build 1510.
--
Filip Tepper
Hello all,
I recently downloaded and installed the ftp/ssh bundle, but no matter
what I put in the dialog fields textmate told me "property list invalid
for format ...."
How do I make it work?
Cheers,
Allen
1. I'm a relatively new user, and just joined the mailing list
2. is there a way to search the archives, so if this has been
discussed I can find it? (I manually reviewed the past 3 months)
3. Anyone know why I am seeing this in my console window about once/
minute, and how I can get rid of it?
10/5/09 1:57:18 PM defaults[32293]
The domain/default pair of (com.macromates.textmate.webpreview,
SelectedTheme) does not exist
Thanks,
joe
Attached is a patch for the Lua textmate bundle to validate the syntax of
the current buffer. It behaves similar to the ruby validate syntax command,
jumping to the first offending line if any.
Tim
Just downloaded the rspec plugin and when i try to run anything i get this
error:
/tmp/temp_textmate.RAORye: line 9: /opt/local/bin/ruby: No such file or
directory
At first i was receiving a similar error after i installed snow leopard and
couldn't run ruby tests with cmd+r, i fixed it by editing my
environment.plist to this:
/usr/local/bin:/usr/bin/ruby:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin/Users/richardschneeman/bin/bin/:/usr/local/bin
When i run echo $PATH i get this:
#!/bin/sh
echo
"$PATH"/usr/local/bin:/usr/bin/ruby:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/local/bin:/Users/richardschneeman/bin/bin/:/usr/local/bin
I'm also getting a similar error running other bundles, so i believe it is
with textmate configuration itself. From googling the only two documents I
have been able to find only mention editing the path directly, or the
environment.plist both of which show my correct ruby implementation:
which ruby
/usr/bin/ruby
ahead in the list of /opt/local/bin/ so i don't understand why textmate
would ever look there first. Either way additional troubleshooting tips will
certainly be appreciated
Textmate fails to check for updates with this message in the console
TextMate Error checking for new version: The requested URL returned
error: 403
I am running snow leopard and am behind a firewall that requires a
proxy.
Any help would be much appreciated
Thanks Anthony
Hi
I am trying to learn some of the nice features of textmate. One that
is not working for me is the completion by hitting the escape key
If i execute it from the menu edit->completion->next completeion it
works. but if I hit the escape [esc] on my MAC it does not complete,
then I get a green bar in the first character of the line the cursor
is on and from that point on the up down left and right arrow keys no
longer work nor do other keyboard commands.
Any suggestions what I am doing incorrectly, or what is happening.?
Steve
Hello everybody,
Textmate help states:
"9.4 Project Dependent Variables
Sometimes it is useful to have a command customized differently
depending on the project. For this reason, it is possible to set
variables for individual projects.
The way to do this is currently a little secret but if you deselect
everything in the project drawer, then click the info (circled I)
button, a panel will appear where you can set variables.
These variables are saved in the project file (*.tmproj) and will
exist only for snippets and (shell) commands executed in the context
of that project."
The problem I have since upgrading to Snow Leopard and Textmate build
1509 is that I am suddenly unable to deselect everything in the
project drawer. At least one file will remain selected and Get Info
and the info button will only show me the info about that file. Is
anyone having the same problem? Alternatively, is there any other way
to set a latex master project wide rather than doing it for each file
individually?
Thanks,
JJ
Hi - I'm using ViMate to have vi-style editing. The problem I have is
that the "Esc" is occupied to switch the vi mode, so the general "Esc"
key function is not available. For example, I use "Esc" to see
completions.
* http://sourceforge.net/projects/tm-vi-plugin/
* http://manual.macromates.com/en/working_with_text#completion
Does anybody know a way to keep the vi functionality and TextMate's
"Esc" functionality? No offense to TextMate itself, but I just want to
have a way to change the copy/cut selection range without using arrow
keys.
Takaaki
--
Takaaki Kato
http://samuraicoder.net
Hi all
I seem to have stumbled on a bug in or related to the groovy bundle.
To recreate - open a new file as
mate anyName.groovy
then type
x x.(
textmate will supply the right paren - so you have
x x.()
with the cursor between the parens
typing any other character at this point causes textmate to hang
TextMate Bundles - Revision 11766: /trunk/Bundles/Groovy.tmbundle
TextMate Version 1.5.8 (1509)
–LF
Is there a list feature i am missing in text mate to list out out all the
lines after doing a search and all the lines that have that search get
opened in a separate text-mate file?
I have just upgraded to, or more specifically - installed a parallel
distribution of, TeXLive-2009. Since doing so, I have found that
typesetting LaTeX does not work correctly when the document references
locally held "personal" class, style, bib or other files stored in ~/
Library/texmf. The errors are included below (with some personal info
redacted):
----------
Latexmk: This is Latexmk, John Collins, 2 December 2007, version: 3.21j.
**** Report bugs etc to John Collins . ****
pdflatex: Changes:
Non-existent destination files: 'XXXXXXX_XXXXXXXX.pdf' Rules to apply:
'pdflatex'
------------ ------------
------------
Running 'pdflatex -interaction=nonstopmode -file-line-error-style -
interaction=nonstopmode -file-line-error-style -synctex=1
"XXXXXXX_XXXXXXXX.tex"' ------------
Latexmk: applying rule 'pdflatex'...
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009) restricted
\write18 enabled.
entering extended mode
(./XXXXXXX_XXXXXXXX.tex LaTeX2e <2009/09/24> Babel and hyphenation
patterns for english, usenglishmax, dumylang, nohyphenation, german-
x-2009-06-19, ngerman-x-2009-06-19, ancientgreek, ibycus, arabic,
basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish,
dutch, esperanto, estonian, farsi, finnish, french, galician, german,
ngerman, monogreek, greek, hungarian, icelandic, indonesian,
interlingua, irish, italian, kurmanji, latin, latvian, lithuanian,
mongolian, mongolian2a, bokmal, nynorsk, polish, portuguese, romanian,
russian, sanskrit, serbian, slovak, slovenian, spanish, swedish,
turkish, ukenglish, ukrainian, uppersorbian, welsh, loaded. ! LaTeX
Error: File `gregsarticle.cls' not found. Type X to quit or to
proceed, or enter new name. (Default extension: cls) Enter file
name: ./XXXXXXX_XXXXXXXX.tex:2: Emergency stop. l.2 \usepackage
{amssymb} %maths^^M ./XXXXXXX_XXXXXXXX.tex:2: ==> Fatal error
occurred, no output PDF file produced! Transcript written on
XXXXXXX_XXXXXXXX.log.
Latexmk: Missing input file: 'XXXXXXXXXXXX.cls' from line
'! LaTeX Error: File `XXXXXXXXXXXX.cls' not found.'
Latexmk: Did not finish processing file: 'pdflatex' did not make
'XXXXXXX_XXXXXXXX.pdf'
Latexmk: Errors, in force_mode: so I tried finishing targets
Application 'Skim' not running
The file /Users/XXXX/Desktop/XXXXXXX-XXXXXXXX/XXXXXXX_XXXXXXXX.pdf
does not exist.
execution error: Can’t make file "Macintosh
HD:Users:XXXX:Desktop:XXXXXXX-XXXXXXXX:XXXXXXX_XXXXXXXX.pdf" into type
alias. (-1700)
error number 256 opening viewer
Found 0 errors, and 0 warnings in 1 runs
/Applications/TextMate.app/Contents/SharedSupport/Bundles/
Latex.tmbundle/Support/bin/latexmk.pl -pdf -f -r /tmp/latexmkrc
"XXXXXXX_XXXXXXXX.tex" exited with status 12
----------
Now, I initially thought that this might be a problem with the TexLive
distribution. However, when switching between the 2008 and 2009
versions and using TeXShop as the frontend, there are no problems in
either version; TexLive-2009 recognizes files under ~/Library/texmf
and parses them correctly. The next thought was that it was an issue
with different versions of latexmk.pl - but TeXShop doesn't use that
script unless it is specifically added on; it's not part of the basic
distro.
Quite frankly I'm at a loss to suggest what the cause could be for
this behaviour. On the other hand, there is a fairly simple
workaround - just include the necessary class and style files in the
directory of the .tex document from which they are referenced. the ./
path seems to work without problems. Of course, this defeats the
purpose of having ~/Library/texmf, but at least it works.
Hopefully someone with more expertise with the guts of the LaTeX
bundle and/or TeXLive will be able to figure this out.
hi,
is there any way to display csv-files in textmate table-like?
It would be great if I could choose if I want the raw text when I open
a CSV-file, like;
col1; col2; col3
3;4;4
7;10;12
or a "table-view" where the columns and cells are separated by a thin
line (like in TextEdit).
Is there such a mode / plugin / way to get this?
thanks!
Is there a way to find the file you are currently working on in the
project pane?
Say you've used cmd-T to open a file somewhere deep down in your
project tree and now you want to open the containing folder in the
project panel... easy way to do that or do I just have to look through
it manually?
Thanks,
Nick
Hello,
i got an issue while run some lines of c-code
the code seems not to be the problem, because it works on my other
machine and with Xcode.
/Library/Application Support/TextMate/Support/lib/tm/process.rb:169:in
`fcntl': Inappropriate ioctl for device (Errno::ENOTTY) from /Library/
Application Support/TextMate/Support/lib/tm/process.rb:169:in `run'
from /Library/Application Support/TextMate/Support/lib/tm/executor.rb:
211:in `parse_version' from /Library/Application Support/TextMate/
Support/lib/tm/executor.rb:98:in `run' from /tmp/temp_textmate.jiIKfe:38
so long
Tim
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