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
this seems to be the case since at least beta 5, and apparently still
present. Suddenly the numbering of the new, untitled documents begins
to jump, and so I'm at untitled 86, then it's 295, and it keeps on
skiping numbers. (the numbers here are examples only)
I don't really know what triggers it, but my usage pattern is really
simple: I mostly just load a lot of sketch projects from the terminal,
and every now and then create a new, non-project file.
I'm trying to figure out a way to do auto-importing for Java in
TextMate. I'm stuck at a couple of places and I would appreciate it if
someone who knows more about TM than I do could chime in with some
suggestions.
Essentially, what I'd like to be able to do is take a class name,
select it, and hit Ctrl-Meta-Bucky-I and have TM add the appropriate
import statement to the file. My naive implmentation would look
something like:
1. Get the project CLASSPATH from a project-level config file
2. Build a list of the jar files on the CLASSPATH and grep through
their contents to find matches.
3. If there's only one match, munge it appropriately and stick it in
the import section of the buffer
4. If there's more than one match, pop up a dialog and let the user
pick the appropriate fully-qualified class name, then stick in import
section.
Does this seem to be a sensible way of approaching the problem? Is
there a way of sticking the import statement where it belongs? More
generally, is there any way to do arbitrary transformations on the
contents of the buffer as if it were a java AST, instead of a stream
of characters? I think that would probably be necessary to create
commands to do source-level refactorings.
Thanks,
Alex
Hi All,
In the project drawer, a right-click on a file icon opens a dialog
where one can find :
Treat Files with ".xxx" Extension as Text
Where does TM store this infos afterwards? Did not find anything in
"Application Support" nor in "Preferences"
The point is to have TM consider files with a variable extension as
text, like the ones I have to deal with : the extension is a 8-digit
number representing the date the document was edited (*.20041023 for
instance)
Can we use regular expression for this (like \d{8})?
Found nothing in the Wiki nor in Help.
Thanks,
--
Jo <W:00°04'37" ; N:47°15'36">
1....'....12.....'....24.....'....36.....'....48.....'....60.....'....72
Subversion seems to work with TextMate only if the .tmproj file is
saved within a subversioned folder, or if a Subversioned folder has
been opened in TextMate without the project being saved.
Is anyone else experience this -- or am I not doing something wrong?
Just checking.
Hi, this is my fist post on this ML, i want to share some little
extensions that i've made to C Language Bundle.
Hope these helps
Name : Run
Activation : command-R
#!/usr/bin/python
import os
file = os.environ['TM_FILEPATH']
path = os.path.split(file)
filename = path[1].split('.')
os.system("gcc -Os " + path[1] + " -o " + filename[0])
os.system("./" + filename[0])
Name : Run Project
Activation : command-shift-R
#!/usr/bin/python
import os
file = os.environ['TM_PROJECT_FILEPATH']
path = os.path.split(file)
projectName = path[-1].split('.')
projectName = projectName[0]
os.system("make -k")
os.system("./" + projectName)
Name : Compile
Activation : command-B
#!/usr/bin/python
import os
file = os.environ['TM_FILEPATH']
os.system("gcc -c -Os " + file);
Name : Compile Project
Activation : command-shift-B
make -k
--
Ciao
Fabio
___________________________________
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
http://mail.yahoo.it
must be retarded, but I can't figure out where the "apple+/" shortcut
for commenting is stored... I looked through the bundle editor but...
anyway, I'd like to change that shortcut which conflicts with
UnicodeChecker (http://earthlingsoft.net/UnicodeChecker/index.html)
"HTML entities -> Unicode" conversion Service...
Any idea? Thanks! :)
.........................................
m i n i m a l d e s i g n
244 Fifth Avenue - Suite P233
New York, NY 10001-7604
USA
tel / fax: 212.931.8525
email: work(a)minimaldesign.net
site: http://minimaldesign.net/
Hi,
I use the 'Open Recent' menu a lot (actually I have a plugin that
modifies the 'Open Recent' menu of TextMate, Xcode and some others to
retain 50 files instead of just 10).
Seems TextMate has a bug though: The 'Open Recent' menu only contains
files that were opened AND SAVED with TextMate. If I just open a
file, look at it, then close it, TextMate's 'Open Recent' menu will
NOT contain the file.
TextEdit's 'Open Recent' menu will also list files that just have
been 'viewed'.
Gerd
Hi there...
Is there any way to avoid window clutter, by opening more than one
file using an ftp-client? BBEDIT handles this well by adding the
documents
to the front window...
-Bjoern
Hey all,
I'm new to the list but had a real quick question that's been driving me crazy.
Here's my initial salvo & response regarding this issue:
http://comments.gmane.org/gmane.editors.textmate.general/5091
Pretty much, I've tried that. Hunted down answers on the #TextMate
channel and still haven't figured out how to get this working to my
little tab-space hearts desire.
As of now, I cannot get the Tab key to produce spaces, regardless, in
my Ruby files, even when the "Preferences > Editor uses spaces instead
of tabs" box is checked.
I had previously followed the advice from the link above (adding
softTabs, etc. entries in the Bundle Editor) but nothing I added made
any difference. The advice was also not clear on where exactly to add
the preference items in the existing Bundle preferences, or to create
new ones, or what.
Any help would be much obliged.
On a more positive note, I love TextMate. Like others, I'm new to OS
X and was turned on to TextMate / OS X by fellow Ruby on Rails
developers.
Thanks!
Shanti
http://sablog.com/
Hi Everyone
How do you go about creating your themes?
Do you start from another theme? with a clean slate? Do you do it
editing a plist file or just use the built-in editor? How do you
preview your results, what source code you find best to use?
I'm looking to craft a theme or two and would like to know how the
others are doing it.
oh yeah!!!
thankyou Allan!!!!
Get ready for some seriously hideous themes!!!! HaHA!
All I need next is the ability to set the color of underlines
separate from text color. (that might just be a pipe dream)
thanks!
is there a global source language where I can define white space scopes?
I looked on the mailing list history and couldn't find much about
this... so here goes
Is there any way to emulate the balance tags command in BBEdit?
If your selection is between brackets or between tag pairs,
balance tags selects the brackets and everything within it with a
shortcut.
for textmate
We might be able to emulate that function and improve on it.
The command would extend the selection to select the entire scope at
the insertion point.
Hitting it again would select the next scope up the chain.
If it's easier maybe we could just have it select everything with
foldingStartMarker and foldingStopMarkers.
Is this something that I could do with a command, or is it something
that would require a change to the programming?
I figure the data has to be in there somewhere in order to color the
scope.
I have no idea what it would take to like command-double-click on a
scope to select the whole thing or some such thing.
How about a Close All Tabs feature?
It's useful when you want to close all tabs, but leave the project open.
At the moment, I work around this by frantically clicking on the close
icon of the left-most tab until all tabs are close.