Hi,
Is there any way to specify the language of a file from the mate command?
I'm using mate in the middle of shell pipe lines so there isn't any
filename to pick up on.
The simplest example is "svn diff | mate". While I can set the
language to diff, that becomes the default for all piped in text, so
"cat README | mate" will use the diff language instead of plain text.
Am I missing something very obvious? (mate -h doesn't appear to show
anything relevant).
cheers,
mick
Perhaps I'm doing this wrong, but I'm trying to figure out a way to do
wrap text using the command-ctrl-shift-w shortcut while preserving my
code formatting.
If i have this:
<ul>
1
2
3
4
</ul>
then select my prospective list items, command-ctrl-shfit-w, and i get this:
<ul>
<li> 1</li>
<li> 2</li>
<li> 3</li>
<li> 4</li>
</ul>
but i'd really like this:
<ul>
<li>1</li>
<li>2</li>
<li>3</li>
<li>4</li>
</ul>
is this possible? is there any "special" way to select text so that
i'm just selecting the items i want and not the formatted-related tabs
or spaces? or is there yet a better way?
--
eric
If you have spelling checking as you type on is there anyway to get
the popup menu with the suggested spelling corrections (and other
context related stuff) without having to use the mouse?
Googling hasn't shown up anything for Tiger in general, but I would
be happy with something just in Textmate.
Thanks,
Dave.
Another ridiculously easy question that apparently I cannot solve
myself. :-/
I have the canonical "Hello World" program in a window:
#!/usr/bin/newlisp
(println "hello world")
I can run this by Select All followed by Execute Selection Inserting
Result easily enough, but I have spent some time looking for a more
straightforward Run or Execute command that just needs one
keystroke, but with no success. I may be bringing a BBEdit-way of
looking at things...
--
(<http://newlisper.blogspot.com/>)
Hi there. I've started trying out TextMate as a possible replacement
for BBEdit. It's really nice. I have a couple of questions that I've
not yet been able to find answers to in the help.
The opening parenthesis flashes quickly when I cursor forward over
the matching closing parenthesis. It doesn't appear to do it for the
other three cases: (the four being forward/backward : opening/
closing). Also, the flash is too quick and not very easy to see. Is
there a way of changing the behaviour in a bundle or is it part of
the UI that can't be changed...?
Also, how do I change the Select Enclosing Brackets menu command to
be ⌘B - I keep on getting some whistle when I forget that the
default is ⇧⌘B.
thanks - hope these questions aren't too easy for you :-)
--
(<http://newlisper.blogspot.com/>)
I can't find a decent looking theme that I really like. What I am
wondering is what's the easiest way to get the entire list of scopes
for a particular language?
I want to start with PHP, and work my way to xml, sql, etc.
Regards,
Eric
First, upon posting a new article, I got an error that this line (510
of blogging.rb) was trying to mod a frozen string:
filename.sub!(/\.[a-z]+$/, '') if filename
Commenting that line out, I still got a 301 error from the script.
I'm pointing it to
http://myusername@mydomain/backend/xmlrpc
Anyone have any answers? Thanks,
Ben
Hi,
I've been wondering if there's a list for all the bundle names and
brief explanation.
I use svn to get all the bundles from the repository, and, finding a
new bundle, I'm like, "What's this bundle for?". I google often, but
some of them don't seem to be programming/scripting-related.
I, of course, filter bundles I don't use, but there might be some
bundles I might want to use. No one knows what each bundle is for. It
would be great if there's a wiki for this purpose. As the number of
bundles increases, I feel the need for a list or something.
Brief explanation and official webpage for the language and script
(if any) would be useful.
There's a wiki of a list for bundle requests, but I don't find a list
of existing stuff.
If anybody is up for this task, I'll join by doing what I know and
find on the web. If anybody's interested, please let me know.
Takaaki
Hi guys,
I had been playing around with the language grammars and snippets,
and started thinking that Allan probably has thought of some better
way to edit the grammar.. I felt really stupid when I came across
this blog that stated the obvious: while in bundle editor, naturally
select Edit in TextMate.. - Voilá, the Language is set to 'Language
Grammar' and colored nicely.
So if there happends to be any grammar-editors unaware of this
obviousity, just thought I'd let them know.
And for a suggestion to the bundle editor and help, this feature
might be nice to mention as a hint (eg. by the help button in bundle
editor). A tip of the day maybe: "Did you know that you can call the
'Edit in TextMate...' input manager also inside TextMate's bundle
editor. This should make language grammar editing much easier." or
smtn...
Sorry if this is plain obvious to anyone else...
>> Does the blogging bundle work with proxy servers, and if so, what
>> do I have to configure/change (shell variables in TM?) to make it
>> work correctly?
>>
>
> Support would need to be added for this. There is a Ruby Proxy class,
> so it might not be that difficult -- if you are familiar with Ruby,
> you may want to give this a shot yourself :)
I only had to do a small change in order to make the blogging bundle
work with proxy servers. Attached you find the patch for the file
blogging.rb, which is located in the Support/lib folder of the
Blogging.bundle. The patch is for the Blogging.bundle included in
revision 1183 of Textmate.
I changed the new2(...) method to set the proxy and added a text
about "how to configure proxy settings" to the template text for the
Blogging.bundle config file (com.macromates.textmate.blogging.txt).
To enable proxy support, you have to set and enable the TM_HTTP_PROXY
environment variable (host:port of proxy server) in the Textmate
preferences (Advanced->Shell Variables). If the variable is not set
or disabled, the Blogging.bundle still works fine. So the patch
should not break anything for non-proxy users.
A more elegant solution could read the proxy from the network
settings for the current "Location" (configured in "System
Preferences->Network"), but I haven't found out yet how to read these
settings from ruby.
Please review / change / improve these modifications, so the
Blogging.bundle with proxy support could soon be available in future
Textmate updates. :-)
Marc
--
Marc Brogle - M.Sc. in Computer Science - Research Assistant
Institute of Computer Science and Applied Mathematics
University of Bern, Neubrueckstr. 10, CH-3012 Bern, Switzerland
http://www.iam.unibe.ch/~brogle Phone/Fax: +41 31 631 8668/3261