Hi everyone,
I hope I won't trigger any flame war here but I would like very to have a
scratchpad as has appeared in BBedit 9.0.
I find myself using TextMate to reformat "raw data files" and I often have a
blank file open somewhere where I paste bunch of texts, do something with it
and paste it back in the original file.
For me at least, it would be very useful.
Thanks in advance.
--
View this message in context: http://www.nabble.com/-FeatReq--Scratchpad-tp19272741p19272741.html
Sent from the textmate users mailing list archive at Nabble.com.
I'm new to TextMate. I have some questions I was hoping you guys could help me with.
1. Let's say I wanted to create a Language Grammar (.bah) that inserts 'bah' when I type b + tab. However, this snippet should only work in .bah files.
So my new language looks like this:
{ scopeName = 'text.bah';
fileTypes = ( bah );
...
When I create a new snippet, and give it a scope of 'text', it works in .bah files; however, when I give it a scope of text.bah, it doesn't.
2. When I go to Bundles -> RoR -> Install Plugin I get this error:
/Applications/TextMate.app/Contents/SharedSupport/Bundles/Ruby on Rails.tmbundle/Support/bin/list_plugins.rb:27:in `join': can't convert nil into String (TypeError) from /Applications/TextMate.app/Contents/SharedSupport/Bundles/Ruby on Rails.tmbundle/Support/bin/list_plugins.rb:27
3. I supposedly installed 'Edit in TextMate' successfully, it gives me this: Success! /Applications/TextMate.app/Contents/Resources/Edit in TextMate copied to /Library/InputManagers
But, whenever I go to Safari or TextMate 'Edit in TextMate' isn't under the edit menu. I've tried restarting and everything. Still nothing.
4. Okay, last one. I downloaded Peepcode's screencast on TM, and when I tried to emulate the part where he created a scaffold-like create method using 'defcreate + tab', it didn't work. I put the caret in a Controller, and changed the language to Ruby on Rails.
The question is the same for all: how do I make it work?
Thank you!
_________________________________________________________________
See how Windows connects the people, information, and fun that are part of your life.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/
Hi,
I've read 3 times the PHP Bundle doc but I can't use completion from
files.
For instance, if I type "include" + ALT + ESC, I've a "No matches
found". However, I've a lot of *.php, *.class.php in my project.
I've tried to define the PHP_INCLUDE_PATH var at project level with :
".:/usr/local/myphplib/" in order to use completion from myphplib...
It doesn't work.
I'm using OSX 10.5.4. It's a known issue or it's an error?
--
Nicolas CHARLOT
Hans, et al
I'm one of the core Objective-J / Cappuccino developers. I'm glad you
like it, and thanks for helping out.
We actually use $OBJJ_HOME in the Objective-J tools already. If you
install the Tools package it currently puts all the tools and
libraries in /usr/local/share/objj. This is the default used in case
$OBJJ_HOME isn't set. If you install the tools elsewhere, you can set
your $OBJJ_HOME to that location. We just didn't want to have to set
too many environment variables ($STEAM_BUILD is already required, it's
where frameworks, etc are built)
Anyway, I like the idea. We probably will be putting a copy of
Frameworks at $OBJJ_HOME/Frameworks and the template applications
somewhere in $OBJJ_HOME.
We're actually planning on adding some commands for generating
standard projects to the "steam" tool (an Objective-J specific build
tool, similar to xcodebuild). This would be similar to the "rails"
command with Ruby on Rails. Then the TM commands you're talking about
would simply call steam with whatever the syntax for a new app is.
Any thoughts?
Also, feel free to join us in #cappuccino on irc.freenode.net
-Tom
Hi,
I've just discovered Objective-J as a very very nice and powerful
programming environment.
Obj-J runs perfectly in TM's HTMLOutput (Tiger and Leopard) thus I
try to solve some issues with it.
Then I downloaded the "JavaScript Objective-J" bundle. I added a
first naïve "Run" command and a first help system for it.
But I want to discuss some details in beforehand.
I could imagine that Obj-J will be used by TM coders more and more in
the near future. A 'normal' Obj-J application always ships with 2MB
of Frameworks code. To prevent this I think it would be nice to do
the following.
If someone wants to use Obj-J apps inside of TM s/he should download
the starter kit or tools from
http://cappuccino.org/download/
and copy this folder to a proper destination (maybe also rename it).
Then s/he only have to set a shell variable OBJJ_HOME in '~/.profile'
like e.g.
export OBJJ_HOME="$HOME/Library/Objective-J"
Then my help system would work and a new app could have instead the
entire subfolder 'Frameworks' only a symbolic link like:
ln -s "$OBJJ_HOME/Frameworks" Frameworks
Then one could write commands:
New Obj-J Application
New Obj-J Application (embedded Frameworks)
to generate an app template with index.html, main.j, Frameworks
folder etc. with or without embedded Frameworks.
Are there any comments?
Should I upload my stuff I have to the Review trunk as "JavaScript
Objective-J"?
Is there someone who is using it yet?
Regards,
--Hans
Hans,
Downloaded the scratchpad bundle as your movie is very intriguing. I
get the following error on both my desktop and laptop:
/tmp/temp_textmate.OerJwl:5:in `require': no such file to load -- /
Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/
htmloutput (LoadError) from /tmp/temp_textmate.OerJwl:5
Neither installation has a tm directory (let alone htmloutput file) in
the application (nor the user Library/Application Support/TextMate)
path.
I have not set my TM_SUPPORT_PATH environment. Is there something I am
missing to configure? I've never come across this issue.
Cheers,
Brian
I am subscribed to the digest, so I didn't see the thread about this
issue until after my posting. Sorry for the waste of bandwidth.
> Hans,
>
> Downloaded the scratchpad bundle as your movie is very intriguing. I
> get the following error on both my desktop and laptop:
> [snip]
>
Hi,
Does TextMate have a keyboard shortcut that acts_as Vim's "^" key?
i.e: it puts the cursor in front of the first character of a line that
is not a space or a tab.