View Single Post
Old 07-10-2021, 04:36 PM   #21
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by phillipgessert View Post
That’ll come in handy! And come to think of it, assigning some arbitrary shortcut seems less error-prone than the usual autocomplete approach. I’ve definitely gone into autopilot and wound up with more </div>div>s than I care to admit.


I hate the auto-closing tag while typing. My brain/fingers are already miles ahead, and then I only notice the broken </div>div> while skimming, running epubcheck, or Prettifying and thinking: "wtf happened here?".

Which reminds me, it's frustrated me for so long in Calibre's Editor, I finally decided to do something about it.

In Calibre, the setting is in:

Edit > Preferences > Editor Settings > "Auto close tags while typing </"

Now that I've unchecked it, I'll be at peace!

Note: The auto-close in Calibre is helpful though in the one case of trying to debug seriously nested spaghetti code.

I sometimes click deep between the mess, then type "</" to try to spot what dang tag wasn't closed (and then easy to click inside + see opening tag by the highlight tag feature).

Last edited by Tex2002ans; 07-10-2021 at 04:43 PM.
Tex2002ans is offline   Reply With Quote