[texworks] autcompletion behaviour

Matthias Pospiech matthias.pospiech at gmx.de
Sun Oct 17 18:08:53 CEST 2010

  Am 17.10.2010 17:22, schrieb Herbert Schulz:
> On Oct 17, 2010, at 9:58 AM, Matthias Pospiech wrote:
>> Am 17.10.2010 14:21, schrieb Herbert Schulz:
>>> On Oct 17, 2010, at 3:32 AM, Andreas Hirsch wrote:
>>>> ...
>>>> Personally I'm missing things like autocomplete enviroment etc much more.
>>> Have you tried Command Completion? Put `bite' at the start of a line and press Tab. (On the Mac Opt-Tab takes you to and selects the next Mark [•] --- some other key on other systems.) See the TeXworks Manual for more information.
>> That is not autocompletetion, it is a nice feature, but really it is an additional set of commands to learn. And without reading the manual impossible to discover.
>> If I insert "\begin{item" it is completed, that is fine. But "\begin{" gives me "\begin{array}\end{array}". That is not ok, since I did not want array.
>> I could not find any way to define the autocompletion results in the case of many completions. Here I would prever the behaviour of kile/texmaker(x).
>> Btw does tw make use of the completion list from kile (cwl files)?
>> Matthias
> Howdy,
> Did you try
> \begin{ite and Tab? Just put in the start of the environment you want and Tab. The abbreviations are fairly simple `b' starts all environments (for \begin) and the rest is typically a few leading letters of the environment name (bite, benu, etc.). Additional presses of Tab will choose the next match which is typically a variation of the basic environment.
Ok, it is true that additional presses of tab vary the environment. But 
that fits badly into the autocompletion idea. Just count the numbes of 
tabs to press to reach itemize.
Other editors show a small (list)widget for futher completion which is 
the better approach in terms of structures autocompletion.

What I would recommend additionally is to highlight the ability to 
autocomplete. Currently pressing tab in case of no possible 
autocompletion just adds tab which is typically not what the user wants.


More information about the texworks mailing list