Could not find 'uncrustify'. The program may not be installed. #2628
Open
Description
Description
Every time I save my C++ Code an ERROR appears that says that my C++ Code could not be beautified because the program "uncrustify" may not be installed.
How can this be fixxed?
Input Before Beautification
This is what the code looked like before:
void setup (){
pinMode(13, INPUT); //echo pin == mic pin
pinMode(12, OUTPUT); //trig pin == speaker pin
}
digitalWrite(12, LOW);
delayMicroseconds(2);
digitalWrite(12, HIGH);
delayMicroseconds(10);
digitalWrite(12, LOW);
long dur = pulseIn(13, HIGH); //stellt reflection time fest
The beautified code actually looked like this:
void setup (){
pinMode(13, INPUT); //echo pin == mic pin
pinMode(12, OUTPUT); //trig pin == speaker pin
}
digitalWrite(12, LOW);
delayMicroseconds(2);
digitalWrite(12, HIGH);
delayMicroseconds(10);
digitalWrite(12, LOW);
long dur = pulseIn(13, HIGH); //stellt reflection time fest
Steps to Reproduce
- Add code to Atom editor
- Try to save the Code without the ERORR that the Code could not be uncrustifyed
Checklist
I have:
- Tried uninstalling and reinstalling Atom Beautify to ensure it installed properly
- Reloaded (or restarted) Atom to ensure it is not a caching issue
- Filled out the Input, Expected, and Actual sections above or have edited/removed them in a way that fully describes the issue.
Metadata
Assignees
Labels
No labels