| 1 | # ignore sub-level extensionless build outputs |
| 2 | */**/* |
| 3 | !*/ |
| 4 | !*.* |
| 5 | |
| 6 | # ignore generated binaries and object files |
| 7 | *.exe |
| 8 | *.o |
| 9 | *.so |
| 10 | .*.c |
| 11 | *.tmp.c |
| 12 | *.obj |
| 13 | *.exp |
| 14 | *.ilk |
| 15 | *.pdb |
| 16 | *.dll |
| 17 | *.lib |
| 18 | *.bak |
| 19 | *.dylib |
| 20 | a.out |
| 21 | .noprefix.vrepl_temp |
| 22 | |
| 23 | # ignore v build files |
| 24 | # *.exe is already ignored above |
| 25 | /v |
| 26 | /v2 |
| 27 | /vc |
| 28 | /v.c |
| 29 | /v.*.c |
| 30 | /v.c.out |
| 31 | /v_old |
| 32 | /vdbg |
| 33 | /vold |
| 34 | /vnew |
| 35 | /vprod |
| 36 | /vprod_gcc |
| 37 | /vprod_clang |
| 38 | .vrepl_temp.v |
| 39 | fns.txt |
| 40 | .noprefix.vrepl_temp.v |
| 41 | |
| 42 | # Prefix local scratch/repro files with tmp. when they should stay untracked. |
| 43 | tmp.* |
| 44 | |
| 45 | # ignore temp and cache directories |
| 46 | temp/ |
| 47 | tmp/ |
| 48 | cache/ |
| 49 | .cache/ |
| 50 | |
| 51 | # unignore special files without extension |
| 52 | !.github/PULL_REQUEST_TEMPLATE |
| 53 | !.editorconfig |
| 54 | !.gitattributes |
| 55 | !.gitignore |
| 56 | !BSDmakefile |
| 57 | !Dockerfile |
| 58 | !Dockerfile.alpine |
| 59 | !Dockerfile.cross |
| 60 | !LICENSE |
| 61 | !Makefile |
| 62 | !GNUmakefile |
| 63 | |
| 64 | # ignore editor files |
| 65 | .project/ |
| 66 | .classpath/ |
| 67 | .c9/ |
| 68 | .vs/ |
| 69 | *.launch |
| 70 | .settings/ |
| 71 | *.sublime-workspace |
| 72 | .vscode/ |
| 73 | *.code-workspace |
| 74 | *~ |
| 75 | ~* |
| 76 | .sesskey |
| 77 | *.db |
| 78 | *.swp |
| 79 | *.swo |
| 80 | *.swn |
| 81 | .env |
| 82 | |
| 83 | # ignore debugger files |
| 84 | cachegrind.out.* |
| 85 | .gdb_history |
| 86 | *.dSYM |
| 87 | *.def |
| 88 | vgcore.* |
| 89 | |
| 90 | # ignore system files |
| 91 | .DS_Store |
| 92 | ._* |
| 93 | thumbs.db |
| 94 | /.symlink |
| 95 | /.bin |
| 96 | |
| 97 | _docs |
| 98 | |
| 99 | # ignore vs databases |
| 100 | *.suo |
| 101 | *.VC.db |
| 102 | *.rsp |
| 103 | |
| 104 | # ignore cmd/tools/.disable_autorecompilation, which some package managers use. |
| 105 | cmd/tools/.disable_autorecompilation |
| 106 | |
| 107 | test.bin |
| 108 | |
| 109 | # ignore codespace env |
| 110 | .venv/ |
| 111 | .direnv/ |
| 112 | shell.nix |
| 113 | default.nix |
| 114 | flake.nix |
| 115 | .envrc |
| 116 | |
| 117 | # generated by thirdparty/stdatomic/nix/cpp/gen.v |
| 118 | thirdparty/stdatomic/nix/cpp/*.h |
| 119 | |
| 120 | # ignore thirdparty libs that are distributed separately |
| 121 | thirdparty/binaryen* |
| 122 | thirdparty/wabt* |
| 123 | thirdparty/tcc/ |
| 124 | thirdparty/sqlite/ |
| 125 | |
| 126 | # ignore VLS log |
| 127 | vls.log |
| 128 | |
| 129 | # ignore v2go tmperror files |
| 130 | *.tmperr |
| 131 | |
| 132 | .vtmp_cov_*/ |
| 133 | |
| 134 | # ignore Intellij files |
| 135 | .idea/ |
| 136 | /*.iml |
| 137 | |
| 138 | # ignore generated files: |
| 139 | wasm.v |
| 140 | |
| 141 | # ignore large GTK *.gir files |
| 142 | Gtk-4.0.gir |
| 143 | *.gir |
| 144 | |
| 145 | vlib/builtin/js/*.js |
| 146 | vlib/v/tests/*.js |
| 147 | |
| 148 | # ignore tags indexes, used by emacs/vim: |
| 149 | ETAGS |
| 150 | TAGS |
| 151 | tags |
| 152 | |
| 153 | # ignore the old regexp based v.ctags file (people using universal ctags < 6.1.0, can still benefit from them) |
| 154 | .ctags.d/v.ctags |
| 155 | |
| 156 | # ignore .NET7.0 Assembly Files |
| 157 | bench/vectors/bin |
| 158 | bench/vectors/obj |
| 159 | |
| 160 | autofuzz.log |
| 161 | .project.gf |
| 162 | .aider* |
| 163 | |
| 164 | # ignore common file names for bugs/reproductions |
| 165 | bug* |
| 166 | issue* |
| 167 | |
| 168 | # ignore cmd2/v stuff |
| 169 | cmd/v2/*.txt |
| 170 | cmd/v2/*.json |
| 171 | .claude/ |
| 172 | .copilot/ |
| 173 | .agents/ |
| 174 | .codex/ |
| 175 | |