Hello,
I am trying to create a new plist entry for editing files in the
SuperCollider
language (see:
http://www.sourceforge.net/projects/supercollider/
or
http://en.wikipedia.org/wiki/SuperCollider
)
I started by duplicating the entry for c++ and editing the initial
entries as follows:
{ scopeName = "source.sc";
fileTypes = ( "sc", "rtf", "txt" );
However this did not work. It works for files of name
<filename>.sc.rtf, <filename>.sc.txt but not for <filename>.sc
Could someone please help me correct the plist entry so that it works
for <filename>.sc?
Otherwise the syntax definition for c++ works quite well to cover also
the
actual syntax of SuperCollider (some adjustments will be needed
to make this complete).
Thanks,
Iannis Zannos
So, I've set up this great 'thingie' (is it a macro, command,
snippet? who knows?) triggered on 'foo'->tab.
Works great, I love it. Now I want to change it.
Damn if I can remember where I put it and, now that I've looked
everywhere I can think of, can anyone tell me how to find a lost
'thingie' by name?
Thanks,
S
Hi,
As much as I love to keyboard shortcuts, coming from an avid
QuickSilver user, I will love to have a floating windows sometimes for
less-used macros and commands. Navigating through three levels of
menus really bores me. I really don't want to assign yet another
arcane keyboard command either.
Is a language specific floating palette (like a tear-off menu from
Automation) a sound idea?
Ivan
Dan,
Just to be safe, I’ll move the conversation over to the regular list.
Though questions about adding to the development I think do belong on
the developer list too.
The Gri and View command works great. Thanks, your effort is much better
then the one I was coming up with.
On 07/08/2005, at 15.24, Jeff Powell wrote:
[ I have cc'ed the mailing list since the info provided may be useful
to others as well ]
> How then do I take this glossary from BBEdit and copy it over to
> the TextMate drawer.
I'm not familiar with BBEdit's glossary functionality, but I
downloaded some example glossaries and made a perl script which
converts these to TextMate snippets (placing them in a bundle).
You run it with the folder containing a set of glossary items as
argument. It will then create a tmbundle named after this folder,
containing the items in the folder (as snippets). It removes
#indent#, converts the #placeholderstart/end# to TM-notation for
placeholders, does the proper escapes, and saves this as a property
list (the format used for TM snippets) in the created bundle.
It uses the first word of the filename (in lowercase) as the tab-
trigger. And you can supply a scope to be used for the script by
using -s <scope> as first argument.
So for example I downloaded Marc's Bourne Shell Glossary. After
mounting the disk image I ran this command from Terminal:
./glossary_to_snippet.perl -s source.shell '/Volumes/Bourne Shell
Glossary.sh 1.0/Bourne Shell Glossary.sh'
Then (re)start TextMate, and there's a new bundle named “Bourne Shell
Glossary” which contain the snippets.
This (TextMate) bundle is placed in ~/Library/Application Support/
TextMate/Bundles -- from Finder you'll need to use Show Package
Contents to inspect the bundle, but you can drag it to TextMate to
have a look at the contents.
I hope this provides you with enough details to convert your
glossaries. If you're not familiar with what the scope is, I
recommend this blog posting [1].
Kind regards Allan
[1] http://macromates.com/blog/archives/2005/07/06/introduction-to-
scopes/
Hi all,
I'd like to add support for highlighting the syntax of BBCode, but I'm
not really sure where to start. The main feature I'm looking for at
the moment is to turn on PHP syntax highlighting when you are inside a
[php] code [/php] section.
Where should I start looking for files to edit?
Thanks,
Douglas
I have the bundle packages checked out to /Library/Application
Support/TextMate/Bundles and I have a Rails.tmbundle in there, but
there is no option for Rails in the Automation Menu. Shouldn't there be?
Hi,
I'm really new to TextMate, having recently converted to a bit of Ruby
development on the Mac. I'm interested in writing a bundle or some
commands to help me use a tool called Hackystat. You can check out a
few things about it here:
http://hackystat.ics.hawaii.edu/hackystat/docbook/ch05.html
Basically, it's a metrics collection server. It lets you install
small sensors to collect software metrics, like how long you worked on
a particular file. Since it's automatic it stays out of your way,
it's consistent, and it's reliable. Each user controls their own
metrics data.
I want to write a sensor to collect these metrics from TextMate. The
basics would be: 1) log when a new file is opened, 2) log when a file
is closed, and 3) every so often (30 seconds) log which file is in the
active window. Pretty simple.
I'd like to start a small command-line program from a TM command, but
I'd like to keep it open until TM is closed and send info to it
periodically throughout the TM session.
I've seen several items about launching command-line programs from TM,
but can I keep one open in the background? Does TM block until the
script finishes or can my Ruby script start another process and then
return and get back to that process later?
Can I intercept the File | Open actions and then record my metrics? I
haven't seen how to do this in other posts. There's a growing list of
tools that support Hackystat, including Emacs, Vim, Eclipse, and
VisualStudio. I'd love to add TextMate to that list.
http://hackystat.ics.hawaii.edu/hackystat/docbook/apa.html
Plese let me know if any of this is possible and where I can dig up
some documentation on it.
Thanks!
Tim
I'm having some trouble with the keybinding. It seems that in the
latest stable release (1.1b15) the keycombination ^u is hardcoded to
make current word uppercase. How can I change this? (it doesn't seem to
be in the keybinding file).
Regards,
Johan Kåhrström
I have made a colorpicker.. you can find your desired color
with max 5 clicks.
How to set it up in your TM.
Step #1
Save the attached 'colorpicker.xhtml' in your homedir.
Step #2
Menu -> Automation -> Run Command -> Edit Commands...
Step #3
In the left panel, select XHTML
Step #4
Below the left panel.. click the leftmost + then New Command
name the command 'Neoneye's Colorpicker'
Step #5
In the rightpanel.. set the following options:
Save: Nothing
Input: Nothing
Output: Show as HTML
Activation: Key Equivalent F13
Scope: source
Step #6
In the rightpanel.. insert the following line:
cat "/Users/simonstrandgaard/colorpicker.xhtml"
(or whatever absolute path you have)
Step #7
close the Bundle Editor.
hit F13
good luck
--
Simon Strandgaard