Glavin001 / atom-beautify

:mega: Help Wanted - Looking for Maintainer: https://github.com/Glavin001/atom-beautify/issues/2572 | :lipstick: Universal beautification package for Atom editor (:warning: Currently migrating to https://github.com/Unibeautify/ and have very limited bandwidth for Atom-Beautify Issues. Thank you for your patience and understanding :heart: )
http://unibeautify.com/
MIT License
1.5k stars 453 forks source link

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

Open DarmSpalter3000 opened 2 years ago

DarmSpalter3000 commented 2 years ago

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:

SilentGlasses commented 1 year ago

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