How do I turn off the auto close feature for tags in Phoenix Code? #1990
Replies: 4 comments 5 replies
-
Hey, yes you can turn this feature off. Just open the preferences file and paste this
You can refer to this docs if you need any help on how to modify the preferences. |
Beta Was this translation helpful? Give feedback.
-
I'll give that a try. Thank you! I'm pretty sure a lot of this is user
error. Lol. I'm new to all of this so I'm not familiar with all the jargon
for the settings or how to edit preferences via the editor's code. But, it
seems that HTML and CSS are easier to learn than the editor itself!
Thank you again for the help! ^_^
…On Sat, Dec 14, 2024, 1:16 PM Pluto ***@***.***> wrote:
That should not be the case. Looks like a bug to me, because whenClosing:
false was set to *NOT* auto populate the rest of the closing tag. I tried
it on my machine and it doesn't auto-populate the whole tag.
DW, our team will look into it. But till then one workaround is to just
write the commonly used tags in dontCloseTags option.
"closeTags": {
"whenClosing": false,
"whenOpening": false,
"dontCloseTags": ["body", "html", "a", "span", "div"]
}
—
Reply to this email directly, view it on GitHub
<#1990 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BNWOCTDNIB2NTHD2T7MXMTD2FR7XVAVCNFSM6AAAAABTTPGQ6WVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNJWHAZDSOI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I did see that page, but it doesn't make much sense to me yet. It's not the
most beginner friendly. 😅
…On Sat, Dec 14, 2024, 2:12 PM Pluto ***@***.***> wrote:
Most welcome! For any editor related stuff, you can refer to the
documentation site. It pretty much covers everything.
https://docs.phcode.dev/
—
Reply to this email directly, view it on GitHub
<#1990 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BNWOCTGYMT7DU4TRKG4LPBL2FSGL7AVCNFSM6AAAAABTTPGQ6WVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNJWHA2TSMQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
It's me again. I am still having issues. I pasted in all the code you gave me, saved it, and restarted, but upon restart I get an error message saying the code is broken and then it reverts to the original settings. The solutions you've given me to fix the auto complete stuff requires me to edit code, and I don't know how to do that, I mean, I'm just learning the basics of HTML right now. Lol. |
Beta Was this translation helpful? Give feedback.
-
Hello, I am new to HTML and I really like Phoenix Code, but the auto close feature for tags is really irritating me. I've been advised that as a newbie it's best to close tags manually so you build the muscle memory. I have searched the entire internet looking for how to turn this off, I've had ChatGPT help me, but I cannot seem to find where to turn it off!
Beta Was this translation helpful? Give feedback.
All reactions