[OS X TeX] Texshop completion of previous words
herbs at wideopenwest.com
Sat Mar 23 12:56:47 CET 2013
On Mar 22, 2013, at 7:59 PM, Cássio M. M. Pereira <cassiomartini at gmail.com> wrote:
> Thanks Herbert.
> Textmate does exactly what I want, but it doesn't have the nice side by side code and preview that Texshop has.
> Well, this would be a nice feature in future versions of Texshop.
> Best regards,
> Em 22/03/2013 17:50, "Herbert Schulz" <herbs at wideopenwest.com> escreveu:
> On Mar 22, 2013, at 12:40 PM, Cássio M. M. Pereira <cassiomartini at gmail.com> wrote:
> > Hello. I'm using TexShop 3.11 and I can autocomplete some latex
> > commands by pressing ESC.
> > However, I'd like to also autocomplete words from the same document.
> > Texshop is giving me a list of words from a dictionary when I press
> > ESC, which contain simply too many possible completions.
> > Is there a shortcut to autocomplete only from a list of words in the
> > same document?
> > Thank you very much,
> > Cássio
> Not as far as I know. There are editors that can do that.
> However, if there is a fairly consistent set of words you wish to complete you can just add them to the CommandCompletion.txt file by selecting them and pressing Source->Command Completion->Add Word (Shift-Cmd-W) and then you can start to type the word, hit ESC and it will pick the first completion it finds. You might have to press ESC more than once if there are many similar words.
> There are also System Wide applications, like TypeIt4Me, that are designed to do that sort of thing but you need to set them up so they don't interfere with TeXShop's built-in Command Completion.
> Good Luck,
> Herb Schulz
> (herbs at wideopenwest dot com)
Have you tried to use Skim as the previewer with TextMate? You should be able to put them side by side.
(herbs at wideopenwest dot com)
More information about the macostex-archives