[Tex/LaTex] How to add new auto-complete options in TeXworks

auto-completioneditorstexworks

I'm working with TeXworks. It has some auto completions but not enough. How can I add some auto completion to it. Is there any way to add them from TeXmaker to TeXworks.

Best Answer

I collocated these in my discussion with Torbjørn T and this answer to find my way:

  1. You should open your TeXworks, choose Scripts--> Scripting TeXworks --> Show Scripts Folder.
  2. Then you will achieve folder like "C:\Users\user\TeXworks\scripts". You should go to Folder "C:\Users\user\TeXworks\completion" instead.
  3. TeXworks stores the completion data in a series of files called "tw-<name>.txt" here. You can edit related file i.e. add your completion with Notepad or create a new one for your self.(The format of work and some more is detailed here.)
  4. Then save and close it, restart your TeXworks and enjoy new completions.