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

[Bug]: Using Astyle as a styler works but screen flashes. #3358

Open
shadoww1028 opened this issue Apr 24, 2024 · 0 comments
Open

[Bug]: Using Astyle as a styler works but screen flashes. #3358

shadoww1028 opened this issue Apr 24, 2024 · 0 comments
Assignees
Labels

Comments

@shadoww1028
Copy link

What happened?

If you hate Clang-format (it is no longer allowed near my code) and use Astyle still with the 17.9 version of codelite on Linux mint 21.3 the screen flashes every time. More of an annoyance.

I have a bash file in my home directory:
#!/bin/bash

/usr/bin/astyle --style=allman --indent-classes --indent-namespaces --indent-switches --indent-preproc-block --keep-one-line-blocks --fill-empty-lines < "$1" > /home/shadoww/astyletmp
cat /home/shadoww/astyletmp

That formats the file, The formatter setup:

A tool to format C/C++/Java/JavaScript/JSON/Objective-C/Protobuf/C# code

Command to execute:

sh
/home/shadoww/AStyle.sh
"$(CurrentFileRelPath)"

This way I can still use Astyle. This bug is more of an annoyance then anything. So far loving 17.9 on mint (Don't use on arch!)

Version

Other

Operating system

Linux

Steps to reproduce

No response

Relevant log output

No response

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

No branches or pull requests

2 participants