Is anyone interested in a MUSHCode bundle? I'm slowly but surely
working on one. If its anything someones interested in, I'll submit
it. MUSHing isn't a huge hobby so I'm not sure if there are any other
MUSHers out there who adore TextMate as much as I do :)
--Ix
In case you haven't heard about this, it works great and has no
problems with TxMt's input manager (unlike my previous TextExtras
hack). I wrote up a little hack to add word's autocorrect dictionary
here:
http://www.unfitforprint.com/articles/2005/09/19/textpander-with-word-
autocompletion
Cheers,
Ben
___________________
Ben Jackson
Diretor de Desenvolvimento
ben(a)incomumdesign.com
http://www.incomumdesign.com
While poking around there I found some other things that should be
added (?)
clientX,clientY,scrollLeft,scrollTop,style
for support.constant.js
appendChild
for support.function.js
and support.function.event-handler.js should, I think, be made to
ignore case.
It would be cool if the one thing after styl. could be somehow me
matched to the css rules ...
er ... somethnig like this?
{ name = "support.constant.js";
begin = "\\.\\b(style)\\.";
end = "\\s*";
captures = { 1 = { name = "support.constant.js"; }; };
patterns = (
{ include = "#tag-stuff"; },
{ begin = "\\.";
end = "\\s*";
patterns = ( { include = "source.css"; } );
},
);
},
Andreas
Folks,
When I try to create a new file in a project it doesn't seem to work if
I choose any of the available ffile template types. It will only work
if the file template chosen is 'Empty File'.
This has been the case for at least the last two builds: 421 and 427. I
haven't gone any further back than that to test. I have removed all
environment settings (prefs and app support changes) but the issue
persists.
Can anyone else confirm this?
Thanks,
--
John
Howdy.
I'd like to be ability to change themes just like I change languages.
Shortcut key for 1 or many. Scope based.
I'm developing themes for different kinds of things.
Say i'm developing an ASP.NET page with html, javascript, css &
embedded ASP.
I'd like to define themes that show more detail in the language that
I'm working in and wash out the colors of everything else.
EG:
select an HTML tag, hit cmd-opt-shift-option-numpad_5... shebang!
asp, javascript & css fade & html tags pop!
select embedded ruby within the string of an html attribute, cmd-opt-
shift-option-numpad_5... sheboom! everything fades & embedded ruby pops!
OH, yeah!!!
PS: i'll be sharing more wacky themes soon-ish.
If anyone has any suggestions for color palettes, please let me know.
I'm itching for some code sweetness.
Hi,
in find there is a good support for regular expressions, and also the
best lookahead function (?=) and (?!), but there isn't lookbahind? (?
<=) and (?<!)
Is it possible in the next release to add it?
Many thanks!
Salvo
Hey, I somehow hosed TextMate's ability to perform the Run Ruby
command, and I don't know how I did it, or how to fix. (Or rather, I
know how I did it, but I don't understand why it broke.)
Symptom 1: invoking Run Ruby command produces
"/usr/local/bin/ruby: No such file or directory -- /Users/
gavinkistner/Library/Application Support/TextMate/Bundles/
Ruby.tmbundle/Supprt/tmruby.rb (LoadError)"
Symptom 2: selecting text and invoking the Lookup Ruby Docs command
produces
/bin/bash: /usr/bin/ri: /usr/bin/ruby: bad interpreter: No such file
or directory
What I did:
1) Despite having /usr/local/bin first in my path[1], TextMate was
using /usr/bin/ruby instead of /usr/local/bin/ruby
So I used TextMate's preferences and set the TM_RUBY variable
explicitly to /usr/local/bin/ruby
To be sure, I also moved /usr/bin/ruby to /usr/bin/ruby_apple
2) I was tired of seeing warnings in my ruby output, so I changed the
Ruby Ruby command from:
${TM_RUBY:=ruby} -w -- "$TM_BUNDLE_PATH/Supprt/tmruby.rb" "$TM_FILEPATH"
to
${TM_RUBY:=ruby} -- "$TM_BUNDLE_PATH/Supprt/tmruby.rb" "$TM_FILEPATH"
...and it broke, complaining about lack of tmruby.rb. (Spotlight
confirms that no such file exists on my drive.)
3) I then put the -w back in, and it's STILL broken!
...what happened to tmruby.rb? If I remove that bit and change the
command to just
${TM_RUBY:=ruby} "$TM_FILEPATH"
I can get ruby code to execute, but I don't get the nice output in
the HTML window :|
[1] Output of terminal session, which defaults to tcsh:
[Slim:~] gavinkis% setenv
PATH=/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:.
...extra variables omitted...
[Slim:~] gavinkis% bash
Slim:~ gavinkistner$ echo $PATH
/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:.
Does anyone have an idea why using Python's os.fork() to start a
daemon process from within TextMate doesn't work? Why would I want to
do this, you ask? It seems the most logical way to browse local
Python documentation (via pydoc). The doc commands that already exist
are great if you know exactly what you're looking for, but I still
find myself starting up the doc server every now and again to go
poking around. My thought was to run a command "Browse Python
Documentation" or whatever from TextMate that opens a web browser to
the local server. If the server isn't running then it needs to start
lazily. This works great from the shell. From within TextMate the
server starts fine but the process doesn't appear to be properly
forked because TextMate just hangs like it's waiting. The script is
attached for reference.
K
I think this might be a useful preference/fix.. lots of times I open
scratch documents in TxMt to copy and pasted into my web browser.
Constantly switching back and forth between them, I end up having to
cancel the "save as" dialog every time I return to the app.
___________________
Ben Jackson
Diretor de Desenvolvimento
ben(a)incomumdesign.com
http://www.incomumdesign.com