Copy link to clipboard
Copied
Typing # gives ## - fine for writing code but not for editing. How do I turn it off.
@judo1, now that you've clarified that you mean the old CF Builder on Eclipse (retired in 2024, last updated for CF2018), the steps to do what you want are under the Preferences menu (which on the Windows version is under the "Window" menu), as:
Preferences>ColdFusion>Profiles>Editor>Typing
You'll see the first section there is "Typing Preferences" and within that is a subsection "Auto-insert matching character for", with an option for "Pound Sign (#)". Screenshot below.
Uncheck that, then cli
...Copy link to clipboard
Copied
What software is this about: CF Builder on Visual Studio Code?
Or Adobe ColdFusion Builder 2018?
Copy link to clipboard
Copied
CF Builder
Copy link to clipboard
Copied
I assume you mean CF Builder on Visual Studio Code. I shall also assume you're on Windows.
You can switch off #-auto-pairing in Visual Studio Code, either for the editor, in general, or just for your particular workspace (which I recommend). You can do so by enabling the auto-pairings you need, but excluding #-auto-pairing.
The steps are:
{"folders":[],"settings":{}}{
"folders": [],
"settings": {
"[AdobeCFML]": {
"editor.autoClosingPairs": [
{ "open": "\"", "close": "\"" },
{ "open": "'", "close": "'" },
{ "open": "(", "close": ")" },
{ "open": "[", "close": "]" },
{ "open": "{", "close": "}" },
{
"open": "<",
"close": ">",
"notIn": ["string"]
}
]
}
}
}
You will have noticed that # is not among the settings. That is the essence of the solution.
Copy link to clipboard
Copied
Sadly, no. I only became aware of Visual Studio in the last week or so. I am using CF Builder 2018. The problem arose because my ISP upgraded to a new CF which does not support MS Access. As a temporary measure I am adjusting my CF code to accept text generated in Access to at least provide static pages. My ISP converted my tables so my next step is to add them to the Access databases already in CF Administrator. This is creating a whole new range of difficulty mostly due to terminology with which I have never previously encountered.
J
Copy link to clipboard
Copied
@judo1, now that you've clarified that you mean the old CF Builder on Eclipse (retired in 2024, last updated for CF2018), the steps to do what you want are under the Preferences menu (which on the Windows version is under the "Window" menu), as:
Preferences>ColdFusion>Profiles>Editor>Typing
You'll see the first section there is "Typing Preferences" and within that is a subsection "Auto-insert matching character for", with an option for "Pound Sign (#)". Screenshot below.
Uncheck that, then click "Apply and Close". Try typing a # now. It should no longer auto-add another. I've confirmed it works, without need to reload the editor. Let us know if it works for you.
Copy link to clipboard
Copied
Thanks, Charlie and BKBK. I had got as far as the Cold Fusion tab in Preferences but I did not dig deep enough.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now