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

Add the ability to "finalize" your code #45

Open
SomeNerdJack opened this issue Jul 10, 2017 · 2 comments
Open

Add the ability to "finalize" your code #45

SomeNerdJack opened this issue Jul 10, 2017 · 2 comments

Comments

@SomeNerdJack
Copy link

My suggestion is to give users the option to disable the ability to modify RobotBuilder in lieu of the removal of the automatic comments. Last year, we used RobotBuilder once in the very beginning of the year and it really helped set up the base of our code. Afterwards however, we only added and removed commands and subsystems, along with their dependencies, manually and ended up spending a while removing all of the auto-generated comments because they were a bit of an eyesore.

A system that allows changes to the RobotBuilder project until a user would like to continue manually. At that point, they will go through some advanced options to allow them to remove all automatic comments at once.

@sciencewhiz
Copy link
Collaborator

Do you mean just the lines that look like this: // XXX AUTOGENERATED CODE, SOURCE=ROBOTBUILDER
or all of the boiler plate comments? The former should be easily scriptable, while the later seems like a lot of work.

My team continues to use robotbuilder throughout the season. Last year, we added commands using Robotbuilder at the championship.

@SomeNerdJack
Copy link
Author

I do mean the former. I honestly attempted to script it myself, but as someone who was unfamiliar with the syntax of WPILib, I was lost. I'm glad to hear that, to someone with more experience, this should be a simple addition if it is decided to be implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants