Hannah-Sten / TeXiFy-IDEA

LaTeX support for the IntelliJ platform by JetBrains.
https://hannah-sten.github.io/TeXiFy-IDEA
MIT License
886 stars 87 forks source link

Insert Image Wizard user-friendly width+height #3550

Open jojo2357 opened 4 months ago

jojo2357 commented 4 months ago

when i insert an image (almost always w/ the wizard cuz it is so much easier to drag'n'drop than to use the fig live template) I typically want to set the width as some multiple of \textwidth. I also typically will put in the angle in multiples of 90.

Nothing wrong with a blank box, but perhaps we can brainstorm something?

PHPirates commented 4 months ago

I agree that it would be better to provide some information on available commands, because the user might not remember them all. From https://tex.stackexchange.com/a/17085/98850 it looks like the three main ones are \textwidth, \columnwidth and \linewidth. Maybe we can provide autocompletion in the width/height text field? The question is, whether we should provide autocompletion on all LaTeX commands just as in a .tex file or just a few relevant commands, so that it will be easier to find the correct one if you don't remember the name.