Hi,
I have a list of functions ( thousands ) for a certain proprietary
language and I would like to enable some sort of autocomplete in
textmate but that works similar to Eclipse's, IDEA's, etc. in that it
allows you to
1. Search or autocomplete
2. Once you select the method, you get a "snippet" template so you can
tab around the parameters
I imagine lots of people have tried this and I am also afraid that
there is no simple solution.
What's the best path here?
FYI. The library consists of around 2000 functions.
Regards,
A
--
Aldo Bucchi
@aldonline
skype:aldo.bucchi
http://aldobucchi.com/
When you want to start a new thread ALWAYS write a NEW letter to the
mailing list rather than reply to an existing one (and change subject).
When you reply to an existing letter the threading gets messed up
which makes managing threads problematic (and messes up the archive)!
Hi there -
just in case anyone else runs into the following issues when using TextMate's Perl bundle and trying to run scripts:
1) TextMate has its own PATH variable (in the settings)... It's obvious but, make sure that the perl you are using is on that path (TM doesn't pick up the path in your env).
2) there is a problem with tainting in the file - to get round this (if you are using the -T in your shebang line for example)
change line 17 of exception_handler.pm in bundles/Perl.tmbundle/Support/exception_handler.pm to:
$ENV{"TM_ERROR_FD"} =~ /([0-9]+)/; my $error_fd =$1;
This will ensure that $error_fd is untainted.
3) You may find the following error, if a module you are using uses Carp, e.g. you are using use strict (or just use strict 'vars') and you have an error in the file:
Attempt to reload Carp/Heavy.pm aborted.
Compilation failed in require at /Applications/TextMate.app/Contents/SharedSupport/Bundles/Perl.tmbundle/Support/exception_handler.pm line 30.
If you do, make sure you add a use Carp::Heavy; in the script you are running. I think this is due to clearing up a circular import that would happen otherwise (because of some cleverness in exception_handler.pm)
If anyone can clarify any of this, great.
all the best
Tim
Tim Diggins
http://red56.co.ukhttp://tim.teamportfolios.com/
I am sure this has been discussed before but I cannot track it down.
I get the following error when using the TODO bundle with a latex file:
----
Scanning directory: ~/Dropbox/Aston/Research/Papers/Ontology_Evaluation
(erb):4: undefined method `+' for nil:NilClass (NoMethodError) from /Applications/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:99 from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/erb.rb:716:in `grep' from /Applications/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:77:in `each' from /Applications/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:77:in `grep' from /Applications/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:77 from /Applications/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:76:in `open' from /Applications/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:76 from /Applications/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:75:in `each' from /Applications/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:75 from /Library/Application Support/TextMate/Support/lib/textmate.rb:201:in `call' from /Library/Application Support/TextMate/Support/lib/textmate.rb:201:in `each_text_file' from /Applications/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:71
----
How can this be fixed?
Thanks,
Christopher
Thanks,
I have tried to add "text.html -source.php" in the scope selector for the TAB snipped in HTML bundle, unfortunately the problem seems to be still there. What could be wrong?
I would like to remove that function from there only as I would like to disable other things when in phpDoc scope.
thanks
>> How is it possible to disable such behavior? I just want a tab space there.
>
> Open the bundle, scroll to the HTML bundle and find the snippet with the name "?". Either add " -source" to the scope or just remove the tab trigger.
--
Ciao
Fabio
I'm looking for a way to allow the user to login via a web page and then grab the session cookie set by the server. I want to use this to make further queries to the same server using curl. I discovered the MoinMoin bundle does something like this by reading the browser cookie file, but the cookie I need is a session cookie so it does not get written to the file.
More generally, is there any way to get a list of HTML output windows and query their properties, e.g. current URL, etc?
Thanks!
John DeSoi, Ph.D.
Hi All,
i'm getting errors when trying to use comands from the rails bundle. likei:
/Library/Application Support/TextMate/Bundles/Ruby on
Rails.tmbundle/Support/bin/create_partial_from_selection.rb:17:
invalid multibyte char (US-ASCII)
/Library/Application Support/TextMate/Bundles/Ruby on
Rails.tmbundle/Support/bin/create_partial_from_selection.rb:17:
invalid multibyte char (US-ASCII)
/Library/Application Support/TextMate/Bundles/Ruby on
Rails.tmbundle/Support/bin/create_partial_from_selection.rb:17: syntax
error, unexpected $end, expecting ')'
...Mate.exit_show_tool_tip("The ‘create partial from selectio...
... ^
I am using latest edge, so
http://github.com/drnic/ruby-on-rails-tmbundle/issues/issue/14 isn't
it.
my ruby_path his /Users/Administrator/.rvm/bin/textmate_ruby
--
dc
David Clark
16 Harcourt St #2I
Boston, MA 02116
I am very curious about git. I understand roughly
how it works and it can be used, but since there
are ppl here using it massively, would you kindly
write a short 'git/git bundle for dummies' ? What I'd like
is an example of how concretely you use it every day
and what it gives you. My needs are basic, I have
many joint projects (=joint papers) with several people
scattered around the world, and I would like to
understand if it is worth learning to use it or not
to manage my collaborations.
Piero
Hi,
like suggested by Allan I'll try to explain again the problem:
1. create a new file from template -> HTML -> XHTML - 1.0 STRICT;
2. save it like test.php and edit it in HTML mode;
3. before the head ends, type "style" and press tab;
4. go inside style tags, now it should be possible to use autocomplete for CSS;
5. start typing something like:
#test { font
now hit the Esc key while the cursor is near the "t". It does nothing here.
Now try to create a new empty file, save it as test.css: you are in CSS mode.
Like before type:
#test { font
and hit Esc near the "t": it will start to rotate autocomplete choices like:
font-family
font-size
font-size-adjust
etc.
This is what I would like to have inside <style> </style> in the HTML head.
Here is not working in such way: yes I can hit TAB and I will get similar choices but I like so much the Esc key that I would like to know if it is possible to have it work inside html page head style tags.
It is so annoying to have to type all the words like "border" when you can just type "bor" and hit Esc!
It works in CSS file not in php / html one.
Is there a fix?
Thanks!
--
Ciao
Fabio
--
Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f
Sponsor:
Risparmia fino al 90% con Groupon CityDeal.
* Gruppi D'Acquisto Sicuri e Risparmi Garantiti
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid813&d-8
The code completion keyboard shortcut (ALT+ESC) is not working for me in
'css' files. Instead, the following message gets generated wherever my
cursor is:
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/codecompletion.rb:319:in
/bin/bash: -c: line 0: unexpected EOF while looking for matching `''
/bin/bash: -c: line 1: syntax error: unexpected end of filemap' for
nil:NilClass (NoMethodError)
from
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/codecompletion.rb:88:in
/bin/bash: -c: line 0: unexpected EOF while looking for matching `''
/bin/bash: -c: line 2: syntax error: unexpected end of filenew'
from
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/codecompletion.rb:60:in
I'm not super techy, so I'm not exactly sure what that means. Is my
'codecompletion' file corrupt? Is some path broken?
Do I need to re-install or replace a file to fix this?
Thanks in advance!
Clay