ColdFusion is very good at providing line numbers when errors occur – this way you can quickly find the exact line of code that caused the problem. But instead of scrolling up and down in Studio (looking at the status bar) to find the line you need, turn on the “Show line numbers in gutter” option. This button in the editor toolbar (the vertical set of buttons to the right of the editor window) is the one with a pound sign on it, and it can be toggled on and off as needed. And even better, it is word-wrap aware, so even if you have word-wrap turned on the line numbers will still be correct (unlike the line number in the status bar). (Applies to: ColdFusion Studio 4 (or later))

Leave a Reply