Pages

Thursday, November 7, 2013

How to Count Lines of Code in ColdFusion

How to Count Lines of Code in ColdFusion

ColdFusion is an application from Adobe made for the development of Internet applications. Many applications require extensive use of code to achieve the desired results, and knowing the number of lines of code lets programmers narrow down error locations and keep track of how much code is going into the application. By default, the line numbers are hidden in ColdFusion. In order to view the line numbers and count the lines of code, users must enable the setting.

Instructions

    1

    Open preferences by clicking "Windows" in the task bar at the top of the window on a PC or the top of the screen on a Mac. Click "Preferences" to open the preferences window.

    2

    Click the arrow next to "General" in the panel on the left of the window to display the options within.

    3

    Click the arrow next to "Editors," then click the arrow next to "Text Editors" to display the code editor options.

    4

    Click to select the check box labeled "Show line numbers" and click "OK" at the bottom right of the window. Line numbers will appear in a gray bar to the left of your code.

    5

    Subtract the first line number of the section of code you are counting from the last line number. The result is the total number of lines in that section of code.

0 comments:

Post a Comment