langFileCommentStarters top-level property

Map<String, String> langFileCommentStarters
final

Implementation

final langFileCommentStarters = {
  '.ada': '--', // Ada
  '.awk': '#', // AWK
  '.bat': 'REM ', // Batch
  '.cfg': '#', // Configuration files
  '.clj': ';', // Clojure
  '.cob': '*>', // COBOL
  '.erl': '%', // Erlang
  '.exs': '#', // Elixir
  '.f90': '!', // Fortran
  '.fish': '#', // Fish Shell
  '.hs': '--', // Haskell
  '.ini': ';', // INI configuration files
  '.jsonc': '//', // JSONC
  '.lisp': ';', // Lisp
  '.lua': '--', // Lua
  '.m': '%', // MATLAB and Octave
  '.pl': '#', // Perl
  '.ps1': '#', // PowerShell
  '.py': '#', // Python
  '.r': '#', // R
  '.rb': '#', // Ruby
  '.rst': '..', // reStructuredText, comment blocks
  '.scm': ';', // Scheme
  '.sed': '#', // SED
  '.sh': '#', // Bash
  '.sql': '--', // SQL
  '.tcl': '#', // TCL
  '.tex': '%', // LaTeX documents
  '.vbs': "'", // VBScript
  '.vim': '"', // Vim script
  '.yaml': '#', // YAML
  '.zsh': '#', // Zsh
};