ankushbhardwxj / codemon

cli to win programming contests
https://pypi.org/project/codemon/
MIT License
26 stars 12 forks source link

Fix indent of template #35

Closed ankushbhardwxj closed 3 years ago

ankushbhardwxj commented 3 years ago

22

A better fix for this would be to fetch template corresponding to file extension (cpp, java, py) from a directory .codemon/templates/ (note the ., since its hidden) from root directory (~/).

ankushbhardwxj commented 3 years ago

@lucifer0987 - I think you can work on this. Let me know 👍🏻

lucifer0987 commented 3 years ago

@ankingcodes yeah sure, I would love to. I have to create templates for cpp, java and py. These should be stored in '.codemon/templates/' directory. And, whenever a new file of this extension is created, it should fetch the corresponding template from this directory.

.codemon/templates/ (note the ., since its hidden) from root directory (~/).

I didn't understand this part.

You also talked about fixing the indent. whats that?

ankushbhardwxj commented 3 years ago

I have to create templates for cpp, java and py. These should be stored in '.codemon/templates/' directory. And, whenever a new file of this extension is created, it should fetch the corresponding template from this directory.

Don't work on this yet. There's a PR already made for java.

You also talked about fixing the indent. whats that?

Just go to CodemonMeta and fix the indent of CPP Template string there. (It should be aligned to the side, with spaces in specific places) as follows:

23

lucifer0987 commented 3 years ago

@ankingcodes should I work on this issue or not?

ankushbhardwxj commented 3 years ago

I believe I have indicated what you have to do.

lucifer0987 commented 3 years ago

@ankingcodes Don't get me wrong please. I am sorry for this.

I have to create templates for cpp, java and py. These should be stored in '.codemon/templates/' directory. And, whenever a new file of this extension is created, it should fetch the corresponding template from this directory.

Don't work on this yet. There's a PR already made for java.

You said "don't work on this".

You also talked about fixing the indent. what's that?

Just go to CodemonMeta and fix the indent of CPP Template string there. (It should be aligned to the side, with spaces in specific places) as follows:

and, then, you told me to do something. I was really confused. So, I asked.

I am confused now as well. Really sorry.

ankushbhardwxj commented 3 years ago

Just go to CodemonMeta and fix the indent of CPP Template string there. (It should be aligned to the side, with spaces in specific places) as follows:

Sorry for misunderstanding, you're supposed to do this part that I've quoted.