Skip to content

Commit

Permalink
Add JetBrain IDE code style defaults (#2709)
Browse files Browse the repository at this point in the history
  • Loading branch information
0blu authored Jul 30, 2024
1 parent aec344b commit 3964559
Show file tree
Hide file tree
Showing 4 changed files with 99 additions and 7 deletions.
8 changes: 8 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
root = true

[*]
indent_style = space
indent_size = 4
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
15 changes: 8 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#
# Normal rules
#
.*
*.o
*.o.*
*.a
Expand Down Expand Up @@ -63,11 +62,6 @@ callgrind.out.*
# stgit directories
patches-*

#
# Github stuff
#
!.github/

#
# VS binaries output
#
Expand All @@ -86,7 +80,6 @@ win/*
ipch
*.user


#
# CMake temporary files
#
Expand All @@ -100,6 +93,14 @@ cmake_install.cmake
# MacOS
.DS_Store

# CLion / JetBrain Tools
# But allow premade code style
.idea/*
!.idea/codeStyles/

# VSCode
.vscode

# Nostalrius
newsletter
patch
Expand Down
78 changes: 78 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3964559

Please sign in to comment.