Chikwado Posted June 13, 2016 Share Posted June 13, 2016 (edited) Some one help with a cue, Are there a way to learn how to use code indentation I am using notepad++, Some of my javascript code is error free but lack of proper indentation it does not work. Example of these file are ajax live search. While typing in notepad++ I see some vertical line when I hover it, It highlight red. I know notepad++ may be guiding me to use some set of rule but i do not understand that. I need help. Edited June 13, 2016 by Chikwado Link to comment Share on other sites More sharing options...
davej Posted June 13, 2016 Share Posted June 13, 2016 Coding style is meant to make code easy to read and debug. Please post some of this code that doesn't work. Link to comment Share on other sites More sharing options...
dsonesuk Posted June 14, 2016 Share Posted June 14, 2016 Thats only to show you the current boundaries you are working in within a function, for loop, if condition, it might not be a error, it is confusing. Netbeans highlights errors by line with warning triangle explaining error, it also indents everything wether being javascript, html, php automatically on on typing and saving. Link to comment Share on other sites More sharing options...
Chikwado Posted June 14, 2016 Author Share Posted June 14, 2016 There are several version of netbean, which could be compatible with window 8? Link to comment Share on other sites More sharing options...
Ingolme Posted June 14, 2016 Share Posted June 14, 2016 All of them are, but your issue with the code not working has nothing to do with indentation. Link to comment Share on other sites More sharing options...
davej Posted June 14, 2016 Share Posted June 14, 2016 Unless you are writing Python. Link to comment Share on other sites More sharing options...
Chikwado Posted June 14, 2016 Author Share Posted June 14, 2016 (edited) Netbean highlight error by line with warning triangle explaining error, It also indent everything weather being javscript, html, php automatically on typing and saving. I want to try using it to see how it would indent my code. After saving it I will copy it and paste in notepad++ and see how it really work. Just give me that courage. I like it. Edited June 14, 2016 by Chikwado Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now