10 repository-uri
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 este un instrument de formatare a codului Java și de impunere a stilului. Acesta reformatează codul sursă Java pentru a respecta un ghid de stil standardizat, asigurând un layout și o indentare consistente în cadrul întregilor proiecte sau al fișierelor individuale. Proiectul funcționează ca un instrument de linting în pipeline-ul de build pentru fluxurile de lucru de integrare continuă (CI) și ca plugin de formatare pentru IDE-uri, înlocuind formatarea nativă a editorului. Poate fi integrat ca bibliotecă de formatare în software-ul de generare de cod pentru a asigura că output-ul scris automat rămâne lizibil pentru oameni. Instrumentul oferă funcționalități pentru reorganizarea indentării și spațierii codului sursă, inclusiv posibilitatea de a aplica formatarea selectiv pe anumite intervale de linii sau pe diff-uri modificate. Suportă integrarea cu editoare de dezvoltare precum Eclipse pentru a automatiza actualizările de layout în timpul procesului de scriere a codului.
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 este un linter JavaScript și un verificator de stil de cod conceput pentru a analiza codul sursă și a impune standarde de codare consistente. Acesta funcționează ca un instrument de analiză statică ce identifică tipare în codul JavaScript pentru a asigura respectarea ghidurilor de stil definite. Proiectul oferă capabilități atât pentru linting-ul codului JavaScript, cât și pentru formatarea automată a codului. Acesta poate verifica codul sursă pentru încălcări de stil și poate corecta automat acele erori pentru a alinia baza de cod cu un set specificat de reguli de formatare.
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 este un plugin de aliniere a textului și o extensie pentru editorul Vim. Funcționează ca un formator de text bazat pe expresii regulate conceput pentru a alinia vertical textul pe mai multe linii. Instrumentul identifică punctele de ancorare pentru aliniere folosind caractere sau expresii regulate pentru a crea layout-uri tabelare și formatarea organizată a codului sursă. Suportă targetarea aparițiilor specifice pentru a determina care instanță a unui caracter repetat servește drept ancoră, precum și capacitatea de a defini reguli de aliniere și delimitatori personalizați. Capabilitățile includ alinierea textului pe mai multe linii cu moduri stânga, dreapta sau centru și capacitatea de a restricționa operațiunile de aliniere la blocuri rectangulare de text. Sistemul încorporează filtrare conștientă de sintaxă pentru a ignora delimitatorii găsiți în interiorul string-urilor sau comentariilor și oferă o previzualizare vizuală în timp real a rezultatului alinierii înainte ca aceasta să fie aplicată.
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.