[Tex/LaTex] Autocomplete in TeXworks editor on TeX Live

auto-completiontexlivetexworks

  1. How I can enable autocomplete option in TeXworks Editor (texlive-win.OS) for latex command, i.e., when I type \incl it automatically shows \includgraphics[]{} or when i type \begin{fi it can show (and so type) \begin{figure}...\end{figure} automatically.
    Please tell me step by step.

  2. I have a thesis file which in main doc.
    It includes some \include{chpa} command.
    How i can enable structure of file in the left of the texwork window?

I have read some question in this forum but they were not well. Please say me step by step.

Best Answer

This feature (autocompletion) should be the default feature. To ensure it, go to EditPreferences. In the editor tab of the window that opens autocompletion (under global editor options) should have been checked like this:

enter image description here

Then read this:

enter image description here

This is available under the help menu - A short manual for TeXworks. All you have to do is type bfig and press TAB to get

\begin{figure}

\end{figure}•

TAB is the key that enables auto completion.