awesome-repositories.com
المدونة
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

10 مستودعات

Awesome GitHub RepositoriesSource Code Formatters

Tools that automatically rewrite source code to adhere to a consistent and standardized style guide.

Distinct from Code Formatting: Candidates focus on UI rendering of code snippets or AI edit protocols rather than the actual structural rewriting of source files for style compliance.

Explore 10 awesome GitHub repositories matching programming languages & runtimes · Source Code Formatters. Refine with filters or upvote what's useful.

Awesome Source Code Formatters GitHub Repositories

اعثر على أفضل المستودعات باستخدام الذكاء الاصطناعي.سنبحث عن أفضل المستودعات المطابقة باستخدام الذكاء الاصطناعي.
  • google/yapfالصورة الرمزية لـ google

    google/yapf

    13,978عرض على GitHub↗

    YAPF هي أداة تنسيق كود Python وأداة امتثال للأسلوب. تعمل كمُنسق قائم على AST يستخدم أشجار بناء الجملة الملموسة لضمان الاتساق الهيكلي وعرض مرئي موحد عبر ملفات المصدر. يستخدم المحرك مُحسِّن تخطيط قائماً على العقوبة لتحديد أفضل فواصل الأسطر عن طريق حساب تكاليف رقمية لخيارات التنسيق المختلفة. يستخدم معالج كود متعدد العمليات لتوزيع تنسيق ملفات متعددة عبر عدة أنوية CPU. تغطي الأداة إعادة تنسيق الكود المصدري من خلال تعديلات الملف في مكانه، وتحليل الفرق، ومعالجة أجزاء الكود الجزئية. تتضمن نظام تكوين قائماً على القواعد لإدارة إعدادات الأسلوب المسبقة، وقواعد التخطيط، وإعدادات مستوى المشروع. تشمل قدرات التكامل التحقق من امتثال الأسلوب لخطوط أنابيب التكامل المستمر، وأتمتة git hook، ووظيفة التنسيق عند الحفظ القائمة على المحرر.

    Automatically reformats Python source code to adhere to a standardized style guide for consistent presentation.

    Python
    عرض على GitHub↗13,978
  • reasonml/reasonالصورة الرمزية لـ reasonml

    reasonml/reason

    10,313عرض على GitHub↗

    Reason is a strongly typed functional language and multi-target compiler designed to produce either JavaScript for web environments or native machine code for operating systems. It serves as an OCaml-compatible language that shares an abstract syntax tree with OCaml, providing a practical syntax for the OCaml ecosystem. The project functions as a type-safe frontend language, incorporating JSX support to build user interfaces through structural elements that translate into type-safe function calls. It enables deep integration with the JavaScript ecosystem, allowing the use of existing librarie

    Includes a command line tool to automatically rewrite source code to adhere to a standardized style guide.

    OCamljavascriptocamlprogramming-language
    عرض على GitHub↗10,313
  • rust-lang-nursery/rustfmtالصورة الرمزية لـ rust-lang-nursery

    rust-lang-nursery/rustfmt

    6,877عرض على GitHub↗

    rustfmt is a tool that automatically rewrites Rust source code to adhere to a consistent and standardized style guide. It functions as both a code formatter for transforming source files and a style linter used to verify if code matches required formatting rules. The system is configurable, allowing for the definition of custom formatting rules and language editions through configuration files to override default styles. It also supports selective formatting by using dedicated skip markers to prevent specific blocks of code from being modified. The tool provides capabilities for both source

    Preventing specific blocks of Rust code from being modified by the formatter using dedicated skip markers.

    Rust
    عرض على GitHub↗6,877
  • rust-lang/rustfmtالصورة الرمزية لـ rust-lang

    rust-lang/rustfmt

    6,747عرض على GitHub↗

    rustfmt is a Rust code formatter that operates as a Cargo subcommand, applying consistent formatting to Rust source files according to official style guidelines. It parses source code into a syntax tree, applies formatting rules to tree nodes, and pretty-prints the result back to text, with support for TOML-driven configuration that allows per-project style customization. The formatter is edition-aware, automatically selecting formatting rules based on the Rust edition specified in the project, and supports a style edition override that decouples formatting rules from the Rust edition used fo

    Applies consistent formatting to Rust source files according to official style guidelines and project-specific configuration.

    Rustcodeformatterformatterrust
    عرض على GitHub↗6,747
  • google/google-java-formatالصورة الرمزية لـ google

    google/google-java-format

    6,145عرض على GitHub↗

    google-java-format هو أداة لتنسيق كود Java وفرض أسلوب كتابة موحد. يقوم بإعادة تنسيق كود المصدر ليتوافق مع دليل أسلوب قياسي، مما يضمن اتساق التخطيط والمسافات البادئة عبر المشاريع بأكملها أو الملفات الفردية. يعمل المشروع كأداة فحص (linting) ضمن خط أنابيب البناء لسير عمل التكامل المستمر (CI)، وكإضافة لتنسيق الكود داخل بيئات التطوير (IDE) لاستبدال التنسيق الأصلي للمحرر. يمكن دمجه كمكتبة تنسيق داخل برمجيات توليد الكود لضمان بقاء المخرجات التي يتم إنشاؤها آلياً قابلة للقراءة من قبل البشر. توفر الأداة إمكانيات لإعادة تنظيم المسافات البادئة والتباعد في الكود، بما في ذلك القدرة على تطبيق التنسيق بشكل انتقائي على نطاقات أسطر محددة أو تغييرات (diffs) معدلة. كما يدعم التكامل مع محررات التطوير مثل Eclipse لأتمتة تحديثات التخطيط أثناء عملية البرمجة.

    Automatically rewrites Java source code to adhere to a standardized style guide for consistent layout and indentation.

    Java
    عرض على GitHub↗6,145
  • realpython/materialsالصورة الرمزية لـ realpython

    realpython/materials

    5,173عرض على GitHub↗

    هذا المشروع عبارة عن مجموعة شاملة من مواد تعليم برمجة Python، بما في ذلك البرامج التعليمية، والتمارين، وعينات الكود المنسقة. يعمل كمنهج تعليمي ومجموعة أدوات هندسة برمجيات، باستخدام Jupyter Notebooks لدمج الكود القابل للتنفيذ مع نص تعليمي وصفي. يوفر المستودع أدلة تنفيذ عملية لبناء تطبيقات نماذج لغوية كبيرة، مثل أنظمة التوليد المعزز بالاسترجاع، ووكلاء الذكاء الاصطناعي ذوي الحالة، وسير عمل التعلم الآلي. يتميز بتقديم نهج منظم لسير عمل الترميز الوكيل، وتغطية تقطير نافذة السياق، وتوجيه النموذج المستقل عن المزود، والمخرجات المهيكلة المفروضة بالمخطط. تغطي المواد مجموعة واسعة من قدرات هندسة البرمجيات، بما في ذلك البرمجة غير المتزامنة مع طوابير المهام الموزعة، وتطوير تطبيقات الويب مع REST APIs، وسير عمل تحليل البيانات. كما يتضمن موارد لإتقان التصميم الموجه للكائنات، وتنفيذ خطوط أنابيب CI/CD، وتطبيق معايير التنسيق والتدقيق المهنية.

    Automatically rewrites source code to adhere to consistent and standardized style guides via indentation and layout adjustments.

    Jupyter Notebook
    عرض على GitHub↗5,173
  • mvdan/gofumptالصورة الرمزية لـ mvdan

    mvdan/gofumpt

    4,007عرض على GitHub↗

    gofumpt is a Go language tool and source code formatter. It functions as an opinionated code styler that applies a strict and consistent visual style to Go source files to ensure a standardized appearance across a codebase. The tool enforces a more rigid and deterministic set of layout constraints than the standard Go toolchain. It is designed for Go project style enforcement to eliminate trivial diffs and stylistic inconsistencies. The project supports Go source code formatting and continuous integration linting to automatically check and correct formatting during the build process.

    Acts as a source code formatter that rewrites Go code to adhere to a standardized and strict style guide.

    Go
    عرض على GitHub↗4,007
  • prabirshrestha/vim-lspالصورة الرمزية لـ prabirshrestha

    prabirshrestha/vim-lsp

    3,368عرض على GitHub↗

    vim-lsp is a Vim plugin that implements the Language Server Protocol to provide an asynchronous code intelligence tool for the editor. It serves as a bridge between Vim and external language servers, providing semantic code analysis and IDE-like navigation and diagnostics. The project provides a refactoring interface for renaming symbols across a workspace and applying quick-fixes. It also enables semantic highlighting, which color-codes elements based on their meaning as determined by the language server. The plugin covers a broad surface of capabilities, including symbol navigation and dis

    Automatically reformats source code to adhere to consistent style guidelines via the language server.

    Vim Scriptasyncasyncompletelanguage-server-protocol
    عرض على GitHub↗3,368
  • swiftlang/swift-formatالصورة الرمزية لـ swiftlang

    swiftlang/swift-format

    2,940عرض على GitHub↗

    swift-format is a set of developer utilities for the Swift ecosystem designed for automated style enforcement, static analysis, and project-wide configuration management. It functions as a code formatter that rewrites source code to adhere to consistent style rules and as a linter that identifies style violations. The tool provides a system for defining and applying custom formatting rules through a configuration tool. This includes the ability to load settings from configuration files discovered in a directory hierarchy or to export default settings for user customization. Its capabilities

    Automatically rewrites Swift source files to adhere to a consistent and standardized style guide.

    Swift
    عرض على GitHub↗2,940
  • google/vim-codefmtالصورة الرمزية لـ google

    google/vim-codefmt

    1,119عرض على GitHub↗

    Vim-codefmt is a plugin for the Vim text editor that automates source code formatting by integrating external command-line utilities. It functions as a bridge between the editor and specialized formatting tools, allowing developers to maintain consistent style across diverse programming languages through a unified interface. The plugin operates by invoking external processes to transform buffer content, utilizing standard input and output streams to exchange data. It supports both full-file formatting and targeted adjustments for specific code ranges, ensuring that style enforcement can be ap

    Applies language-specific style rules to code buffers or selected text ranges to maintain consistent readability.

    Vim Scriptclang-formatformatterjs-beautify
    عرض على GitHub↗1,119
  1. Home
  2. Programming Languages & Runtimes
  3. Source Code Formatters