I've modified a shell script written for SubEthaEdit that allows you to
open or create files from the command line, and also to pipe text into
TextMate.
If anyone's interested, it can be downloaded from:
http://www.ini.unizh.ch/~awe/Code/TM_clTool.tgz
Andrew
Hi there
There is an InputManager here:
http://www.codingmonkeys.de/map/log/archives/000107.html
that hijacks the output of Safari's "view source" command to SubEthaEdit.
It is beyond my expertise to come up with something similar for TM but
reckon it might be useful.I like it when I am coding PHP and want to
get back the processed HTML from my local development server to look
at the final output. In BBEdit I would then maybe "check syntax" to
see if my PHP was producing OK (X)HTML (although I gather this is not
possible in TM? Maybe there is a CLI-based tool to validate XHTML to
which TM could talk? )
So, I'm putting it out there for some generous soul to hack one up for TM ;-)
The above link even includes the source code.
Any takers?
bongoman
As I slowly customise TextMate by altering the bundles in
~/Library/Application Support/TextMate, I'm wondering what happens
when TextMate is updated with alterations to the default snippets,
macros & commands?
To get the benefit of such bundle updates am I going to have to
manually edit my bundles in the above location to include the extras
in the new bundles? Or do the bundles in the actual application
package have effect to the extent that individual elements therein
have not been overriden by anything in the user's Library/Application
Support directory?
I hope this question is clear...
bongoman
Greetings,
Someone mentioned XCode top bars this morning (which I think is an
excellent idea, much better than my previous scroll bars adorners
attempt imho) when I was actually about to post updated mockups as well
:)
Here they are anyway:
I think it looks better than the bottom status bar, and it leaves room
(which was a valid concern) for possible additions, popups, buttons,
whatever.
It looks even better in the project window because it makes a better
separation between the tabs and the editing pane:
Thoughts ?
PS: question for the list moderators: what is the preferred method to
post screenshots on the list ? Attached pictures have to go through
moderator approval, which is obvious, so do you prefer URLs for example
?
--
Luc Heinrich - lucsky(a)mac.com - http://www.honk-honk.com
Fellow TextMates,
Allan has added a nice little menu in 1.0.1 for the times when two or
more things 'clash' on the same keyboard shortcut (like commands)...
this then allowed us to 'stack' multiple similar commands (like search
engines) onto the one key command, like the 'help' key. which is very
cool.
So, I've added support for Dictionary.com, Google, Thesaurus.com,
Wikipedia, Yahoo in the default bundle, and PHP.net in the PHP bundle.
See screen grab attached. Basically, it pumps the current word into
your chosen search engine, and it works great!!
I'm looking for nominations for additional searches to be added to the
Default, PHP, HTML or CSS bundles... right now it doesn't appear we can
add W3.org sites, because there's no nice flat URL structure to work
off, and no focused search engine.
Feel free to also say "we don't need Yahoo", etc etc.
I'm thinking perhaps an amazon.com search would be a possibility, but
really I'm looking for any search-based technical references that could
be of help to the masses of TM users by feeding it the current word.
It's totally easy to add your own in 1.0.1 by the way :)
Justin
Ahoy there, textmateys:
I took the liberty of making some little web buttons/badges, for anyone
who'd like one. (Actually, I was really only thinking of myself, cause
I wanted to stick something on my weblog, but it's rude not to share.)
http://www.raena.net/textmate-icons/
Hi,
I was wondering if it would be possible to create a new document from a
template without having to be in a project. Right now I've just got a
scratch project for this stuff, but I kind of like the way BBEdit will
let you make a 'New from template...' right there in the File menu.
thanks,
Raena
On 11. Oct 2004, at 11:46, José Campos wrote:
> What is better than a rainy week-end to try a new software? So (and
> this will be my last question until version 1.01 is released)
You do know that we run a mailing list? ;)
> where are "scratch macros" stored? Can they be edited and modified? If
> yes, what
> language is used to do it?
Currently only in memory -- I may keep it in the preferences, so that
it'll remember the last scratch macro from last session.
However, the format they are stored in is custom -- I figured it would
often be easier simply to re-record the macro again, than to use an
editor to change an existing.
When you save a macro it ends up in:
~/Library/Application
Support/TextMate/Bundles/Custom.tmbundle/Macros/<name>.plist
You /can/ edit this file, and I know some do. But it's officially not
supported, and the format (despite being a normal property list) is
undocumented ;)
Kind regards Allan
Hi Allan,
I've hit something that bother me a lot since I use Arch/tla[1] as version
control software. It has a feature where files are shared through hard links
in a revision library meaning that if across several changesets, a given file
doesn't change, it is stored only one time.
That requires that the editor one use to edit the file break hard links on
Save (i.e. creating the new file and renaming instead of save in-place). Emacs
does that by default and vim can be tweaked to do it too. I don't know what
BBEdit does because I've never used it outside the demo mode.
I've already bought TM because I think it is a great editor but to be able to
use it for all my developements, I need TM to behave like the above. The
default behaviour is breaking all revisions stored in the library :(
Thoughts, comments?
-----
[1] http://gnuarch.org/
--
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto(a)keltia.freenix.fr
Darwin snuadh.freenix.org Kernel Version 7.5.0: Wed May 12 16:58:24 PDT 2004
On Mon, 11 Oct 2004 07:34:08 +0200, Allan Odgaard <allan(a)macromates.com> wrote:
> > Oops, my mistake. Here try this.
> > <div>
> > <ul>
> > <li>Item 1</li>
> > <li>Item 2</li>
> > <li>Item 3</li>
> > <li>Item 4</li>
> > </ul>
>
> Yes, this is because of the rule about start and end lines to a folding
> must have the same indent.
Nay, I can live with that. The file was cleaned up with tidy. Normally
I have indents.
--
"If you ever find yourself on the side of the majority, it is time to
pause, and reflect.
-- Mark Twain