![]() ![]() ![]() If it's solely up to you to choose tabs or spaces then it's your choice. If your project is using tabs then you should follow the same setting as nobody wants an SVN commit which says 100% file is changed only to find that tabs were replaced by spaces. The tabs vs space war are is as old as God vs Demons but for me, it's more of a choice and consistency. Learning plugins will be a lot easier after that. In this article, I am going to share how to make Eclipse uses spaces instead of tabs for Java editor, which you use while writing Java programs.ītw, if you are a beginner, I suggest you first go through these Eclipse online courses to understand the core concepts of Eclipse IDE and get yourself familiar with UI and essential features. If you are like many Java programmer who is more comfortable with space than tabs because they give a true sense of spacing, you can always change the Java editor settings to use space instead of tabs in Eclipse. ![]() UNIX text editors prefer tab is 8 spaces, Windows text editors, and IDEs e.g. This happens because when you copy Java program from Eclipse to a text editor, tabs are converted to spaces and different editor has the different settings of tabs. I see a lot of white spaces which makes the program wider than expected. VIM, Notepad, TextPad, or Edit plus, the indentation goes weird. I use Eclipse IDE extensively to write Java programs for testing and example purposes, but when I copy those programs in any text editors e.g. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |