[OS X TeX] Texshop completion of previous words
herbs at wideopenwest.com
Fri Mar 22 21:50:20 CET 2013
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,
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.
(herbs at wideopenwest dot com)
More information about the macostex-archives