10 مستودعات
Tools that automatically restructure source code to adhere to a consistent visual style and layout.
Distinct from Code Analysis and Formatting: Distinct from Code Analysis and Formatting: focuses specifically on the layout and structural rewriting of code rather than general linting or analysis.
Explore 10 awesome GitHub repositories matching part of an awesome list · Source Code Formatters. Refine with filters or upvote what's useful.
coc.nvim is a Node.js extension host and Language Server Protocol client that transforms Vim and Neovim into a full integrated development environment. It provides a framework for executing JavaScript and TypeScript plugins within a separate process to enable advanced IDE features without blocking the editor's main thread. The project is distinguished by its ability to host extensions and language servers through a centralized JSON configuration. It supports the installation and lifecycle management of third-party extensions from registries or local files, allowing users to customize language
Provides automated source code formatting based on language-specific style rules.
Spacemacs is a community-driven configuration for Emacs that integrates modal text editing and a modular system for managing editor features. It implements distinct states for navigation and insertion to separate text manipulation from text entry, combining the efficiency of modal navigation with the extensibility of the Emacs environment. The project distinguishes itself through a layer-based feature composition system, which groups related third-party packages and configurations into modular units. This system includes dependency-based resolution to manage conflicting extensions and a mnemo
Standardizes the layout of the current buffer or symbol based on defined style guides.
google-java-format هو أداة لتنسيق كود Java وفرض أسلوب كتابة موحد. يقوم بإعادة تنسيق كود المصدر ليتوافق مع دليل أسلوب قياسي، مما يضمن اتساق التخطيط والمسافات البادئة عبر المشاريع بأكملها أو الملفات الفردية. يعمل المشروع كأداة فحص (linting) ضمن خط أنابيب البناء لسير عمل التكامل المستمر (CI)، وكإضافة لتنسيق الكود داخل بيئات التطوير (IDE) لاستبدال التنسيق الأصلي للمحرر. يمكن دمجه كمكتبة تنسيق داخل برمجيات توليد الكود لضمان بقاء المخرجات التي يتم إنشاؤها آلياً قابلة للقراءة من قبل البشر. توفر الأداة إمكانيات لإعادة تنظيم المسافات البادئة والتباعد في الكود، بما في ذلك القدرة على تطبيق التنسيق بشكل انتقائي على نطاقات أسطر محددة أو تغييرات (diffs) معدلة. كما يدعم التكامل مع محررات التطوير مثل Eclipse لأتمتة تحديثات التخطيط أثناء عملية البرمجة.
Automatically restructures Java source code to adhere to a consistent visual style and layout.
Roc is a statically typed, functional programming language built around immutable-by-default semantics, exhaustive pattern matching on tag unions, and a type system that combines optional explicit annotations with full compile-time type inference. Its core identity centers on correctness and expressiveness, using tagged unions for error handling with a question-mark operator for early error propagation, and a trailing-bang naming convention that makes side-effect boundaries syntactically visible at every call site. The language distinguishes itself through a platform-based I/O abstraction tha
Applies standard style rules to all source files with a single command and no configuration options.
node-jscs هو أداة linting لـ JavaScript ومدقق لأسلوب الكود مصمم لتحليل الكود المصدري وفرض معايير برمجية متسقة. يعمل كأداة تحليل ثابت تحدد الأنماط في كود JavaScript لضمان الالتزام بأدلة الأسلوب المحددة. يوفر المشروع قدرات لكل من linting كود JavaScript وتنسيق الكود تلقائيًا. يمكنه فحص الكود المصدري بحثًا عن انتهاكات الأسلوب وتصحيح تلك الأخطاء تلقائيًا لمواءمة قاعدة الكود مع مجموعة محددة من قواعد التنسيق.
Automatically restructures JavaScript source code to align with specified formatting rules.
lua-language-server is a static analysis tool and type checker for the Lua language that implements the Language Server Protocol. It provides a system for detecting type mismatches, unused code, and logic errors in source files. The project features an inference-based type system that deduces variable types and supports optional annotations and meta files to enforce type safety. It allows for the definition of custom types and function signatures, including support for overloads and member visibility controls. The server provides a broad set of IDE capabilities, including real-time code auto
Includes a built-in formatter that automatically adjusts indentation and style to maintain consistent visual structure.
vim-easy-align هي إضافة لمحاذاة النصوص وامتداد لمحرر Vim. تعمل كمنسق نصوص يعتمد على التعبيرات النمطية (regex) مصمم لمحاذاة النص عمودياً عبر أسطر متعددة. تحدد الأداة نقاط ارتكاز المحاذاة باستخدام أحرف أو تعبيرات نمطية لإنشاء تخطيطات جدولية وتنسيق كود مصدري منظم. تدعم استهداف تكرار محدد لتحديد أي مثيل من الحرف المتكرر يعمل كمرتكز، بالإضافة إلى القدرة على تحديد قواعد محاذاة وفواصل مخصصة. تشمل القدرات محاذاة النص متعدد الأسطر مع أوضاع اليسار أو اليمين أو الوسط، والقدرة على قصر عمليات المحاذاة على كتل نصية مستطيلة. يدمج النظام تصفية واعية ببناء الجملة لتجاهل الفواصل الموجودة داخل السلاسل أو التعليقات ويوفر معاينة بصرية في الوقت الفعلي لنتيجة المحاذاة قبل تطبيقها.
Restructures source code layout by lining up variable assignments and configuration blocks for better readability.
RLS is a language server that provides language intelligence for the Rust programming language. It implements the Language Server Protocol to enable a standardized communication layer between the Rust compiler and various editor clients. The project focuses on providing real-time code completions, symbol navigation, and type information. It also supports automated structural changes, such as workspace-wide symbol renaming, to maintain semantic correctness during refactoring. The system incorporates static code analysis for linting and formatting, alongside a mechanism for incremental compila
Analyzes the current document and replaces text with a consistent, standardized layout for the entire file or specific ranges.
OpenRewrite is an automated refactoring engine and source-to-source migration framework. It uses a lossless semantic tree parser to represent source code as type-aware trees that preserve original whitespace and formatting, enabling precise and deterministic modifications. The project utilizes a declarative refactoring pipeline where sequences of transformations are defined in YAML to resolve breaking changes and technical debt. It features type-aware pattern matching and cross-language model mapping to apply similar refactoring patterns across different programming languages. The framework
Enforces consistent visual formatting across a codebase to ensure all files adhere to a configured style.
kotlin-lsp is a language server implementation that integrates editors with the Kotlin compiler and build tools to provide language intelligence and code analysis. It uses the Language Server Protocol to decouple heavy language processing from the text editor user interface. The project provides static code analysis to detect issues and provide real-time diagnostics. It enables source code navigation through symbol-index based jumping to definitions and an analysis of how components interact. Additional capabilities include automated source code formatting, intelligent code completion, and s
Automatically adjusts source code layout and style to adhere to consistent project rules.