Thanks to Eric Cheng, I was able to update my SWeave bundle from github and it's commands seem to be working correctly. So on to the next problem . . .
TextMate's syntax highlighting in foo.rnw isn't recognizing R code between the "<<>>=" and "@" tags that delimit it, instead it is treated as LaTeX code. This is a problem because R makes frequent use of the "$" symbol, which toggles math-mode in LaTeX. As a result, where I have an odd number of "$"s in a chunk of R code, any LaTeX following that R code will appear highlighted green, as though it were in math mode.
I've read the documentation for scopes and languages, but didn't understand it well enough to figure out where this is going wrong and how to fix it.
Thanks in advance,
Gregory Penn
>
> ya, it doesn't work, tried =/
The assembly languages are all little used enough (I'm guessing) that there
aren't proper language grammars made yet. However they are really easy to
make, just take a look at one of them. Basically just assign variables,
functions, comments, etc to a scope (use the asm language grammars you have
as an example) then use the color options to change the colors. It is not
that hard, I made one for MIPS when I got frustrated with my MIPS project
for school. :)
Brandon
Hi there,
I'm kinda new to TextMate. I was just wondering, is there a way to get TextMate to start up in a certain syntax mode? I only really use the markdown and the C bundles so having it start up in one of those 2 would be perfect.
Thanks
Dan
Hi listers!
This is my first post here. And I'm so sorry to have a so dummy start
but...
I'd like to use TextMate to write Plain TeX (not LaTeX!) papers but I can't
figure out how to do it.
Anyone willing to help me?
Many thanks in advance.
--
ßlue
--
View this message in context: http://old.nabble.com/Plain-TeX-tp31076342p31076342.html
Sent from the textmate users mailing list archive at Nabble.com.
This is another post in what is becoming a series on the LaTeX, R, and SWeave packages. Some strange key-binding behavior has developed since I updated my SWeave bundle through git-hub. The command "SWeave, Typeset & View PDF" works as expected if selected from the bundle menu, which indicates that "command R" is the keybinding for that command. If I use the keybinding, the command does not work correctly, but behaves as it did before I updated the SWeave bundle. This suggests to me that I somehow have two versions of the bundle installed: the correct one is available through the bundle menu and the deprecated one is still controlling keybinding. Does anyone have a suggestion for how to fix this?
I'm encountering a problem with the use of the Command-Control-d shortcut in TextMate on Lion.
Computer: MacBook Air 11" 1.6Ghz Core i5.
OS: Mac OS X 10.7.1
TextMate: Version 1.5.10 (1631)
On starting up the Air for the first time I migrated everything from an external disk.
I have a personal DefaultKeyBinding.dict
When I use the Command-Control-d shortcut in an open file in TextMate on Lion the dictionary popover appears. When I press escape the popover does not disappear. The TextMate window does disappear but TextMate remains running. TextMate's cannot be displayed again by clicking on the Dock icon but can be made to reappear from the Window menu.
After bringing back the window the dictionary popover is still there and cannot be dismissed.
If you're lucky you can still save and quit. If unlucky TextMate quits unexpectedly.
In a clean guest account the shortcut and TextMate behave correctly with no issues whatsoever.
The non disappearing dictionary popover also occurs in TextWrangler and TeXShop 2.43.
All of this behaved correctly in Snow Leopard.
I have tried with clean preferences,with no login items and more. The behaviour persists.
Has anyone else encountered this problem?
Any suggestions?
best
Berend Hasselman
Hi all,
I'm a graduate student struggling up the learning curve with LaTeX and R, and I'm having trouble getting the Sweave bundle for TextMate to work correctly. Here's what happens with the various bundle commands:
If I choose Sweave, Typeset, & View, then foo.rnw file gets typeset and viewed as a pdf, but it doesn't display the R stuff correctly. No .tex file is created.
If I choose Sweave in R, then a .tex file is written if and only if one doesn't already exist. I can then compile the .tex file, which will display the R stuff correctly.
If I then want to edit the document, I have to delete the .tex file and repeat the above steps.
Can anyone suggest how to get Sweave, Typeset, & View to work correctly? Also, I understand that the Sweave bundle at Github is more up-to-date, but I can't figure out how to install it.
Thanks in advance,
Gregory
>
> I think I'm in that early stage where there are one or two key things I
> don't know. The alternative is that I'm hopeless. :)
Hehe in the early stages you probably won't even seeing the edges. :) I
recommend reading all the documentation about Projects, Snippets and
Language Grammars a few times, as well as installing the GetBundles bundle.
Also, press ctrl+opt+cmd+K to bring up a fat menu of keyboard shortcuts.
I'd also read the keyboard shortcut documentation because the shortcuts are
somewhat organized according to their functions (for example,
shift+ctrl+opt+<letter> type shortcuts are used to switch your current
language.
And of course feel free to ask the list, people here are more than happy to
answer.
Brandon
Hello Ron,
Le 22 août 11 à 22:13, RonJeffries a écrit :
> Hi Michèle, Thanks ...
>
> On Aug 22, 2011, at 3:31 PM, Michèle Garoche wrote:
>
>> I suggest you remove the texmate.pid file. It seems to me that it
>> is a sign of something gets wrong.
>> Next, use the second receipt on the page (the one with git clone).
>> You have to create the Bundles folder if it does not exist.
>>
>> Once it is created, just reload the bundles via Bundles menu,
>> Bundle editor, Reload Bundles.
>
>
> Ah. I was expecting to find many bundles already there. Creating and
> doing a suitable git seems to have installed the rspec bundle. Thanks.
No the bundles provided by Textmate about of the box are in /
Applications/Textmate/Contents/SharedSupport/Bundles. You may see them
by right clicking on Textmate in the Applications folder and choose
something like "Display package content" (roughly translated from
French).
The ones under ~/Library/Application Support/Texmate/Bundles are the
bundles that you install yourself, kind of extensions of the original
ones.
This is the same logic for a number of applications on Mac OS X.
>
> Now ... when I %R it, I am getting a message `require': no such file
> to load
> which I take to mean that under TextMate, it's not looking in the
> right place for the gem. It runs correctly under terminal, when I
> just do rspec first_spec.rb at the prompt.
>
> Yet TextMate is not finding rspec ... a pathing issue? Advise me
> please. Thanks,
Not sure.
First try this:
Open whichever file in your project. Select a folder which has tests
in it. Choose Bundles, Rspec, Run Examples in selected files/
directories.
If you want to run a single file, first change the type of the file in
the status bar at the bottom (just after Line:xx Column:yy) to Rspec,
then you can apply cmd-R.
The same applies for a single example, you have to ensure the type of
the file is Rspec before running the spec.
See in Bundle Rspec the various commands.
In case this does not work, you may have to declare the ruby path in
Textmate.
I've installed mine with rvm, so the ruby path is given to Textmate in
Textmate/Preferences/Advanced/Shell Variables like this:
TM_RUBY as variable /Users/whatever/.rvm/bin/rvm-auto-ruby
You have to adapt it to your local installation.
If you have not install ruby with rvm, you should probably (I'm not
sure here) initialize the ruby path in ~/.profile or equivalent. Sorry
I cannot remember how I did it long times ago before rvm appears.
Hope it helps.
>
> Ron Jeffries
> www.XProgramming.com
> I try to Zen through it and keep my voice very mellow and low.
> Inside I am screaming and have a machine gun.
> Yin and Yang I figure.
> -- Tom Jeffries
>
Cheers,
Michèle Garoche
Absolute noob here. New to Mac and to TextMate. Have and am reading the Prag TextMate book. Feel free to send me to a link or such.
I'm trying to run an rspec test under TextMate. I have the rspec gem installed and the test runs under Terminal. Does not run under TextMate, with the require failing. I assume I am missing some path setting or the like in TextMate but can't work out what it is.
I'm told there is an rspec bundle that should "solve" this. I tried what's on this page:
http://rspec.info/documentation/tools/extensions/editors/textmate.html to no avail.
I can't find the rspec bundle on RubyForge and when I try the second suggestion on that page, namely cd ~/Library/Application\ Support/TextMate/Bundles/, I find no Bundles folder under the TextMate folder, just a file, textmate.pid.
I think I'm in that early stage where there are one or two key things I don't know. The alternative is that I'm hopeless. :)
Suggestions welcome. Thanks!
Ron Jeffries
www.XProgramming.com
I try to Zen through it and keep my voice very mellow and low.
Inside I am screaming and have a machine gun.
Yin and Yang I figure.
-- Tom Jeffries
I cannot get TextMate to recognize my git installation
1) Git is installed in the /usr/local/git/bin/git directory
2) I've set up the Shell Variable of TM_GIT to "/usr/local/git/bin/git"
3) I've turned off the PATH variable, as well
But when I try to install a bundle with GetBundles through GitHub, I still
receive the same error. Here's an example:
8/21/2011 18:34:40 TextMate[GetBundles]
Could not install “PHP Drupal” by using
“https://github.com/psynaptic/php-drupal.tmbundle/tarball/master”
sh: git: command not found
Any assistance is appreciated
--
View this message in context: http://old.nabble.com/TextMate-cannot-find-use-git-tp32307720p32307720.html
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
Is there a way to refresh an open file in case the file was changed outside of TextMate?
I use the R Console Bundle and there I have the option to execute R-code and the output is written into another file.
Now I have to reopen this particular file in order to see the changes.
(so I have my script-file open, execute some commands and the output is written to another file (r_res) – but I don't see the newly generated output If this file is already opened– I have to close and reopen r_res to see the newest output generated)
It would be really nice if I could tell TextMate to 'refresh' that file because I know that something was changed in the meantime.
I hope someone understands my problem ;),
Hi all,
I have written a bundle (a macro actually) that edits a file by
finding/replacing characters. However I want to add the functionality for it
to also delete the last character of each line of the document. I tried
using the command moveToEndOfParagraph and DeleteBackward, but it only
deletes the last character of the last line of the document. What command(s)
would I use for the macro to delete the last character of every line? The
number of lines in the document will vary, so I cannot put a hard line count
into the macro.
Thank you for your help.
Keith
--
View this message in context: http://old.nabble.com/Need-help-editing-a-bundle-tp32266863p32266863.html
Sent from the textmate users mailing list archive at Nabble.com.
Hi, I'm a fairly new user to TextMate and love it, in particular the TODO
Bundle, but.
Is there any way to make it recognize TODO's across entire projects (tmproj
etc.)?
I often note them down but as often I forget where I put them.
Thanks :)
Best regards / Med vennlig hilsen
Thor Erik Lie
<http://thorerik.net>
Hi everyone,
I use textmate latex bundle with PDFView to write my documents.
Everything went fine before yesterday ....
I got my registration number and registered my copy of textmate (1.5.10,
1631). Then when I type 'cmd-R' and click the button 'View in PDFView',
things happened, the error massage is:
=====
check_open: Application appears not to understand request
tell application "PDFView" display tex line 5 of file "duvrr_Abeta.pdf"
end tell
Found 0 errors, and 0 warnings in 0 runs
=====
and PDFView also prompts an error with a new window:
=====
The document couldn't be loaded
The document file://localhost/xxx.pdf couldn't be loaded
=====
but it does opens the desired pdf file
I also changed to 'view in TextMate' or 'view in Preview', they are all
right. Only PDFView is in trouble ...
Could you please tell me how to fix it?
Regards,
Hao
I'm using the TODO bundle. It will find all TODO tags in the current file, but will not report all tags in the .tmproj project. The project is simply files in a single directory.
Any help is appreciated.
Thanks.
> When I have a number of files open in tabs - the draw/file-tree can be in any state (folder closed etc). So it's sometimes hard, or just time consuming to locate the current selected tab's file in the tree.
>
> Is there a shortcut does: "show be this file in the draw"
>
> I've had this in other editors - but can't seem to find it in the Menus. Alternatively, is there perhaps a more "Text-matey" way of doing this?
>
> Thanks for the advice.
>
> --
> Phil Cockfield
I recently noticed that the letter template in the Latex bundle stopped
working (TextMate hangs for a second and then does nothing, not even a
console message). I started fiddling with the ruby script that produces the
template document and it appears that the line
me_entry = OSX::ABAddressBook.sharedAddressBook.me
does not work. Commenting out that block and the code that depends on it
makes the template work again. I know so little about ruby it is
embarrassing and consequently have little knowledge on how to fix this. Did
apple change the address book API to Ruby? Perhaps another special case is
need now.
Kyle
Hi all,
I'm editing a man page markup file with a ".1" extension, and I wanted
to get some syntax highlighting, so I installed the official "Man
pages" bundle with GetBundles and set the language to "Man". However,
this produces a hang, and I have to force quit TextMate. (I'm seeing
this on two computers, one running Lion and one Snow Leopard.) If I
restart TextMate and select the same file, the hang recurs.
Is this a bug; or if not, does anyone have any pointers on what I can
do to avoid it?
Thanks,
Jon
I am trying to hunt down a bug somewhere and the was hoping that validate syntax would help me but it is broken on Mac OS X Lion for some reason with a message about:
https://skitch.com/mhenrixon/fpska/textmate
What do I have to do to make it work?
Mikael Henriksson
T: +46 (0) 730 393 200
E: mikael(a)zoolutions.se
W: http://flavors.me/mhenrixon
If I write a long enough single paragraph (or a line) which includes enough
nordic characters (particularly "a" and "o" with umlauts: "ä" and "ö"), the
typing speed while in that paragraph gets very slow. When I switch to a new
line, the typing speed gets back to normal. If I switch back to the
umlaut-paragraph, the typing speed is still very slow.
This problem makes it very hard for me to write text files in Finnish.
Thanks,
Juha
--
View this message in context: http://old.nabble.com/Slow-typing-with-nordic-characters-tp32201911p3220191…
Sent from the textmate users mailing list archive at Nabble.com.
My TextMate now quits immediately on startup. The menu icon bounces once and
then it's gone. It won't show any window. If it matters at all, I have Lion
installed, though TextMate did work on it until yesterday.
I don't see any reports on /Users/[home]/Library/Logs/CrashReporter.
The problem is with only my primary account, if I log on with a guest
account, it works.
--
View this message in context: http://old.nabble.com/TextMate-quits-on-startup-%28Lion%29-tp32200728p32200…
Sent from the textmate users mailing list archive at Nabble.com.
I have noticed that block folding behaves differently in 10.7 when using HTML bundle in PHP environment.
The code below behaves in 10.6.8 as it should, folding properly, but in 10.7 it has somehow begun to take notice of the "array(" and starting to mess up the rest of the folding.
<?php
class dummy {
private $var = array(
"key" => "value"
);
function function1() {
}
function function2() {
}
}
?>
> In my opinion, the full screen of the app pages is well implemented. It is
> almost like write room. Is it possible to have a similar implementation of
> the Lion full screen in Textmate?
It's possible to hack full-screen functionality into 1.5:
in Terminal type:
plutil -convert xml1
/Applications/Textmate.app/Contents/Resources/English.lproj/Document.nib
mate /Applications/Textmate.app/Contents/Resources/English.lproj/Document.nib
Search for 'NSWindowBacking' key/value pair and after these entries,
insert the following:
<key>NSWindowCollectionBehavior</key>
<integer>128</integer>
Quit TextMate, and in terminal type:
plutil -convert binary1
/Applications/Textmate.app/Contents/Resources/English.lproj/Document.nib
I'm still working out if this is a good idea or not.
Andy.
Hello,
Thanks for the replay. I figured it out. By using this:
{name = 'variable.ksp';
match = '(\$)[a-z_]\w*';
},
{name = 'entity.ksp';
match = '(\%)[a-zA-Z_]\w*';
it works well but is there a way that I could have the $ and % a different color? Currently when I change the color in the theme for the variable and entity it changes the color of the whole word including the variable and array symbols ($ and %). It would be nice if I could have different colors for those as signifiers of what they are in the code.
Is there a way to do that? How can I change the scope for only the symbols($ or %) and not the words after?
Thanks for your time and answer.
Best,
John
This will get you started...
http://manual.macromates.com/en/scope_selectors
Adam Merrifield
seydoggy.com
820 Strasburg rd, Kitchener,
Ontario, N2E 2Y3, Canada
Email: info(a)seydoggy.com
Office: 519-489-6033
Cell: 519-574-9788
On 2011-08-01, at 20:57, Walter Lee Davis <waltd(a)wdstudio.com> wrote:
> The PHP bundle does the first of these, you might want to look at that for insight. Im not sure how you would do the second one, but you may spot a different construct in there that would help you figure this out.
>
> Walter
>
> On Aug 1, 2011, at 4:59 PM, John Relosa wrote:
>
>> Hello,
>> I post this question a while back but had no answer... Is it one of those RTFM question or did it slip through the cracks? Can someone point me to the right direction if so on how to accomplish such t a thing??
>> Thank you in
>> advance.
>>
>> Best
>> John
>> ----------------------------------------------------
>> I've seen some bundles do that but I can't figure out the way to accomplish this.
>>
>> In the language that I am working on I have variables and arrays etc...
>> Is there a way that I can have a variable declared with a $ symbol and then have it custom colored every time any word has the $symbol in front?
>>
>> Something like
>>
>> declare $variable
>> declare %array[]
>>
>> so every time these variables appear in the script they would be a certain(assignable) color and a different color for the %array?.
>>
>> Thank you.
>>
>> Best,
>> John
>>
>> _______________________________________________
>> textmate mailing list
>> textmate(a)lists.macromates.com
>> http://lists.macromates.com/listinfo/textmate
>
>
> _______________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
------------------------------
_______________________________________________
textmate mailing list
textmate(a)lists.macromates.com
http://lists.macromates.com/listinfo/textmate
End of textmate Digest, Vol 39, Issue 2
***************************************
Hello,
I've seen some bundles do that but I can't figure out the way to accomplish this.
In the language that I am working on I have variables and arrays etc...
Is there a way that I can have a variable declared with a $ symbol and then have it custom colored every time any word has the $symbol in front?
Something like
declare $variable
declare %array[]
so every time these variables appear in the script they would be a certain(assignable) color and a different color for the %array?.
Thank you.
Best,
John
I did a fresh install of Lion on my Mac. As a result, I had to reinstall
TxMate (1.5.10 (1631)) as well.
First, the irritating bug regarding keyboard input from a Ruby program is
still not fixed in TxMate Version 1.5.10 (1631). I know there's a
workaround, and I'm using it. But still, this thing has been irritating for
over a year and a half, is there anyway to roll that workaround into the
next version of TxMate?
Second, the shortcut (Ctrl - Cd - N) to start a new project doesn't seem to
work, is this a known problem?
Is there a keyboard shortcut to switch the 'Select Bundle Item' window
(control+command+t) from 'Item title' to 'Key equivalent' and back? This is
usually accomplished by using the mouse to click the magnifying glass.
However I'd prefer to not use the mouse if I can help it.
Anyone?
Thanks
Brandon
I looked into Doodim, it doesn't support even Snow Leopard from what I
remember, and they said they lost the source code. Oopsie. If you get it
working, please let us know.
Brandon
Hello,
I post this question a while back but had no answer... Is it one of those RTFM question or did it slip through the cracks? Can someone point me to the right direction if so on how to accomplishsuch t a thing??
Thank you in advance.
Best
John
----------------------------------------------------
I've seen some bundles do that but I can't figure out the way to accomplish this. In the language that I am working on I have variables and arrays etc...
Is there a way that I can have a variable declared with a $ symbol and then have it custom colored every time any word has the $symbol in front? Something like declare $variable
declare %array[] so every time these variables appear in the script they would be a certain(assignable) color and a different color for the %array?. Thank you. Best,
John
Hi,
... I'm new to the list, so please forgive me if this is a big "yes-we-all-know-that-already".
I have replaced my old machine with a new big iMac and upgraded to Lion. Now I have the console log filled all over the place with tons of messages like this one:
28.07.2011 6:18:29.046 PM TextMate NSDocumentController Info.plist warning: The values of CFBundleTypeRole entries must be 'Editor', 'Viewer', 'None', or 'Shell'.
I checked the file /Applications/TextMate.app/Contents/Resources/Info.plist:
$ pwd
/Applications/TextMate.app
$ find . -type f -exec grep -il cfbundletyperole {} \;
./Contents/Resources/Info.plist
$ cd Contents/Resources/
$ pwd
/Applications/TextMate.app/Contents/Resources
$ grep -i cfbundletyperole *
Info.plist: CFBundleTypeRole = Editor;
Info.plist: CFBundleTypeRole = Editor;
Info.plist: CFBundleTypeRole = Editor;
Info.plist: CFBundleTypeRole = Editor;
Info.plist: CFBundleTypeRole = Editor;
Info.plist: CFBundleTypeRole = Editor;
Info.plist: CFBundleTypeRole = Editor;
Info.plist: CFBundleTypeRole = Editor;
My installed TextMate is version 1.5.10 (1631).
So, all is "Editor" as the NSDocumentController requested. What's wrong here? Does anybody have an idea? What can I do?
Thanks very much in advance.
--
cul8er
Paul
paul.foerster(a)gmx.net
Hey everyone. Apologies if this has been covered to death, but I use
TextMate to do PHP development, and I'm frustrated by the autoindentation: I
use spaces instead of tabs and the autoindent will put N number of spaces
for the empty line rather than just a new line.
Is there either an addition to the PHP bundle or a standalone bundle itself
that can clean this up for me?
--
Wells Oliver
wellsoliver(a)gmail.com
In my opinion, the full screen of the app pages is well implemented. It is
almost like write room. Is it possible to have a similar implementation of
the Lion full screen in Textmate?
--
View this message in context: http://old.nabble.com/Lion-Full-Screen-tp32153117p32153117.html
Sent from the textmate users mailing list archive at Nabble.com.
I'm not sure which command you are originally referring to, but this is
pretty easy to just whip up in the bundle editor (thank you, TextMate!).
Create a new snippet. You can name the snippet whatever, and assign it to
whatever keyboard shortcut. Just make sure to put 'text.html' in the 'Scope
Selector' field. This will make sure the keyboard shortcut only activates
when you are in an HTML document*.
So, here is the snippet:
<a href="$1">$TM_SELECTED_TEXT</a>
Just paste that into the bundle editor window (get rid of any extra
whitespace), close the bundle editor, and baby you got a stew goin'!
Highlight some text and press your keyboard shortcut to make a new anchor.
The caret will be in the quotes where the $1 is.
* More correctly, it will be active when the caret is in a scope of
text.html. You can check the scope at any time by using a keyboard
shortcut, but I think it's disabled by default. To enable it, click the
'Filter List...' button near the bottom of the bundle editor, and click the
checkbox by the bundle titled 'Bundle Development'. Once that is enabled,
press control+shift+p to see a tooltip with the scope hierarchy in it.
There's documentation about this stuff on the TextMate site if you are
interested in learning more.
@Gerd: Dear God, thank you. I have been keeping an eye out for the
'standard' location of PlistBuddy for a while now, since it seems to pop up
in the most random spots. Such a fantastically useful tool that I could
never find when I needed it.
@Allan: Thanks for just mentioning TextMate 2. :) It gives us all a sigh
of relief to know it's still out there. I'm sure I'm not the only one who
feels this way: TextMate opened my eyes. The elegance, the simplicity, the
flexibility, the power. I just fell in love. So when our exuberance gets
bothersome, just smile a little. We are just in love with your creation,
and love makes anyone a little crazy and goofy.
For some reason, this HTML snippet/shortcut does not work for me:
Wrap Selection as Link (⌃⇧L) — this turns the selection into link text for
an anchor where you can then fill in the URL.
Is it still available? Have I screwed up my config and lost it?! Or has it
been deprecated?
At the least, I'd like an easy way to create anchors in TM. Is there one
I'm missing? I looked in the Bundle Editor.
Thanks!
-- Owen
I've just installed OS X Lion and having
a problem with the LaTeX preview.
I have the latest TM and latest LaTeX from MacPorts.
When I choose to compile a document (cmd+R),
everything works fine and my favorite Skim opens
the compiled pdf. But this is slow and jumps
to the beginning of the page all the time.
So I used the watch document feature (ctrl+cmd+W).
But now in Lion it fails to open Skim, and
despite that in the LaTeX bundle preferences
I set up to use Skim, TM always opens TexShop pdf preview.
Any suggestions how to tell TM to use Skim in Lion?
I do not know why i sometimes get this error. It seems to happen if I
am running inside a shell in screen. It has happened other times as
well when I'm not in a screen shell.
Hi All,
With Alex Ross' kind permission I created a clone on github and modified it:
git://github.com/gknops/scratch.tmbundle.git
The changes make it work much better with my workflow (YMMV):
- Shortcut changed to easier to use Shift-Cmd-C
- Instead of the temporary buffer document it now shows the scratch manager
- The file names in the scratch manager are clickable and bring you to where the scratch came from
I kept the original UUIDs (as they were in the svn review repo), not sure if that is a good or bad thing. Someone enlighten me please.
Gerd
Is there an URL/RSS feed which will always show the latest version?
Due to my limited Internet access (long story), I have a shell script
which runs on a remote server every night and tells me if I need to
update any of my apps.
Most of the time this is pretty easy, but TextMate doesn't seem to use
Sparkle for updates, so I can't figure out what URL to check. There
has to be one since the app supports built-in version checking.
Any help appreciated :-)
TjL
Hi, recently i install couple of bundles, all of them is visible in bundle
editor, but working just a few, that was already .tmbundle filename
extension (like minimal design tools), but some not, (like jquery bundle)
which was originaly folders, instruction says just to rename them, so I did
so and they instaled but won't working.
What i did wrong?
Thanks.
--
View this message in context: http://old.nabble.com/Some-bundles-won%27t-work-tp32040706p32040706.html
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
I am using mate on an italian keyboard.
While the menu tell me that I can do shift left wiht command + [ when I try nothing happens.
I have to do alt + command + [ to get a shift left but this last keymap is supposed to do code formatting.
Thanks
Andrea Campolonghi
acampolonghi(a)gmail.com
I for one refuse to update to Lion until Textmate adds a leather toolbar and a linen background, and I also want to see torn paper edges and maybe coffee stains. Or better yet, since the trend is to make things look like their physical counterparts, can you make TextMate an attractive brunette, because that's what my editor looks like IRL (she's my wife). Enough of this list chatter on purpose and features - what's important is some consistency in the UX.
Just thought some levity would help.
I just have to say you guys are brave, installing Lion into your workflow
all willynilly like that. Especially when the support for 'Now Leopard
Compatible' TextMate is basically just some dudes chilling on a mailing
list.
Brandon
Hello,
My name is Grace Lee and I am an undergraduate studying Computer Science at
UC Berkeley. I use textmate everyday for programming but recently I wiped
out my operating system to fix a disk fragmentation issue and lost the
license for textmate. I called Apple to request a license and they told me
to contact you guys directly. They also told me that you guys are very nice
and will likely grant me another license.
Could you please send me a textmate license? The macbook I purchased
(Leopard OSX) came with Textmate and I'm very fond of your software to the
point I cannot code without it.
Thanks,
Grace Lee
Is it just me or is rvm no longer controlling the version of ruby that
textmate uses after upgrading to lion?
My TM_RUBY shell variable is set to
/Users/Tim/.rvm/bin/textmate_ruby
which was previously working...
Anyone have any ideas how to fix it, or is it just my setup having a
problem.
Thanks,
Tim
I recommend using GetBundles to update your PHP bundle as well. The default
PHP bundle is great IMO. Command+F1 (tooltip function doc) and Command+Esc
(completion popup) are very useful when you need to peek at the prototype
and exact spelling of built in functions.
Brandon
> Which bundles should I use for a nice environment for website
> development (HTML, CSS and probably some PHP).
>
@Phil
Sorry Phil, it is called 'PySmell' not PyRopes.
Here is the url: http://code.google.com/p/pysmell/
Once you get it working it works very well from what I remember.
Brandon
There's a lot of bundles out there and from my previous experience
with setting up a Python environment, it's quite a few config options
and both complementing and different bundles out there.
So this time around I'd just like to ask:
Which bundles should I use for a nice environment for website
development (HTML, CSS and probably some PHP).
Is the basic CSS and HTML bundles just fine, or should I check out some others?
How about rendering/previewing changes? Like in python and ruby
development, I can run the program in a TM window, but with HTML it
seems I have to load/refresh the page in an external browser. Or does
TM provide a html renderer inline in it's own window?
--
Phil :)
I have a folding problem in a perl document. A string contains the
begin comment marker from C "/*" ... what I actually have is:
push @files, glob "$curr_dir/*";
This causes a fold marker to appear and screws up all the folding
following it because there is no closing comment. To get round it, on
the following line I've used a perl comment and in that comment I've
included */.... so:
# */
This does the trick but I do have a fold where one is not needed, and
it looks bad.
It seems that the perl syntax within TM has inherited some C. I know
perl is made with C and that there are similarities, but this seems a
step to far!
I've found the folding markers in the language definition, and /* and
*/ are defined there, any perl experts out there able to confirm these
aren't valid? I don't want to break anything here by removing them
either.
--
Justin Catterall www.masonsmusic.co.uk
Director T: +44 (0)1424 427562
Masons Music Ltd F: +44 (0)1424 434362
For full company details see our web site
1. Re: Fwd: High CPU Usage in snow leopard (Brandon M Fryslie)
I had exactly the same problem. And finally I've found a workaround.
In my case, I also use sshfs, and I've been looking at the unix "top" application to see which process was eating my computer, until I realised that the problem was caused in the combination of sshfs mounted filesystem and textmate (most times, meanwhile I was looking for something in a big project with textmate).
The process that was eating all cpu was mdworker / mds (spotlight daemon)
So I tried to disable spotlight completely and the problem didnt happen again. When I turned on spotlight... I was able to work for a whlie... and then the beachball appeared again, so what I've done is to add the folder where I mount the sshfs filesystem to Privacy Tab, to prevent Spotlight from indexing the content of the sshfs mounted filesystem.
And no more issues. In my case I'm using virtualbox with a headless ubuntu server 8.04
Hope this helps
Miquel
On 15/07/2011, at 14:00, textmate-request(a)lists.macromates.com wrote:
>
> 1. Re: Fwd: High CPU Usage in snow leopard (Brandon M Fryslie)
There is a plugin called ReMate which should fix the problem. If you are
editing files over a network share, this is bad news with TextMate and will
probably eventually crash and lose your work. Be careful.
http://ciaranwal.sh/remate/
> When i open a folder on textmate, in this case, kohana stack. I open e
> file writing some code. Then save it, goto chromium to check. Now when
> return to textmate, textmate freezes and takes 100% CPU, after some
> time, 5 to 20second, everything comes to normal. This happenes every
> time textmate lost focus then got focus again.
> step to reproduce,
> 1. Open textmate and open a file.
> 2. Goto another app while keeping textmate open, In a word,make
> textmate lose focus.
> 3. Return to textmate, In a word, make textmate got focus.
> => Cpu usage goto 100% and textmate hangs.
> I'm suspecting that when getting focus, textmate scans the files for
> changes outside textmate, is that it ? if so, is there any workaround
> ?
>
> Any way around this?
Thanks
Make sure your macro is 'move backward one word' (option+arrow) and not
'move to beginning of line' (command+arrow). If the macro looks fine, there
might be some sort of interaction between the snippet tab stops and the
macro system but unfortunately I have only played around with making my own
macros and rarely use them for actual work.
Protip: the macro is stored in a plist file somewhere, and you can edit it
by hand to make it do exactly what you want.
Brandon
>
> I think Brandon is being a little melodramatic with with 'probably
> eventually crash?'.
It's only melodramatic until it happens and you DO lose some work. It has
happened to me. However, I was using MacFusion which mounts the network
share like a local FS, causing TextMate to crash pretty much right
away...Now I use ForkLift which is the most fantastically awesome remote
file management tool I've ever had the pleasure of using. Not only do I
recommend using it, I recommend *paying* for it. Yep, that good. :)
Brandon
Hmmm,
That does not seem to work. Do I create a preference file in my custom bundle
because that did't work. I found the preference file that you mentioned in
various bundles, in Source and added the ( '<', '>' ) but again it doesn't
autocomplete
What am I missing?
Thanks
--------------
Sure. In the bundle editor, look for a Preference, probably called "Smart
Typing Pairs" or something similar. It might look like this: {
smartTypingPairs = ( ( '"', '"' ), ( '(', ')' ), ( '{', '}' ), ( '[', ']' ), (
'“', '”' ), ( "'", "'" ), ); } Basically, it's just a series of pairs. You can
add ( "<", ">"), to the list and that should do it. On Jul 13, 2011, at 10:19
AM, John Relosa wrote: That works great thanks! Is there a way to
autocomplete the < symbol? I can do it with the { so when I press "{" TM
autocompletes it with the end } so it automatically becomes {}. How can I add
that functionality to the "<" symbol so it automatically becomes <>. Thank you.
___________________________________________
Hi,
When i open a folder on textmate, in this case, kohana stack. I open e
file writing some code. Then save it, goto chromium to check. Now when
return to textmate, textmate freezes and takes 100% CPU, after some
time, 5 to 20second, everything comes to normal. This happenes every
time textmate lost focus then got focus again.
step to reproduce,
1. Open textmate and open a file.
2. Goto another app while keeping textmate open, In a word,make
textmate lose focus.
3. Return to textmate, In a word, make textmate got focus.
=> Cpu usage goto 100% and textmate hangs.
I'm suspecting that when getting focus, textmate scans the files for
changes outside textmate, is that it ? if so, is there any workaround
?
Sarim Khan
Hello,
Thanks for your reply. This works for stand alone typed variables but on
snippets where I have let's say a "while loop" with
a certain condition as a place holder:
while (condition) ... end while
after I type my shortcut and press the tab, the snippet completes and takes the
caret into the (condition) variable where If I type the name that I want and
press my shortcut for the macro to add the "$" symbol then TM adds it infront of
"while" so
it becomes:
$while (condition) ... end while
instead of:
while ($condition) ... end while
Any way around this?
Thanks
You can do this by recording a macro. Type a word, then under Bundles on the
toolbar, go to Macros and click Start Recording. Press the key combination for
'move to beginning of word' (which is option+left arrow for me), and then press
'$'. Then click 'Stop Recording'. With any luck you should have a macro that
does 'move to beginning of word' and then 'insert $'. You can do that for all
the characters you need, and obviously much more complicated scenarios. Brandon
> Hello, > I was wondering if that is possible. The symbol for variable in the >
language I > am working on is the "$" sign. > Would it be possible to add this
after the word has been typed and have it > added > in the beginning of the
word? The same would go for the array symbol %, > strings array "!" etc.. > So I
would type "counter" and then decide if I want this to be a variable > or an >
array so depending if I type $ or % after that word it would end up being >
$counter or %counter > Thanks in advance for any input. > Best, > John
That works great thanks!
Is there a way to autocomplete the < symbol? I can do it with the { so when I
press "{" TM autocompletes it with the end } so it automatically becomes {}. How
can I add that functionality to the "<" symbol so it automatically becomes <>.
Thank you.
___________________________________________
You could easily customize the folding patterns. It would be up to you to
decide what your convention would be; just add those angle brackets in to the
pattern and you should be on your way.
You can also easily add more folding patterns. If I'm understanding your
request right, you could simply match on "function" and "end function", etc, you
just need to map them all out. So, combined, something like this:
foldingStartMarker = '\{<[^\/]+>\}|^(loop|function|if|on init)';
foldingStopMarker = '\{<\/.+>\}|^(end (loop|function|if|on))'; If you want to
add more folding matches following the "X/end X" pattern, just add a pipe and
the "X" to the parts in both expressions that look like this:
(loop|function|if|on init) Hope that helps, +dru On Jul 13, 2011, at 8:23 AM,
John Relosa wrote: Hello, thanks, this works ok but now every time I have any
{comment}, TM shows a down fold arrow only (since there is no {/comment}
obviously. Is there a way to have the {block}...code...{/block} folding system
differentiate from regular {comments} It could be something like: {<block>}
{comment on code} code {comment on loop} {<loop>} loop code end {</loop} more
code {</block>} Only the {<...>} ...... {</...>} would have folding markers and
not the regular {comment}. Secondly regarding the language, there is no
standard folding set but it would be nice to set up keywords that would start
and end folds in user defined paired words like function.... end function,
if...end if, on init...end on, etc... Is that possible? Thanks in advance.
You can do this by recording a macro. Type a word, then under Bundles on
the toolbar, go to Macros and click Start Recording. Press the key
combination for 'move to beginning of word' (which is option+left arrow for
me), and then press '$'. Then click 'Stop Recording'. With any luck you
should have a macro that does 'move to beginning of word' and then 'insert
$'. You can do that for all the characters you need, and obviously much
more complicated scenarios.
Brandon
> Hello,
> I was wondering if that is possible. The symbol for variable in the
> language I
> am working on is the "$" sign.
> Would it be possible to add this after the word has been typed and have it
> added
> in the beginning of the word? The same would go for the array symbol %,
> strings array "!" etc..
> So I would type "counter" and then decide if I want this to be a variable
> or an
> array so depending if I type $ or % after that word it would end up being
> $counter or %counter
> Thanks in advance for any input.
> Best,
> John
Hello,
I was wondering if that is possible. The symbol for variable in the language I
am working on is the "$" sign.
Would it be possible to add this after the word has been typed and have it added
in the beginning of the word? The same would go for the array symbol %,
strings array "!" etc..
So I would type "counter" and then decide if I want this to be a variable or an
array so depending if I type $ or % after that word it would end up being
$counter or %counter
Thanks in advance for any input.
Best,
John
Hello,
thanks, this works ok but now every time I have any {comment}, TM shows a down
fold arrow only (since there is no {/comment} obviously.
Is there a way to have the {block}...code...{/block} folding system
differentiate from regular {comments}
It could be something like:
{<block>}
{comment on code}
code
{comment on loop}
{<loop>}
loop
code
end
{</loop}
more code
{</block>}
Only the {<...>} ...... {</...>} would have folding markers and not the regular
{comment}.
Secondly regarding the language, there is no standard folding set but it would
be nice to set up keywords that would start and end folds in user defined paired
words like
function.... end function, if...end if, on init...end on, etc... Is that
possible?
Thanks in advance.
------------------------------
Message: 4
Date: Tue, 12 Jul 2011 13:01:25 -0700
From: Dru Kepple <dru(a)summitprojects.com>
To: TextMate users <textmate(a)lists.macromates.com>
Subject: [TxMt] Re: Custom Folding
Message-ID: <882B4362-5E89-413C-AA0A-BA1FD64670DB(a)summitprojects.com>
Content-Type: text/plain; charset="us-ascii"
A basic folding pattern could be set up like this:
foldingStartMarker = '\{([^\/]+)\}';
foldingStopMarker = '\{\/.+\}';
This won't be smart enough to match the text in between the curly braces, but as
long as you use the slash to mark an end comment, it should be pretty workable.
TextMate will handle nesting as you'd probably expect it to, so this:
{block}
code
{loop}
loop
code
end
{/loop}
more code
{/block}
Should fold as you'd want it to.
Do you have standard folding set up for the language? I don't know what
language you're using, but folding is usually set up for things like functions
and loops, so that's helpful, too. But I mention it because if you have to add
the above markers into an existing language grammar that already has markers set
up, you'll need to do them like this:
foldingStartMarker = 'otherMarker|\{([^\/]+)\}';
Note the vertical pipe in between the new addition and the existing marker;
that's the regex "or".
Also, worth noting that TextMate only matches folds if the start and stop
markers are at the same indent level, not merely if the marker is matched. You
might get some interesting folding results with the additions combined with
goofy indentation.
+dru
On Jul 12, 2011, at 11:12 AM, John Relosa wrote:
Hello,
Excuse my newbie question but I am trying to do custom folding in the language
that I am working on and can't figure out how.
Comments in this language start and end with { comment..... } Anything else is
compilable.
Is there a way to specify something like
{Start of code block}
code
.
.
.
.
{/End of code block}
Thanks
John
_______________________________________________
textmate mailing list
textmate(a)lists.macromates.com<mailto:textmate@lists.macromates.com>
http://lists.macromates.com/listinfo/textmate
-
I'm using TM mostly to edit web sites so lots of html files. Prior to TM I used XCode3's Organizer which I liked a lot but is no longer available in XCode 4. So I've switched to TM lately.
I keep finding garbage at the end of my files.
Stuff like
</script>
</body>
</html>
t('Got back auth_token: ' + json.auth_token); });
})
</script>
</body>
</html>
but TM doesn't show the stuff beyond the first </html> tag. Basically, it seems TM doesn't shrink file sizes correctly when writing them. Closing the file and re-opening it will reveal the mess at the end (as does my web browser :-( ) but I'm getting bitten by this bug a LOT. I'm using version Version 1.5.10 (1631) on Snow Leopard 10.6.8 (although it has been around for a few different versions of SL). No extra bundles or plugins beyond the standard install.
I'm kind of amazed that this kind of bug is hanging around in such a mature product. I can't be the first guy to find this?
-Todd Blanchard
Hello,
Excuse my newbie question but I am trying to do custom folding in the language
that I am working on and can't figure out how.
Comments in this language start and end with { comment..... } Anything else is
compilable.
Is there a way to specify something like
{Start of code block}
code
.
.
.
.
{/End of code block}
Thanks
John
Has anyone seen/made a command that would gather all open windows into a new project? This would be valuable for me, but can’t see the hooks so to do.
cheers,
tim
Hi,
I just noticed that when trying to insert a citation in latex via ALT+ESC in the latex bundle, this warning occurs.
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:177: warning: Insecure world writable dir /usr/local in PATH, mode 040777
What does this mean? Certainly I didn't set any permissions manually. I'm a little confused, the Finder says /usr/bin is 755.
Thanks for your help!
Hi all,
I'm trying to figure out the magic behind $ (the dollar sign) in LaTeX mode,
with no luck.
In LaTeX mode when, say, 2+2=4 is highlighted and the $ is pressed, $2+2=4$
is what you get.
Who (what command or code) does this task?
In general: How to discover the command performed by a shortcut? Is there a
way?
Many thanks in advance.
--
ßlue
--
View this message in context: http://old.nabble.com/How-to-discover-the-command-performed-by-a-shortcut--…
Sent from the textmate users mailing list archive at Nabble.com.
>
> Where may I post a bug or ask for support? I have an issue with keymap
> that I cannot solve but I hostly cannot find a way to get vendor support.
You've come to the right place.
I'm running a Ruby script from TextMate and within that script call a Perl script (gpsPhoto.pl) and would like to capture the error messages and act on them. The messages show up in the TM Running window.
An example of an error that appears in the TM Running window:
Use of uninitialized value $text in pattern match (m//) at /someFolderOnMyMac/gpsPhoto.pl line 3120.
Thanks for any ideas.
Greg
Has anyone worked out any solutions within textmate for remote pair programing? Gnu screen and vim/emacs is ok for me but the guy I'm soon to develop with would be lost in those ide's.
Adam Merrifield
seydoggy.com
820 Strasburg rd, Kitchener,
Ontario, N2E 2Y3, Canada
Email: info(a)seydoggy.com
Office: 519-489-6033
Cell: 519-574-9788
>
> Of course you can make TM scope aware and such, but AFAIK the completion
> mechanism can't be modified. Your bundle can be very refined but you will
> always have to use ESC and press again and again until you find the option
> you need...
The built in completion (ESC by default) might not be able to be modified
(it actually can a little), but almost every language has one or several
completion commands in the bundle. Check out PyRopes, and also the PHP
bundle has a couple different great completion commands.
A question about support.
Where may I post a bug or ask for support?
I have an issue with keymap that I cannot solve but I hostly cannot find a way to get vendor support.
Any suggestion?
Thanks
Andrea Campolonghi
acampolonghi(a)gmail.com
@Gerd
Programmable event driven actions & context menu plugins are actually two of
the most useful realistic suggestions I have heard for TM2. Has anyone
played with SIMBL / APE? What are the chances of us hooking something like
this in ourselves? Are there already Cocoa events that we could hook on to
for that stuff, or does the entire event framework need to be put in?
I've only written a few Cocoa programs so I'm not an expert on that stuff,
but I've been wanting to play around with SIMBL so this may give me the
opportunity. I'm thinking that the context menu thing should definitely be
doable to some extent.
Brandon
On Fri, Jul 1, 2011 at 11:54 AM, <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/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. keymaps (Andrea Campolonghi)
> 2. Re: Capturing error messages (Greg)
> 3. Re: Any news on Textmate 2? (Brandon M Fryslie)
> 4. Re: Any news on Textmate 2? (pier25)
> 5. Remote pair programming (Adam Merrifield)
> 6. Re: Any news on Textmate 2? (Gerd Knops)
> 7. Re: Remote pair programming (Mario "Kuroir" Ricalde)
> 8. Re: Remote pair programming (Gerd Knops)
> 9. Re: Remote pair programming (Mario "Kuroir" Ricalde)
> 10. Re: Any news on Textmate 2? (Will)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 1 Jul 2011 15:38:45 +0200
> From: Andrea Campolonghi <acampolonghi(a)gmail.com>
> To: textmate(a)lists.macromates.com
> Subject: [TxMt] keymaps
> Message-ID: <58A56F19-F6B7-4D28-A51C-4B5C79094E47(a)gmail.com>
> Content-Type: text/plain; charset=us-ascii
>
> Hi,
>
> I am using mate on an italian keyboard.
> While the menu tell me that I can do shift left wiht command + [ when I try
> nothing happens.
> I have to do alt + command + [ to get a shift left but this last keymap is
> supposed to do code formatting.
>
> Thanks
>
> Andrea Campolonghi
> acampolonghi(a)gmail.com
>
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 1 Jul 2011 10:17:34 -0700
> From: Greg <web(a)web.knobby.ws>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: Capturing error messages
> Message-ID: <430DB169-BEFC-450C-94C2-6FE9296693B0(a)web.knobby.ws>
> Content-Type: text/plain; charset=iso-8859-1
>
> On Jun 30, 2011, at 10:42 PM, Martin K?hl wrote:
>
> > On Thu, Jun 30, 2011 at 21:58, Greg <web(a)web.knobby.ws> wrote:
> >> I'm running a Ruby script from TextMate and within that script call a
> >> Perl script (gpsPhoto.pl) and would like to capture the error messages
> >> and act on them. The messages show up in the TM Running window.
> >
> > There's nothing TextMate-specific about this, you can capture those
> > messages any way you would otherwise in Ruby. Which way that is depends
> > on how you call the other command, e.g. with backticks you would append
> > `2>&1` to the command line.
> >
> > If you're unsure, [1] has a survey of ways to run subprocesses in Ruby.
> >
> > HTH,
> > Martin
> >
> > [1] http://tech.natemurray.com/2007/03/ruby-shell-commands.html
>
> Thank you. I think this will point me in the right direction.
> Greg
>
>
>
> ------------------------------
>
> Message: 3
> Date: Fri, 1 Jul 2011 10:44:32 -0700
> From: Brandon M Fryslie <bmf(a)email.arizona.edu>
> To: textmate(a)lists.macromates.com
> Subject: [TxMt] Re: Any news on Textmate 2?
> Message-ID: <BANLkTin_9p6eeornUXPq8_m_5dXXc5gcjg(a)mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> >
> > Of course you can make TM scope aware and such, but AFAIK the completion
> > mechanism can't be modified. Your bundle can be very refined but you will
> > always have to use ESC and press again and again until you find the
> option
> > you need...
>
>
> The built in completion (ESC by default) might not be able to be modified
> (it actually can a little), but almost every language has one or several
> completion commands in the bundle. Check out PyRopes, and also the PHP
> bundle has a couple different great completion commands.
>
I'm really excited about it.
The features I'd love to see:
- auto text completion (like in xcode or dreamweaver)
- auto complete based on the project and not only in the file
--
View this message in context: http://old.nabble.com/Any-news-on-textmate-2--tp31959429p31959429.html
Sent from the textmate users mailing list archive at Nabble.com.
Hello,
I wonder if anyone has tested TM with Lion (prerelease).
What are the versions of Ruby and Python with Lion ?
Actually is it possible to work with LaTeX, TM, Python 3 and Ruby > 1.9 ?
Alain
What about using "find in project" ?
shift + cmd + F
or
edit>find>find in project
moom wrote:
>
> Hello.
> How can I find and replace multiple lines of code in the project.
>
> Like this:
>
> <ul>
> <li></li>
> <li></li>
> <li></li>
> <li></li>
> <li></li>
> </ul>
>
>
> TextMate supports searching multiple lines of code in the project?
> Normal searching can do it, but finding that in the project can not.
>
> Do You have any advice please?
>
--
View this message in context: http://old.nabble.com/How-can-I-Find---Replace-multiple-lines-of-code-in-th…
Sent from the textmate users mailing list archive at Nabble.com.
Without opening the whole TextMate 2 can of worms again, I was curious how Lion's App Sandbox would effect TextMate and the whole plugin/bundle atmosphere we all currently enjoy. Would our current MO preclude future versions of TextMate from ever being sandboxed and therefor ever being on the MAS?
Adam Merrifield
I have two snippets in differente bundles (CSS and AS3) with the same tab
trigger.
Why is the AS3 snippet showing up in the CSS bundle? I mean when I press tab
a list appears with both snippets.
Is there a way to avoid this apart from using different tab triggers?
--
View this message in context: http://old.nabble.com/snippets-with-same-tab-trigger-on-different-bundles-t…
Sent from the textmate users mailing list archive at Nabble.com.
I'm trying to create a new file template, and it's not working for
some reason. I can run the script in a regular shell and it works
perfectly, but not within TM.
The script is:
if [[ ! -f "$TM_NEW_FILE" ]]; then
TM_YEAR=`date +%Y` \
TM_DATE=`date +%Y-%m-%d` \
TM_CLASS_NAME=`echo "$TM_NEW_FILE_BASENAME" | perl -pe 'm/
^(unitTest|test)/ && s/(unitTest|test)([[:alnum:]_]*)/$2/'` \
perl -pe 's/\$\{([^}]*)\}/$ENV{$1}/g' \
< template_in.txt > "$TM_NEW_FILE"
fi
with extension set to "php"
The tempate_in.txt file is:
<?php
/**
* ${TM_NEW_FILE_BASENAME}
* simpletest unit test template: http://www.simpletest.org/
*
* Created by ${TM_FULLNAME} on ${TM_DATE}.
* Copyright (c) ${TM_YEAR} ${TM_ORGANIZATION_NAME}. All rights
reserved.
*
* @author ${TM_FULLNAME}
* @version ${TM_DATE}
* @package undefined
*/
require_once('simpletest/autorun.php');
include '../class.${TM_CLASS_NAME}.php';
class Test${TM_CLASS_NAME} extends UnitTestCase
{
private static $testlog = 'testlog.log';
function setUp()
{
error_log(PHP_EOL.'==================
%<=========================='.'Test${TM_CLASS_NAME} start '.date("Y/m/
d.H:i:s").PHP_EOL,3,self::$testlog);
}
function test1()
{
}
}
?>
When I run it in a normal shell with the command:
rm unitTestDebug.php ; TM_NEW_FILE=$PWD/unitTestDebug.php
TM_NEW_FILE_BASENAME=unitTestDebug TM_ORGANIZATION_NAME='Miishka'
TM_FULLNAME='Tamara Temple' sh -vx new.sh
I get a file in the current directory as unitTestDebug.php containing:
<?php
/**
* unitTestDebug
* simpletest unit test template: http://www.simpletest.org/
*
* Created by Tamara Temple on 2011-06-23.
* Copyright (c) 2011 Miishka. All rights reserved.
*
* @author Tamara Temple
* @version 2011-06-23
* @package undefined
*/
require_once('simpletest/autorun.php');
include '../class.Debug.php';
class TestDebug extends UnitTestCase
{
private static $testlog = 'testlog.log';
function setUp()
{
error_log(PHP_EOL.'==================
%<=========================='.'TestDebug start '.date("Y/m/
d.H:i:s").PHP_EOL,3,self::$testlog);
}
function test1()
{
}
}
?>
which is exactly what I would expect. If I call up the template in TM
drawer's new file creation dialog, I get nothing.
so I'm stumped.
Any help?
Hello,
When I use the categories menu item:
Bundles->Blogging->headers->Category
i get an error message.
Fetching of the blog posts is working!
I get the exception as listed below: (Hope this works on the list?)
Kind regards
Dick Barends
(Mac OS 10.6.7 ; TextMate by macromates.com)
I’ve installed Fletcher Penney’s Markdown/MultiMarkdown bundle in ~/
Library/Application Support/MultiMarkdown. But when I try the Preview
command in TextMate, I get the error
/bin/bash: line 11: multimarkdown: command not found
The multimarkdown command is installed in /usr/local/bin which
TextMate has in its PATH variable. The command line also knows
multimarkdown is there.
What am I missing?
--
View this message in context: http://old.nabble.com/Multimarkdown-command-not-found-by-TM-Preview-tp31907…
Sent from the textmate users mailing list archive at Nabble.com.
Good morning,
I'm using TextMate with and Mac OSX Snow Leopard.
In the Ruby Bundle, ^B Left one character works just fine...
However, ^F Right one character doesn't...rather than moving right one character the following message is displayed: "NOTE: Gems latest_load_path is depreciated...".
I checked 'Select Bundle Item' list but could not find ^F entry...
I'd appreciate help.
Thank you
I am something of a newbie to Textmate. When I try to compile with the Latex
Bundle, I get the following message:
---------------------------------------------------------------------------------------------------------------------------------------------------
The current PATH is:
/usr/bin
/bin
/usr/sbin
/sbin
/usr/local/bin
/usr/X11/bin
Please add the directory containing “kpsewhich” to PATH in TextMate's Shell
Variables preferences.
Alternatively, the PATH can be retrieved from Terminal but this requires a
relaunch: Set PATH and Relaunch.
---------------------------------------------------------------------------------------------------------------------------------------------------
I saw that there were users on this list who had encountered similar
difficulties, but I tried some of the suggested solutions, and they didn't
seem to work.
When I launch the alternative path, it creates a new path which is exactly
the same as the previous path. I would be grateful for any help with this. I
can't seem to figure out how to get this to work, despite numerous attempts.
Thanks in advance for considering helping me out with this.
Best,
Miguel
Dear Sirs,
Amy update on the below request.
Regards,
Janardhan Shivarudrappa
_____
From: Bits Software [mailto:sales@bitsonline.co.in]
Sent: Wednesday, June 15, 2011 12:13 AM
To: 'textmate(a)lists.macromates.com.'
Subject: License clarification
Dear Sirs,
I had purchased the Textmate product to on my client behalf Sourcebits
Technologies P Ltd. I wanted the license to be registered in my client name
itself.
But when I purchase the software the mail was saying that the owner is
sales(a)bitsonline.co.in. could you guy help me out on registering the license
name in my client's name.
I have purchased 6 Lic of Textmate which was purchased yesterday.
Please help us out on this.
Regards,
Janardhan Shivarudrappa
Bits Software Online
Ph 9632227977
Dear Sirs,
I had purchased the Textmate product to on my client behalf Sourcebits
Technologies P Ltd. I wanted the license to be registered in my client name
itself.
But when I purchase the software the mail was saying that the owner is
sales(a)bitsonline.co.in. could you guy help me out on registering the license
name in my client's name.
I have purchased 6 Lic of Textmate which was purchased yesterday.
Please help us out on this.
Regards,
Janardhan Shivarudrappa
Bits Software Online
Ph 9632227977
>
> (1) Add a feature that gives the option to redirect Bundle error messages
> to
> either a tooltip, or a new document .
> (2) Add a feature that allows you to click on a Bundle error message, and
> see it automatically jump to the offending line in the original document.
> (i.e. error message at line 700). This could be done by providing an error
> parser regex (perhaps bundle specific), so if the error regex matches, it
> grabs the line number from the error output, and jumps to that specific
> line
> number in the original document, making it easier to edit the document!
These features are already in TextMate. You can edit the bundle to redirect
error messages to a file (if it is a shell command use 2</dev/null, etc).
Unfortunately it isn't as easy as it could be to redirect stderr to a
different place than stdout (like the output dropdown in the bundle editor)
so this may not be feasible for you.
For number 2, the PHP bundle does it when you press validate and it detects
an error. You can take a look at that bundle to see how they do it. The
command is Validate (ctrl+shift+v) and it goes to the first line with an
error.
Brandon
Hello!
Sometimes, some bundles that I run, generate a lot of error messages (i.e.
repetitive error messages about a bad CSS format that I'd like to ignore
temporarily for now). The tooltip is bigger than the screen.
I'd like to edit the Bundle for "Html Tidy" to redirect all error messages
into a separate document, instead of a tooltip. How do I edit it? I'm not
familiar enough with Ruby to make that 1-line edit necessary (I think one of
you Ruby pro's can spend 30 seconds teaching a Ruby newbie like me! I
appreciate it.)
Thanks!
Mark Rejhon
--
View this message in context: http://old.nabble.com/Bundles-%28i.e.-HTML-tidy%29%3A-Redirecting-error-mes…
Sent from the textmate users mailing list archive at Nabble.com.
Hi Folks,
I found some free time today and couldn't think of anything better to do[1]
than trying to extend the life support of Edit in TextMate.
* The result is available on GitHub[2].
* The bundle uses SIMBL[3], so install that first.
* Install to `$HOME/Library/Application Support/SIMBL/Plugins/`.
* If you installed the old input manager, remove it.
It has seen an /incredible/ lack of testing, but I used it a handful of times
and it didn't set my computer on fire.
So far I've seen work with TextMate, TextEdit and Xcode, and /not/ work with
Safari.
Feedback, bug reports and patches welcome, and apologies in advance if I don't
get around to responding quickly at the moment.
Cheers,
Martin
[1] Well apart from a bath actually, but after that.
[2] https://github.com/mkhl/edit-in-textmate/
[3] http://culater.net/software/SIMBL/SIMBL.php