Our unit testing setup makes sure you use spaces instead of tabs in all files, including .jsp and jspx. I have set this option for the general editor but the jsp editor does not recognize/see this option and still continues to use tabs instead of spaces.
Is there a way to force the jsp editor to insert spaces instead of tabs?
:)
Tabs Debate. Pro-spaces programmers argue that using the space bar makes the layout more flexible. However, pro-tabs users rebut saying tabs makes code more readable and aesthetically pleasing.
To solve the error, remove the whitespace and only indent the lines in the code block using tabs or using spaces. Make sure the lines of code in the code block at indented to the same level.
Go to Window > Preferences and set option Indent using spaces in the following categories:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With