Jump to content
xisto Community
kvarnerexpress

Total Lines Of Code

Recommended Posts

Does anyone know how to have Dreamweaver MX (or some other program) tally up the lines of code in an entire website and display the total lines of code?I can get the number of pages but I am very interested in how many lines I've written.Kvernerexpress

Share this post


Link to post
Share on other sites

Do you mean for an entire website (lots of files), or just one webpage (one file)? I have no clue about Dreamweaver, I don't use WYSIWYG editors. However, most good text editors have line numbering, so you could tell very quickly how many lines of code there are. For example, editplus (https://www.editplus.com/) has this feature. Just open up your HTML file in there, and scroll to the last line.

Share this post


Link to post
Share on other sites

You don't really have to download anything to get the total lines of code. All you have to do is copy and paste your entire HTML code FROM Dreamweaver, open Microsoft Notepad, and paste it into Notepad. Then in Notepad, go to View -> Status Bar, point the blinking type cursor to the last line of your code in Notepad, and look at the status bar. It should say something like "Ln x, Col y" where x is the line that the cursor is on and y is the column that the cursor is on.

Share this post


Link to post
Share on other sites

How do you get the status bar to show up? I checked it out after reading your post, and found it under View > Status Bar... except that Status Bar is greyed our and unclickable. I tried with various text files. What am I missing here? I have windows xp pro if that is of any relevance.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.