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

Try to set vscode to play nice with formating style #9223

Merged
merged 4 commits into from
Aug 7, 2023

Conversation

mmosca
Copy link
Collaborator

@mmosca mmosca commented Aug 6, 2023

Also add some options for vim to make it use spaces and 4 spaces as tabs

Tab and curly bracket settings for vscode

I am not an emacs user, so I will let @stronnag add his .emacs file

Should help address #9173
@mmosca
Copy link
Collaborator Author

mmosca commented Aug 6, 2023

Can be used for discussion of #9173

@stronnag
Copy link
Collaborator

stronnag commented Aug 6, 2023

For emacs (not a fan of K&R style, but this should keep me on straight and narrow), add .dir-locals.el to the project directory, containing:

;;; Directory Local Variables            -*- no-byte-compile: t -*-
;;; For more information see (info "(emacs) Directory Variables")

((nil . ((c-basic-offset . 4)
	 (c-default-style . "k&r"))))

@DzikuVx DzikuVx added this to the 7.0 milestone Aug 7, 2023
@DzikuVx DzikuVx merged commit da2721b into master Aug 7, 2023
14 checks passed
@DzikuVx DzikuVx deleted the mmosca-default-synthax-settings branch August 7, 2023 16:02
@mmosca mmosca restored the mmosca-default-synthax-settings branch August 8, 2023 18:36
@mmosca mmosca deleted the mmosca-default-synthax-settings branch August 9, 2023 18:46
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

Successfully merging this pull request may close these issues.

3 participants