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

Could not find 'uncrustify'. The program may not be installed. #2628

Open
3 tasks done
DarmSpalter3000 opened this issue Aug 10, 2022 · 1 comment
Open
3 tasks done

Comments

@DarmSpalter3000
Copy link

DarmSpalter3000 commented Aug 10, 2022

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

  1. Add code to Atom editor
  2. 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.
@SilentGlasses
Copy link

If you still need this and are looking for something to fill the spot that Atom left, I am using Pulsar the successor to Atom... This package is working except for one deprecated error listed in #2605

If you don't need this anymore, can you please close this out so it's not just sitting there? Thanks

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