Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

General Cleanup #151

Open
double-fault opened this issue Jan 12, 2017 · 4 comments
Open

General Cleanup #151

double-fault opened this issue Jan 12, 2017 · 4 comments

Comments

@double-fault
Copy link
Member

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

@double-fault double-fault self-assigned this Jan 12, 2017
double-fault added a commit that referenced this issue Jan 12, 2017
double-fault added a commit that referenced this issue Jan 12, 2017
double-fault added a commit that referenced this issue Jan 12, 2017
@srifqi
Copy link
Collaborator

srifqi commented Jan 12, 2017

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

@double-fault
Copy link
Member Author

@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 added a commit that referenced this issue Jan 14, 2017
@srifqi
Copy link
Collaborator

srifqi commented Jan 15, 2017

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

@double-fault
Copy link
Member Author

@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.

srifqi added a commit to srifqi/BoneOS that referenced this issue Jan 16, 2017
Uses 4 spaces as TAB.
Commenting unused code. (i.e. if statement with no action)

apps/
boot/
platform/
sbin/
var/
srifqi added a commit to srifqi/BoneOS that referenced this issue Jan 16, 2017
Uses 4 spaces as TAB.
Commenting unused code. (i.e. if statement with no action)

apps/
boot/
platform/
sbin/
var/
srifqi added a commit to srifqi/BoneOS that referenced this issue Jan 16, 2017
Uses 4 spaces as TAB.
Commenting unused code. (i.e. if statement with no action)

apps/
boot/
platform/
sbin/
var/
double-fault added a commit that referenced this issue Jan 16, 2017
Some General Cleanup #151 (Part 1)
amanuel2 pushed a commit that referenced this issue Jan 22, 2017
amanuel2 pushed a commit that referenced this issue Jan 22, 2017
amanuel2 pushed a commit that referenced this issue Jan 22, 2017
amanuel2 pushed a commit that referenced this issue Jan 22, 2017
amanuel2 pushed a commit that referenced this issue Jan 22, 2017
Uses 4 spaces as TAB.
Commenting unused code. (i.e. if statement with no action)

apps/
boot/
platform/
sbin/
var/
amanuel2 pushed a commit that referenced this issue Jan 22, 2017
Some General Cleanup #151 (Part 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants