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

True Project Detection Support #2

Open
chenasraf opened this issue May 24, 2022 · 0 comments
Open

True Project Detection Support #2

chenasraf opened this issue May 24, 2022 · 0 comments
Assignees
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@chenasraf
Copy link
Owner

chenasraf commented May 24, 2022

In my plans for v1 release, I want the program to truly attempt to discover the relevant gitignore templates.

One way I thought about going at it is a simple file existence check on common language defaults.

For example, package.json or tsconfig.json for Node, __init__.py or setup.py for Python, pubspec.yaml for Dart, etc.

I am leaving this issue here if anyone wants to help fill the database of relevant files. I haven't touched all of the possible languages in the list, so I wouldn't know how to detect most of them.

This list will be kept up-to-date with the current languages being supported:

  • Actionscript - *.as
  • Ada - *.{adb,ada,ads}
  • Agda - *.agda
  • AL - *.al
  • Android - *.{java,kt,xml}
  • AppceleratorTitanium - *.{js,ts,xml}
  • AppEngine - *.{yaml,yml}
  • ArchLinuxPackages - *.{pkgbuild,install}
  • Autotools - configure.ac
  • C - *.{c,cats,h,idc,w}
  • C++ - *.{cpp,c++,cc,cp,cxx,h,h++,hh,hpp,hxx,inc,inl,ipp,tcc,tpp}
  • CakePHP - *.{ctp,php}
  • CFWheels - *.{cfm,cfc}
  • ChefCookbook - *.rb
  • Clojure - *.{clj,boot,cl2,cljc,cljs,cljs.hl,cljscm,cljx,hic}
  • CMake - *.{cmake,cmake.in}
  • CodeIgniter - *.{php,html,css,js}
  • CommonLisp - *.{lisp,lsp}
  • Composer - composer.json
  • Concrete5 - *.{php,html,css,js}
  • Coq - *.{coq,v}
  • CraftCMS - *.{php,html,css,js}
  • CUDA - *.{cu,cuh}
  • D - *.{d,di}
  • Dart - *.dart, pubspec.ya?ml
  • Delphi - *.{pas,dpr,dpk,dfm,dproj}
  • DM - *.dm
  • Drupal - *.{php,html,css,js}
  • Eagle - *.{sch,brd}
  • Elisp - *.el
  • Elixir - *.{ex,exs}
  • Elm - *.elm
  • EPiServer - *.{php,html,css,js}
  • Erlang - *.{erl,es,escript,hrl,xrl,yrl}
  • ExpressionEngine - *.{php,html,css,js}
  • ExtJs - *.{js,ts}
  • Fancy - *.{fy,fancypack}
  • Finale - *.{mus,xml}
  • FlaxEngine - *.{cpp,h}
  • ForceDotCom - *.{cls,trigger,page,component}
  • Fortran - *.{f90,f,f03,f08,f77,f95,for,fpp}
  • FuelPHP - *.{php,html,css,js}
  • Gcov - *.gcov
  • GitBook - *.{md,html}
  • Go - go.{mod,sum}, *.go
  • Godot - *.godot
  • Gradle - *.gradle
  • Grails - *.{groovy,java}
  • GWT - *.{java,xml}
  • Haskell - *.{hs,hsc}
  • Idris - *.{idr,lidr}
  • IGORPro - *.{pxp,ipf}
  • Java - *.java
  • JBoss - *.{java,xml}
  • Jekyll - config.ya?ml
  • JENKINS_HOME - Jenkinsfile, jobs
  • Joomla - *.{php,html,css,js}
  • Julia - *.jl
  • KiCad - *.{sch,brd,kicad_pcb}
  • Kohana - *.{php,html,css,js}
  • Kotlin - *.{kt,ktm,kts}
  • LabVIEW - *.lvproj
  • Laravel - *.{php,html,css,js}
  • Leiningen - *.{clj,cljs,edn}
  • LemonStand - *.{php,html,css,js}
  • Lilypond - *.{ly,ily}
  • Lithium - *.{php,html,css,js}
  • Lua - *.{lua,fcgi,nse,pd_lua,rbxs,wlua}
  • Magento - *.{php,html,css,js}
  • Maven - *.{xml,java}
  • Mercury - *.{m,moo}
  • MetaProgrammingSystem - *.{php,html,css,js}
  • Nanoc - *.{php,html,css,js}
  • Nim - *.nim
  • Node - package.json, [tj]sconfig.json, *.js
  • Objective-C - *.{m,h}
  • OCaml - *.{ml,eliom,eliomi,ml4,mli,mll,mly}
  • Opa - *.opa
  • OpenCart - *.{php,html,css,js}
  • OracleForms - *.{fmb,pll,mmb}
  • Packer - *.{json,hcl}
  • Perl - *.{pl,al,cgi,fcgi,perl,ph,plx,pm,pod,psgi,t}
  • Phalcon - *.{php,html,css,js}
  • PlayFramework - *.{java,scala}
  • Plone - *.{php,html,css,js}
  • Prestashop - *.{php,html,css,js}
  • Processing - *.pde
  • PureScript - *.purs
  • Python - *.{py,bzl,cgi,fcgi,gyp,lmi,pyde,pyp,pyt,pyw,rpy,tac,wsgi,xpy}
  • Qooxdoo - *.{php,html,css,js}
  • Qt - *.{cpp,h}
  • R - *.{r,rd,rsx}
  • Racket - *.{rkt,rktd,rktl,scrbl}
  • Rails - bin/rails, config/boot.rb
  • Raku - *.{php,html,css,js}
  • RhodesRhomobile - *.{rb,erb}
  • ROS - *.{cpp,h}
  • Ruby - *.{rb,builder,fcgi,gemspec,god,irbrc,jbuilder,mspec,pluginspec,podspec,rabl,rake,rbuild,rbw,rbx,ru,ruby,thor,watchr}, Gemfile
  • Rust - *.{rs,rs.in}
  • Sass - *.sass
  • Scala - *.{scala,sbt,sc}
  • Scheme - *.{scm,sld,sls,sps,ss}
  • SCons - *.{php,html,css,js}
  • Scrivener - *.{php,html,css,js}
  • Sdcc - *.{c,h}
  • SeamGen - *.{java,xml}
  • SketchUp - *.{skp,rb}
  • Smalltalk - *.{st,cs}
  • Stella - *.{php,html,css,js}
  • SugarCRM - *.{php,html,css,js}
  • Swift - *.swift
  • Symfony - *.{php,html,css,js}
  • SymphonyCMS - *.{php,html,css,js}
  • Terraform - *.{tf,hcl}
  • TeX - *.{tex,aux,bbx,bib,cbx,cls,dtx,ins,lbx,ltx,mkii,mkiv,mkvi,sty,toc}
  • Textpattern - *.{php,html,css,js}
  • TurboGears2 - *.{py,html,css,js}
  • TwinCAT3 - *.{cpp,h}
  • Typo3 - *.{php,html,css,js}
  • Unity - *.unity
  • UnrealEngine - *.uproject
  • VisualStudio - *.{sln,csproj}
  • VVVV - *.{php,html,css,js}
  • Waf - *.{wscript,py}
  • WordPress - *.{php,html,css,js}
  • Xojo - *.{xojo_code,xojo_menu,xojo_report,xojo_script,xojo_toolbar,xojo_window}
  • Yeoman - *.{php,html,css,js}
  • Yii - *.{php,html,css,js}
  • ZendFramework - *.{php,html,css,js}
  • Zephir - *.zep
@chenasraf chenasraf added help wanted Extra attention is needed good first issue Good for newcomers labels May 24, 2022
@chenasraf chenasraf self-assigned this May 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant