소스 검색

Cleanup and reorder .gitignore

Group things better in categories, and remove a ton of VS junk.
Some of it might still be needed and could need to be re-added.

(cherry picked from commits 1f1edaa1b53cdb7877af190d433719e8ebffd054
and b0df742cbe1c81feeb3b5e4a95cecbfabb2fe8f8)
Rémi Verschelde 3 년 전
부모
커밋
4ac1a79514
1개의 변경된 파일236개의 추가작업 그리고 242개의 파일을 삭제
  1. 236 242
      .gitignore

+ 236 - 242
.gitignore

@@ -1,140 +1,269 @@
-# Godot auto generated files
-*.gen.*
-.import/
+# Godot .gitignore config
+#
+# Aims to encompass the most commonly found files that we don't want committed
+# to Git, such as compilation output, IDE specific files, etc.
+#
+# It doesn't cover *all* thirdparty IDE extensions under the sun so if you have
+# specific needs covered here, you can add them to:
+#   .git/info/exclude
+#
+# Or contribute them to this file if they're common enough that a good number of
+# users would benefit from the shared rules.
+#
+# This file is organized by sections, with subsections ordered alphabetically.
+# - Build configuration
+# - Godot generated files
+# - General build output
+# - IDE and tool specific
+# - Visual Studio specific
+# - OS specific
+
+###########################
+### Build configuration ###
+###########################
 
-# Documentation generated by doxygen or from classes.xml
-doc/_build/
+/custom.py
 
-# Javascript specific
-*.bc
+#############################
+### Godot generated files ###
+#############################
 
-# CLion
-cmake-build-debug
+# Buildsystem
+bin/
+*.gen.*
+compile_commands.json
+platform/windows/godot_res.res
 
-# Android specific
-.gradle
-local.properties
-*.iml
-.idea
-.gradletasknamecache
-project.properties
-platform/android/java/app/libs/*
-platform/android/java/libs/*
-platform/android/java/lib/.cxx/
-platform/android/java/nativeSrcsConfigs/.cxx/
+# Generated by Godot binary
+.import/
+extension_api.json
+logs/
 
-# General c++ generated files
-*.lib
-*.o
-*.ox
+# Generated by unit tests
+tests/data/*.translation
+
+############################
+### General build output ###
+############################
+
+# C/C++ generated
 *.a
 *.ax
 *.d
-*.so
+*.dll
+*.lib
+*.lo
+*.o
 *.os
+*.ox
 *.Plo
-*.lo
+*.so
 # Binutils tmp linker output of the form "stXXXXXX" where "X" is alphanumeric
 st[A-Za-z0-9][A-Za-z0-9][A-Za-z0-9][A-Za-z0-9][A-Za-z0-9][A-Za-z0-9]
 
-# Libs generated files
+# Python generated
+__pycache__/
+*.pyc
+
+# Documentation
+doc/_build/
+
+# Android
+.gradle/
+local.properties
+*.iml
+.gradletasknamecache
+project.properties
+platform/android/java/*/.cxx/
+platform/android/java/*/build/
+platform/android/java/*/libs/
+
+# iOS
+*.dSYM
+
+# Javascript
+*.bc
+
+# Misc
+*.debug
+
+#############################
+### IDE and tool specific ###
+#############################
+
+# Automake
 .deps/*
 .dirstamp
 
-# Gprof output
-gmon.out
+# ccls
+.ccls-cache/
 
-# Vim temp files
-*.swo
-*.swp
+# clangd
+.clangd/
+.cache/
 
-# Qt project files
-*.config
-*.creator
-*.creator.*
-*.files
-*.includes
-*.cflags
-*.cxxflags
+# CLion
+cmake-build-debug
 
-# Code::Blocks files
+# Code::Blocks
 *.cbp
 *.layout
 *.depend
 
-# Eclipse CDT files
+# CodeLite
+*.project
+*.workspace
+.codelite/
+
+# Cppcheck
+*.cppcheck
+cppcheck-cppcheck-build-dir/
+
+# Eclipse CDT
 .cproject
 .settings/
 *.pydevproject
 *.launch
 
-# Geany/geany-plugins files
+# Gcov and Lcov code coverage
+*.gcno
+*.gcda
+*.gcov.html
+*.func.html
+*.func-sort-c.html
+*index-sort-f.html
+*index-sort-l.html
+*index.html
+godot.info
+amber.png
+emerald.png
+glass.png
+ruby.png
+snow.png
+updown.png
+gcov.css
+
+# Geany
 *.geany
 .geanyprj
 
+# Gprof
+gmon.out
+
 # Jetbrains IDEs
 .idea/
 
-# Misc
-.DS_Store
-__MACOSX
-logs/
+# Kate
+*.kate-swp
+
+# Kdevelop
+*.kdev4
+
+# Qt Creator
+*.config
+*.creator
+*.creator.*
+*.files
+*.includes
+*.cflags
+*.cxxflags
 
-# for projects that use SCons for building: http://http://www.scons.org/
+# SCons
 .sconf_temp
 .sconsign*.dblite
-*.pyc
+.scons_env.json
+.scons_node_count
+
+# Sourcetrail
+*.srctrl*
+
+# Tags
+# https://github.com/github/gitignore/blob/master/Global/Tags.gitignore
+# Ignore tags created by etags, ctags, gtags (GNU global) and cscope
+TAGS
+!TAGS/
+tags
+*.tags
+!tags/
+gtags.files
+GTAGS
+GRTAGS
+GPATH
+cscope.files
+cscope.out
+cscope.in.out
+cscope.po.out
+
+# Vim
+*.swo
+*.swp
+
+# Visual Studio Code
+.vscode/
+*.code-workspace
+.history/
+
+# Xcode
+xcuserdata/
+*.xcscmblueprint
+*.xccheckout
+*.xcodeproj/*
+
+##############################
+### Visual Studio specific ###
+##############################
 
 # https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
-## Ignore Visual Studio temporary files, build results, and
-## files generated by popular Visual Studio add-ons.
+# Ignore Visual Studio temporary files, build results, and
+# files generated by popular Visual Studio add-ons.
+
+# Actual VS project files we don't use
+*.sln
+*.vcxproj*
 
 # User-specific files
+*.rsuser
 *.suo
 *.user
+*.userosscache
 *.sln.docstates
-*.sln
-*.vcxproj*
 
-# Custom SCons configuration override
-/custom.py
+# User-specific files (MonoDevelop/Xamarin Studio)
+*.userprefs
 
 # Build results
 [Dd]ebug/
 [Dd]ebugPublic/
 [Rr]elease/
+[Rr]eleases/
 x64/
-build/
+x86/
+[Ww][Ii][Nn]32/
+[Aa][Rr][Mm]/
+[Aa][Rr][Mm]64/
 bld/
 [Bb]in/
 [Oo]bj/
-*.debug
-*.dSYM
+[Ll]og/
+[Ll]ogs/
 
-# Visual Studio cache/options directory
+# Visual Studio 2015/2017 cache/options directory
 .vs/
 
-# MSTest test Results
-[Tt]est[Rr]esult*/
-[Bb]uild[Ll]og.*
+# Visual Studio 2017 auto generated files
+Generated\ Files/
 
-# Hints for improving IntelliSense, created together with VS project
-cpp.hint
-
-#NUNIT
-*.VisualState.xml
-TestResult.xml
-
-*.o
-*.a
+# Files built by Visual Studio
 *_i.c
 *_p.c
-*_i.h
+*_h.h
 *.ilk
 *.meta
 *.obj
+*.iobj
 *.pch
 *.pdb
+*.ipdb
 *.pgc
 *.pgd
 *.rsp
@@ -144,227 +273,92 @@ TestResult.xml
 *.tlh
 *.tmp
 *.tmp_proj
-*.bak
+*_wpftmp.csproj
 *.log
+*.tlog
 *.vspscc
 *.vssscc
 .builds
 *.pidb
 *.svclog
 *.scc
-*.nib
-
-# Chutzpah Test files
-_Chutzpah*
 
 # Visual C++ cache files
 ipch/
 *.aps
 *.ncb
+*.opendb
 *.opensdf
 *.sdf
 *.cachefile
 *.VC.db
-*.VC.opendb
 *.VC.VC.opendb
-enc_temp_folder/
 
 # Visual Studio profiler
 *.psess
 *.vsp
 *.vspx
+*.sap
 
-# CodeLite project files
-*.project
-*.workspace
-.codelite/
-
-# TFS 2012 Local Workspace
-$tf/
-
-# Guidance Automation Toolkit
-*.gpState
+# Visual Studio Trace Files
+*.e2e
 
 # ReSharper is a .NET coding add-in
 _ReSharper*/
 *.[Rr]e[Ss]harper
 *.DotSettings.user
 
-# JustCode is a .NET coding addin-in
-.JustCode
-
-# TeamCity is a build add-in
-_TeamCity*
-
-# DotCover is a Code Coverage Tool
-*.dotCover
-
-# NCrunch
-*.ncrunch*
-_NCrunch_*
-.*crunch*.local.xml
-
-# MightyMoose
-*.mm.*
-AutoTest.Net/
-
-# Web workbench (sass)
-.sass-cache/
-
-# Installshield output folder
-[Ee]xpress/
-
-# DocProject is a documentation generator add-in
-DocProject/buildhelp/
-DocProject/Help/*.HxT
-DocProject/Help/*.HxC
-DocProject/Help/*.hhc
-DocProject/Help/*.hhk
-DocProject/Help/*.hhp
-DocProject/Help/Html2
-DocProject/Help/html
-
-# Click-Once directory
-publish/
-
-# Publish Web Output
-*.[Pp]ublish.xml
-*.azurePubxml
-
-# NuGet Packages Directory
-## TODO: If you have NuGet Package Restore enabled, uncomment the next line
-#packages/*
-## TODO: If the tool you use requires repositories.config, also uncomment the next line
-#!packages/repositories.config
-
-# Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets
-# This line needs to be after the ignore of the build folder (and the packages folder if the line above has been uncommented)
-!packages/build/
-
-# Windows Azure Build Output
-csx/
-*.build.csdef
-
-# Windows Store app package directory
-AppPackages/
+# Visual Studio cache files
+# files ending in .cache can be ignored
+*.[Cc]ache
 
 # Others
-sql/
-*.Cache
 ClientBin/
-[Ss]tyle[Cc]op.*
 ~$*
-*~
 *.dbmdl
 *.dbproj.schemaview
+*.jfm
 *.pfx
 *.publishsettings
-node_modules/
-__pycache__/
+orleans.codegen.cs
 
-# KDE
-.directory
-
-# Kdevelop project files
-*.kdev4
-
-# Kate swap files
-*.kate-swp
-
-# Xcode
-xcuserdata/
-*.xcscmblueprint
-*.xccheckout
-*.xcodeproj/*
-
-# RIA/Silverlight projects
-Generated_Code/
-
-# Backup & report files from converting an old project file to a newer
-# Visual Studio version. Backup files are not needed, because we have git ;-)
+# Backup & report files from converting an old project file
+# to a newer Visual Studio version. Backup files are not needed,
+# because we have git ;-)
 _UpgradeReport_Files/
 Backup*/
 UpgradeLog*.XML
 UpgradeLog*.htm
+ServiceFabricBackup/
+*.rptproj.bak
 
-# SQL Server files
-App_Data/*.mdf
-App_Data/*.ldf
+# Hint file for IntelliSense
+cpp.hint
 
-# Business Intelligence projects
-*.rdl.data
-*.bim.layout
-*.bim_*.settings
+###################
+### OS specific ###
+###################
 
-# Microsoft Fakes
-FakesAssemblies/
+# Linux
+*~
+.directory
 
-# =========================
-# Windows detritus
-# =========================
+# macOS
+.DS_Store
+__MACOSX
 
-# Windows image file caches
+# Windows
+# https://github.com/github/gitignore/blob/main/Global/Windows.gitignore
 [Tt]humbs.db
 [Tt]humbs.db:encryptable
 ehthumbs.db
 ehthumbs_vista.db
-
-# Windows stackdumps
 *.stackdump
-
-# Windows shortcuts
-*.lnk
-
-# Folder config file
 [Dd]esktop.ini
-
-# Recycle Bin used on file shares
 $RECYCLE.BIN/
-logo.h
-*.autosave
-
-# https://github.com/github/gitignore/blob/master/Global/Tags.gitignore
-# Ignore tags created by etags, ctags, gtags (GNU global) and cscope
-TAGS
-!TAGS/
-tags
-*.tags
-!tags/
-gtags.files
-GTAGS
-GRTAGS
-GPATH
-cscope.files
-cscope.out
-cscope.in.out
-cscope.po.out
-godot.creator.*
-
-projects/
-platform/windows/godot_res.res
-
-# Visual Studio 2017 and Visual Studio Code workspace folder
-/.vs
-/.vscode
-
-# Visual Studio Code workspace file
-*.code-workspace
-
-# Scons construction environment dump
-.scons_env.json
-
-# Scons progress indicator
-.scons_node_count
-
-# ccls cache (https://github.com/MaskRay/ccls)
-.ccls-cache/
-
-# compile commands (https://clang.llvm.org/docs/JSONCompilationDatabase.html)
-compile_commands.json
-
-# Cppcheck
-*.cppcheck
-
-# https://clangd.llvm.org/ cache folder
-.clangd/
-.cache/
+*.cab
+*.msi
+*.msix
+*.msm
+*.msp
+*.lnk