TeXworks / texworks

Main codebase for TeXworks, a simple interface for working with TeX documents
https://tug.org/texworks/
GNU General Public License v2.0
694 stars 127 forks source link

Wishlist: Code hinting and Integrated preview Windows #285

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1. It would be nice if the program has code hinting feature (similar to,
for instance, that of Visual Studio, Eclipse or LEd--the last one is
actually a Latex editor). And things such as typing \begin{docu... and
\begin{document} \end{document} appearing after pressing enter will
improves the speed a lot.

2. Every time I press Ctrl-T to compile, the focus switches to the preview
window and I have to press Ctrl-' again to switch back to continue editing.
Or every time I use Ctrl-left click to use the synctex feature, then the
focus also switches while just a highlight in the preview window would
suffice. Thus, I have several recommendations below:
   a. Allow the user to choose whether the focus will be switched to the
preview window after Ctrl-T or after Ctrl-left click.
   b. Create a shortcut key (like Alt-Up and Alt-Down for example) that
allows the user to scroll in the preview window while editing.
   c. Create a shortcut key (like Alt-Enter, or Ctrl-Enter) that has the
same effect as Ctrl-Left Click (and of course, without switching the focus).
   d. Integrate the preview window and use a splitter to easy change the
size both the editor and the preview window easily.

Thank you very much.  I really like texworks and it works really well for
me.  If these enhancement could be done, I will really really appreciate it.

Sincere,
Q

Original issue reported on code.google.com by phuquo...@gmail.com on 29 Jan 2010 at 3:05

GoogleCodeExporter commented 9 years ago
For point 1, you already have it with the auto-completion system (see the manual
sections 4.6 and 6.4). So typing minip, then [Tab] you get a minipage 
environment.

For the focus after Ctrl+T, you can change this in the Preferences.
If you edit a Processing Tool in Typesetting, you have a check box to swith to
preview (View PDF after processing) uncheck it.

The other wishes could be discussed, they seem interesting, perhaps not 2.d

Original comment by lal.stu...@yahoo.fr on 29 Jan 2010 at 3:33

GoogleCodeExporter commented 9 years ago
Thanks a lot for your very prompt reply. The issue of switching focus when 
Ctrl-T is
solved (thanks to the auto-update feature of the pdf viewer that I didn't know).

For the code hinting, I am aware of the Tab feature. But the feature in, for 
example
Visual Studio, Eclipse or LEd, makes it quite easy to use. For example, when 
one type
\begin{, then there is a scroll list of the possibilities you can do and you can
choose from the list.

Again, I really appreciate your efforts!
Sincere,
Q

Original comment by phuquo...@gmail.com on 29 Jan 2010 at 5:13

GoogleCodeExporter commented 9 years ago

Original comment by st.loeffler on 31 Jan 2010 at 10:07

GoogleCodeExporter commented 9 years ago
From the mail list: http://tug.org/pipermail/texworks/2011q2/004145.html

[texworks] How to make preview and main window minimize together?

byelozyorov@cs.uni-saarland.de

Dear developers,

I like the design of you application, however it would be nice if I could 
minimize both windows together at the same time with one mouse click.

[As in (d) at top above http://code.google.com/p/texworks/issues/detail?id=285]

Alternatively you can also make both preview and code editor to be panes with a 
movable splitter within a single window. This doesn't have to be default, but 
it's nice to have such an option. Thank you for the great application.

Sergiy Byelozyorov
Computer Graphics Chair
Universitat des Saarlandes
Tel.: +49 (681) 302-3837
Web: http://graphics.cs.uni-saarland.de/sbyelozyorov/

Original comment by paul.a.norman on 21 Apr 2011 at 10:45

GoogleCodeExporter commented 9 years ago
I'd like to suggest even splitting the editor screen when/if code folding is 
looked at.

Paul

Original comment by paul.a.norman on 21 Apr 2011 at 10:49