45 Repos
The use of non-executable text within source code for documentation and internal notes.
Distinct from Code Annotations: Candidates focus on AI generation or AST linking, not the basic language feature of writing comments.
Explore 45 awesome GitHub repositories matching programming languages & runtimes · Code Commenting. Refine with filters or upvote what's useful.
This project is a collection of programming language references and syntax cheat sheets designed for rapid developer onboarding. It serves as a library of code-based documentation that uses valid source code files to provide whirlwind tours of various language specifications. The project focuses on programming language learning by providing concise, commented code examples that explain core features and syntax in place. This approach enables developers to quickly grasp language-specific patterns, data types, and execution flow through a consistent reference format. The content covers a broad
Provides inline usage comments and expected outputs directly within source code to explain language features.
Stylus is a CSS preprocessor that transforms a dynamic language into standard CSS. It utilizes a compilation workflow to enable the use of variables, nesting, and arithmetic, which are then rendered into stylesheets for use in frontend asset pipelines. The project is distinguished by a flexible syntax that allows for indentation-based styling, meaning curly braces, colons, and semicolons can be omitted. It further differentiates itself through a JavaScript-driven plugin pipeline and the ability to extend the native syntax with custom JavaScript functions for complex logic. Its capability sur
Supports single-line and multi-line comments for documentation and excluding code from the final CSS output.
ReflectionDocBlock is a PHP docblock parser and doc-comment metadata extractor. It functions as a reflection wrapper that extends the standard PHP Reflection API to convert raw documentation blocks into structured objects. The library provides tools for PHP documentation parsing and reflection tooling. It enables the extraction of structured metadata and annotations from reflection objects or raw doc-comment strings to support automated API documentation and static code analysis.
Converts raw PHP documentation blocks into structured objects for use in automated documentation tools.
TypeDoc is a documentation generator and AST analyzer that transforms TypeScript source code and comments into structured API reference websites or data files. It functions as a static site generator that converts code symbols into a searchable web interface. The project is an extensible framework, allowing users to modify the documentation process and generator logic through a programmable plugin system and custom themes. Its capabilities include API reference generation, source code parsing, and documentation coverage validation to ensure exported members are properly described. It support
Defines how docstrings are interpreted using custom tags, link resolution, and standard documentation formats.
VVDocumenter-Xcode ist ein IDE-Dokumentations-Workflow-Tool und Automatisierungs-Utility für die Xcode-Umgebung. Es dient als Dokumentationsgenerator, der automatisch strukturierte Kommentarblöcke für Swift-Quellcode erstellt, indem Parameter und Rückgabewerte extrahiert werden. Das Tool fungiert als Kommentar-Assistent, der manuelles Tippen durch die Verwendung einer benutzerdefinierten Trigger-Sequenz reduziert. Es identifiziert Methodensignaturen und Metadaten, um standardisierte Dokumentations-Header direkt in den Editor einzufügen. Das System deckt statische Quellcode-Analyse und Template-basierte Blockgenerierung ab, um ein konsistentes strukturelles Format sicherzustellen. Es enthält Konfigurationsoptionen zur Anpassung von Trigger-Sequenzen, Einrückungsstilen und dem allgemeinen Format der generierten Dokumentationsblöcke.
Automatically creates structured documentation comment blocks by extracting parameters and return values from source code.
This repository is a collection of Python code examples that demonstrate how to use Google Cloud Platform services and APIs. Each sample is organized as a self-contained directory with its own dependencies, making it independently runnable and testable. The samples rely on Google's auto-generated Python client libraries and standardize invocation through command-line argument parsing, with configuration read from environment variables for portability across development and CI environments. The examples cover authentication setup using the gcloud CLI, along with practical demonstrations for se
Embeds usage instructions and expected outputs directly in source code comments for human readers and automated testing.
This project is an interactive programming education resource and tutorial designed for learning the Rust programming language and systems programming concepts. It provides a collection of runnable and editable code examples that serve as a practical reference for language syntax and implementation. The resource features an interactive code sandbox that allows users to execute and test code snippets in real time. It emphasizes the verification of technical accuracy by executing embedded code blocks during the build process to ensure all examples remain functional. The content covers a compre
Covers the use of line and block comments for providing internal documentation within the code.
CodeGeeX2 is a large language model and AI programming assistant designed to generate, translate, and document source code across multiple programming languages. It functions as a multilingual code model that converts natural language prompts into executable code and technical documentation. The project provides a self-hosted AI inference endpoint, allowing the model to be exposed as a web-accessible service. This enables external development tools to integrate automated programming tasks via network calls. Its core capabilities cover multilingual code generation, automated source code docum
Provides automated generation of structured documentation comment blocks from existing source code.
This project is a curated configuration suite and development environment bootstrapper designed to optimize Zsh and Vim. It provides a collection of dotfiles, plugins, and scripts that automate the installation of system packages and shell tools to standardize a local workstation. The suite focuses on creating a consistent experience across the command line and text editor. It implements a Zsh shell framework with syntax highlighting and fuzzy matching, alongside a Vim configuration that includes advanced plugins and modal editing. It also provides a set of sane defaults and Vim-style keybind
Provides shortcuts to quickly toggle comments on single lines or blocks of code.
Rockstar is an esoteric programming language whose syntax is inspired by 1980s hard rock and heavy metal lyrics, making programs read like song lyrics. It uses poetic number literals, where the length of each word in a phrase is parsed as a decimal digit to initialize numeric variables, and pronoun-based variable references, where words like "it" and "they" resolve to the most recently assigned or compared variable at runtime. The language can be compiled to WebAssembly and run inside a web page for in-browser code execution. The language distinguishes itself through a lyric-driven parsing sy
Inserts comments in source code using parentheses, hash symbols, or brackets that are ignored during execution.
This project is a Java persistence generator and database mapping tool designed to produce boilerplate persistence layer code. It translates database schemas and column comments into structured Java annotations and mapping files, replacing the need for manual configuration writing. The tool provides a visual interface for generating code and manages secure database access through SSH tunneling. It allows users to connect to private databases via encrypted tunnels to safely extract schemas without exposing the database to the public internet. The system includes capabilities for database sche
Converts database column comments into code annotations to improve the clarity of field documentation.
Doxygen is a source code documentation generator and multi-language API reference tool. It extracts annotated comments from source code to create structured technical manuals and searchable software libraries in formats including HTML, LaTeX, and PDF. The project functions as a static code analysis visualizer, generating call graphs, class diagrams, and inheritance hierarchies to illustrate codebase structure. It also serves as an XML documentation export engine, producing structured metadata that can be transformed via XSLT or third-party tools. Beyond API extraction, the tool provides a Ma
Provides a utility to insert skeleton comment blocks into source code to standardize technical documentation.
Rushstack ist ein umfassendes Toolset für die Verwaltung groß angelegter TypeScript-Monorepos und bietet ein Framework für Build-Pipeline-Automatisierung, Abhängigkeitskoordination und statische Analyse. Es fungiert als inkrementeller Build-Orchestrator und Managementsystem, das darauf ausgelegt ist, Konsistenz und Performance über mehrere Pakete in einem geteilten Workspace hinweg zu wahren. Das System zeichnet sich durch ein Ausführungsmodell aus, das auf gerichteten azyklischen Graphen (DAGs) und inhalts-hash-basierter Inkrementalität basiert, was sicherstellt, dass nur betroffene Projekte neu gebaut werden. Es optimiert Entwicklungs-Workflows weiter durch Remote-Build-Artifact-Caching mit Integrationen für S3, Azure und HTTP und nutzt symlink-basiertes Workspace-Management für sofortige Sichtbarkeit lokaler Änderungen. Das Toolset deckt ein breites Spektrum an Funktionen ab, einschließlich automatisierter Release-Workflows, API-Vertragsanalyse und der Durchsetzung von Code-Qualität im Unternehmen durch standardisierte Linting-Profile. Es bietet zudem umfassende Unterstützung für Asset-Bundling, TypeScript-Transpilierung und die Generierung von Typdefinitionen aus JSON-Schemas und statischen Assets. Zusätzliche Aufgabenbereiche umfassen Lokalisierungsmanagement, die Generierung von Lizenzhinweisen und die Orchestrierung von Command-Line-Interfaces mit synchronisierter Prozessausgabe.
Checks documentation comments against the TSDoc standard to ensure compatibility with extraction tools.
emmet-vim is a plugin for Vim that functions as a markup automation tool and code expander. It allows for the rapid generation of HTML and CSS structures by expanding shorthand text expressions into full code elements. The tool provides a set of shortcuts for wrapping, balancing, and manipulating tags. It includes a text object extension that enables navigation and editing commands for jumping between nested element boundaries. The project covers a range of capabilities for frontend code refactoring and document hierarchy restructuring. These include tag wrapping, element removal, attribute
Provides keyboard shortcuts to quickly comment or uncomment blocks of markup code.
SWIG is a tool that generates wrapper code to expose C and C++ libraries to a wide range of higher-level programming languages. It reads annotated C/C++ header files and produces language-specific bindings from a single interface definition, supporting languages such as Python, Java, Ruby, C#, Perl, and many others. The generated wrapper code is free from the project's GPL license, allowing users to distribute it under their own terms. The tool handles modern C++ features including templates, namespaces, smart pointers, and constructs up to C++20 through specialized parsing and code generatio
Converts Doxygen-style comments in C++ code into equivalent documentation for generated bindings.
Anthony's ESLint config preset
Triggers micro-codemods like converting arrow functions or sorting objects via special comment markers.
Embeds explanatory comments within code examples to bridge design concepts and implementation.
Dieses Projekt ist ein Vim-Kommentierungs-Plugin und ein sprachbewusster Kommentierer, der entwickelt wurde, um dateitypspezifische Kommentarzeichen auf Quellcode anzuwenden. Es fungiert als Textobjekt-Erweiterung, die das Umschalten von Kommentar-Markern auf ausgewählten Zeilen oder Textblöcken ermöglicht. Das Plugin nutzt Vim-Motions und -Ranges, um den spezifischen Text zu bestimmen, der modifiziert werden soll, und automatisiert den Prozess des Hinzufügens oder Entfernens von Kommentar-Markern. Es bietet mehrsprachige Syntaxunterstützung, indem es Kommentarzeichen automatisch basierend auf dem aktuellen Dateityp zuordnet. Benutzer können benutzerdefinierte Kommentarzeichen für spezifische Dateitypen definieren, um die Kompatibilität über verschiedene Programmiersprachen hinweg sicherzustellen.
Functions as a language-aware system for toggling comment markers across various programming languages.
Periphery ist ein statisches Analysetool und ein Detektor für toten Code in Swift-Projekten. Es identifiziert nicht referenzierte Klassen, Structs, Funktionen und Eigenschaften und dient als API-Oberflächen-Optimierer, um öffentliche Deklarationen zu finden, die auf internen Zugriff beschränkt werden können. Das Tool umfasst spezialisierte Scans für Interface-Builder-Dateien wie Storyboards und XIBs, um sicherzustellen, dass UI-verknüpfte Elemente nicht fälschlicherweise als ungenutzt markiert werden. Es bietet zudem eine automatisierte Code-Bereinigung, um identifizierten toten Code und ungenutzte Parameter direkt aus den Quelldateien zu entfernen. Die Analysefunktionen decken die Erkennung redundanter Protokolle, ungenutzter Enum-Cases, unnötiger Imports und Eigenschaften, die nur zugewiesen, aber nie gelesen werden, ab. Das System verwaltet technische Schulden durch Baseline-Vergleichsfilter und unterstützt Projekte mit gemischten Sprachen, indem es Symbole bewahrt, die für die Objective-C-Runtime exponiert sind. Periphery lässt sich über YAML-basierte Konfigurationen in Build-Systeme und CI-Pipelines integrieren und kann Analyseergebnisse in mehreren Industriestandard-Formaten exportieren.
Supports inline source code annotations to manually instruct the analyzer to ignore specific symbols or files.
The C/C++ extension for Visual Studio Code provides language support for C and C++ programming, including IntelliSense-powered code editing, navigation, and debugging capabilities. It enables syntax highlighting, code completion, hover information, and error checking for C and C++ source files, along with features like semantic colorization, symbol search, and call hierarchy exploration. The extension offers comprehensive debugging support for C/C++ programs, including launching debug sessions with breakpoints, stepping through code, and inspecting variables. It supports debugging multi-threa
Creates a structured documentation comment block when typing / and pressing Enter.