I am doing this:
grep $TM_CURRENT_WORD references.bib | cut -d{ -f2 | cut -d, -f1
and displaying output as a tool tip to remind me of my BibTeX keys when entering citations in a document.
It would be fun if there were an Output option "Insert as Drop Down List" so I could choose from the options that come up and choose to have one inserted.
On Jul 7, 2006, at 9:58 AM, Timothy Bates wrote:
That would be great!
It would be fun if there were an Output option "Insert as Drop Down List" so I could choose from the options that come up and choose to have one inserted.
You guys do know about the Bibliography Completion command in the LaTeX bundle, right? In what ways is it lacking? Also, pressing esc should be doing autocompletion of the key. If it doesn't then please give me some test case and describe the exact actions to reproduce the problems.
Haris
I don’t plan to provide this as an isolated output option, but snippets will get the ability to contain drop-downs (for completion) — it should be fairly trivial post-processing to turn a list into such snippet (and use snippet output option.)
for now it is however possible to set output to Insert as Text (or similar) and let the command call something like CocoaDialog, or if we’re in Ruby: Dialog.request_item …
As for BibTeX completion, I believe the LaTeX bundle already has something!?! but haris would know better…
On 7/7/2006, at 16:58, Timothy Bates wrote:
That would be great!
It would be fun if there were an Output option "Insert as Drop Down List" so I could choose from the options that come up and choose to have one inserted.
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On Jul 7, 2006, at 9:58 AM, Timothy Bates wrote:
That would be great!
It would be fun if there were an Output option "Insert as Drop Down List" so I could choose from the options that come up and choose to have one inserted.
Forgot to add: If your command is written in Ruby, then you can ask the user to select from a drop-down list via the Dialog.request_item call, which is in the lib/dialog.rb file inside the global support directory.
Haris
Thanks, all, for the tips. I hadn't tried the Bibliography autocomplete, now that I have it's more comprehensive but the dialog takes time and requires mousing. Although this isn't something you use that often.
I look forward to snippet drop-downs! :-)
-Ana
On 7 Jul 2006, at 16:08, Charilaos Skiadas wrote:
On Jul 7, 2006, at 9:58 AM, Timothy Bates wrote:
That would be great!
It would be fun if there were an Output option "Insert as Drop Down List" so I could choose from the options that come up and choose to have one inserted.
Forgot to add: If your command is written in Ruby, then you can ask the user to select from a drop-down list via the Dialog.request_item call, which is in the lib/dialog.rb file inside the global support directory.
Haris
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On Jul 7, 2006, at 10:23 AM, Ana Nelson wrote:
Thanks, all, for the tips. I hadn't tried the Bibliography autocomplete, now that I have it's more comprehensive but the dialog takes time and requires mousing. Although this isn't something you use that often.
Actually, down arrow should pop the dialog up, and arrows plus return be used for subsequent selection. You will need to have "all controls" selected at the bottom of the "Keyboard Shortcuts" tab of the "keyboard & mouse" system preference pane.
Haris
Fantastic, thanks! :-)
On 7 Jul 2006, at 16:28, Charilaos Skiadas wrote:
On Jul 7, 2006, at 10:23 AM, Ana Nelson wrote:
Thanks, all, for the tips. I hadn't tried the Bibliography autocomplete, now that I have it's more comprehensive but the dialog takes time and requires mousing. Although this isn't something you use that often.
Actually, down arrow should pop the dialog up, and arrows plus return be used for subsequent selection. You will need to have "all controls" selected at the bottom of the "Keyboard Shortcuts" tab of the "keyboard & mouse" system preference pane.
Haris
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate