@jabcreations said in Autocomplete code, NOT words?:
I had to install from scratch after a hardware failure
That’s not an update, then. It’s a new installation. No wonder your old settings weren’t kept.
Very simple: while creating a new paragraph (<p>) Notepad++ would immediately append the end tag to the paragraph element to the right of the keyboard caret (</p>).
Then why did you never mention that previously? That’s a different aspect of the auto-completion feature, called “Auto-Insertion”, controlled by the “html/xml close tag” checkbox on the same page of the Preferences dialog:
1a094258-e628-4888-962d-df2efc7fff4c-image.png
As shown in my screenshot, you can also have it auto-insert matching parentheses, brackets, braces, quotes, and single quotes, if you so desire.
Suggestions please?
Read the User Manual descriptions of the general Auto-Completion feature, as well as all the various settings which are affected by Settings > Preferences > Auto-Complete. (And note that I linked you to both of those on Tuesday, with the hopes that you would actually read the sections I linked you to.)
I thought it might be some poor oversight like that someone was too lazy
You made the desired behavior active in your old installation by changing those settings. At some point, you then apparently forgot that those settings existed (since you didn’t remember how to set them up in your new installation). After your installation from scratch, those settings were not set by default. Instead of trying to look for settings that might affect the behavior of auto-completion, and instead of reading the manual which is linked from the ?-menu in Notepad++, you came to us to (essentially) have us read the manual to you. And then, even after we pointed you to a related setting for a related feature, along with the documentation for all such settings and features, instead of reading the documentation to learn more about those settings and features and the ones related, you come back and ask us to tell you which settings to change. And then you have the temerity to call the developers too lazy to implement things – despite the fact that they have implemented them. So my suggestion to you is to not assume others are lazy when you haven’t finished researching the problem.