BoneOS icon indicating copy to clipboard operation
BoneOS copied to clipboard

General Cleanup

Open double-fault opened this issue 9 years ago • 4 comments

The formatting in the code of BoneOS is horrible. Need to do that properly

double-fault avatar Jan 12 '17 04:01 double-fault

Is there any formatting guide? So that other developer may help too.

srifqi avatar Jan 12 '17 09:01 srifqi

@srifqi What most IDE's will give. TABs should be four spaces, and increase readability of code, add newlines wherever required. See the commits I have done to get an idea.

I'm assigning this to you now, assuming you will do it. If you can't, post a comment here.

double-fault avatar Jan 14 '17 07:01 double-fault

Well, my text editor uses Tab character instead of four spaces. Should I do Find and Replace?

srifqi avatar Jan 15 '17 01:01 srifqi

@srifqi Well, when you press the "TAB" key, it puts 2, 4 or 8 spaces. I'm telling that you should put 4 by changing the settings of your text editor.

double-fault avatar Jan 15 '17 03:01 double-fault