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

Tell vscode astyle extension where to find astyle config #72586

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

harakka
Copy link
Member

@harakka harakka commented Mar 24, 2024

Summary

None

Purpose of change

We have the chiehyu.vscode-astyle extension enabled but apparently astyle doesn't find the config in root dir of the repo. This fixes that, which allows you to use Format On Save in vscode, skipping the extra manual astyle run.

Describe the solution

Add the config variable

Describe alternatives you've considered

Testing

Formatted c++ changes from vscode, result is identical to running make astyle

Additional context

@github-actions github-actions bot added json-styled JSON lint passed, label assigned by github actions astyled astyled PR, label is assigned by github actions labels Mar 24, 2024
@harakka harakka force-pushed the vscode-astyle-config branch from 6bffdb3 to 7306ffa Compare March 24, 2024 21:07
@github-actions github-actions bot added the BasicBuildPassed This PR builds correctly, label assigned by github actions label Mar 25, 2024
@Fris0uman Fris0uman merged commit 8c4c648 into CleverRaven:master Mar 25, 2024
24 checks passed
@harakka harakka deleted the vscode-astyle-config branch April 21, 2024 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions json-styled JSON lint passed, label assigned by github actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants