28 repositorios
Systems for defining and applying code indentation logic based on syntax tree structures.
Distinguishing note: Focuses on structural indentation logic, distinct from general editor configuration.
Explore 28 awesome GitHub repositories matching development tools & productivity · Indentation Rules. Refine with filters or upvote what's useful.
Helix is a terminal-based modal text editor designed for efficient code manipulation and navigation. It centers on a selection-first editing model, where operations are performed on active ranges rather than individual cursor positions, allowing for precise control over text and code structures. The editor distinguishes itself through deep integration with structural parsing and language intelligence. By utilizing an incremental parsing library, it builds concrete syntax trees that enable advanced features like structural code navigation, intelligent indentation, and syntax-aware text object
Helix applies specific capture rules to control how code blocks align, indent, or extend across lines based on the underlying syntax tree.
This project is a comprehensive, community-maintained knowledge base and toolkit designed for competitive programming. It serves as a centralized repository for algorithmic theory, data structures, and mathematical techniques, providing a structured reference for informatics and collegiate programming competitions. The project distinguishes itself by integrating educational content with a robust suite of automation utilities. It provides a complete workflow for competitive programming, including tools for automated test case generation, solution verification, and direct interaction with onlin
Controls paragraph indentation and structural formatting for consistent code and text presentation.
This project is an Emacs configuration framework that provides a curated distribution of the editor. It focuses on a modular editor environment and a declarative package management system to ensure reproducible installations and optimized defaults. The framework distinguishes itself through a performance-optimized editor setup that uses lazy loading to reduce startup times. It implements a Vim-emulation layer, providing a modal editing interface with Vim keybindings and a leader-key command hierarchy for efficient navigation. The system covers a broad range of capabilities, including IDE lan
Implements indentation rules that detect per-file styles to maintain consistent formatting across projects.
Pug is a template engine and compiler that transforms whitespace-sensitive shorthand syntax into standard HTML. It functions as both a Node.js template engine for server-side rendering and a browser-side precompiler for client-side templating. The system converts template files into executable JavaScript functions to increase rendering speed. This allows for the generation of full HTML documents by combining dynamic data and logical structures, either on a server or as standalone JavaScript files for execution directly in the browser. The engine manages the translation process through HTML t
Parses whitespace-sensitive shorthand syntax into a hierarchical tree by tracking indentation levels.
Sass is a stylesheet compilation engine and CSS preprocessor that extends standard CSS with variables, nested rules, mixins, and functions. It functions as a comprehensive design system tool, enabling developers to organize complex stylesheets into modular, reusable components while automating the transformation of advanced syntax into browser-compatible CSS. The project distinguishes itself through its sophisticated build automation and language-level extensibility. It provides robust support for programmatic style generation, including conditional logic, iterative loops, and unit-aware math
Supports compilation of indentation-based stylesheet syntax into standard CSS.
This project is a Vim keybinding emulation for Visual Studio Code. It implements modal text editing to separate navigation and content creation through specialized modes, reducing reliance on the mouse. The emulator supports custom IDE workflows by importing standard configuration files and remapping keyboard shortcuts. It integrates with external processes to handle complex commands and reproduces logic from common plugins for surrounding characters, commenting, and rapid motion. The capability surface includes keyboard-driven navigation using text objects, markers, and character sequences.
Allows for the efficient modification of code blocks sharing the same indentation level.
This project is a Chinese translation of a technical reference and educational resource focused on the Python interpreter. It serves as a collection of case studies and examples designed to explain unintuitive execution patterns, obscure language behaviors, and the internal mechanics of the Python language specification. The resource translates complex technical explanations from English to Chinese to improve accessibility. It focuses on mapping specific code patterns to internal execution logic, linking observed results to language rules to resolve confusing behaviors. The content covers se
Explains how the Python interpreter expands tabs and spaces to help avoid logical indentation bugs.
Stylelint es una herramienta de análisis de código estático y linter para CSS y lenguajes similares a estilos. Identifica errores, aplica convenciones de codificación y opera como un plugin de PostCSS para validar hojas de estilo durante los pipelines de compilación. El proyecto se distingue por su soporte para sintaxis no estándar, incluyendo el análisis de preprocesadores para SCSS y Less, y la capacidad de extraer y lintar estilos incrustados de JavaScript, HTML y literales de plantilla. Cuenta con un sistema de corrección automatizado que corrige programáticamente las violaciones de estilo reparables para garantizar la consistencia. El sistema proporciona una arquitectura de plugins para crear reglas, sintaxis y formateadores personalizados. Cubre una amplia gama de capacidades de garantía de calidad, incluyendo la prevención de sintaxis obsoleta, validación de especificidad de selectores y la aplicación de patrones de nomenclatura y convenciones estilísticas. La configuración se gestiona a través de una lógica de fusión en cascada que admite preajustes compartibles y anulaciones específicas de archivos. La herramienta es accesible a través de una interfaz de línea de comandos, una API programática y varias integraciones de editor.
Analyzes lint-disable comments to identify redundant or improperly scoped suppressions.
EmDash is an open-source content management system built on Astro that combines a visual admin panel with a plugin-driven architecture and server-side rendering. It provides a complete content management system with structured content modeling, a rich text editor using Portable Text format, and a TypeScript API for type-safe content queries. The system supports authentication through passkeys, OAuth 2.1, and external providers, with role-based access control and fine-grained permission scopes. What distinguishes EmDash is its plugin development framework, which supports both native plugins ru
Enriches, validates, or rejects comments before they are stored in the database.
JavaPoet is a source code generator and metaprogramming utility for the Java language. It functions as an abstract syntax tree construction library that allows developers to model classes, methods, and fields as objects before emitting them as source code. The library distinguishes itself through automatic import management and code formatting. It tracks referenced types to generate required import statements and handles line wrapping, semicolon placement, and indentation to ensure generated files remain readable. The tool covers a broad range of generation capabilities, including the defini
Implements structural indentation logic to ensure generated Java source code follows consistent nesting and line wrapping.
PHP_CodeSniffer is a static analysis tool, coding standard linter, and command-line validator for PHP. It scans files and directories to detect and report formatting errors and language-specific coding violations without executing the code. The project functions as an automated code formatter capable of correcting detected style and formatting violations to bring source code into compliance with defined standards. It uses token-based lexical analysis to match code patterns against rule sets, ensuring consistency across a codebase. The tool provides comprehensive capabilities for recursive fi
Transforms tab characters into spaces to ensure compatibility with space-based indentation rules.
This project is an ESLint plugin and static analysis tool designed to enforce best practices, prevent bugs, and maintain code quality in React projects. It functions as a specialized JSX linter that analyzes the syntax and structure of components to detect anti-patterns and API misuse. The plugin distinguishes itself by providing deep analysis of React-specific patterns, such as detecting state race conditions, preventing nested component definitions, and identifying unstable references that cause unnecessary re-renders. It also includes security hardening rules to identify vulnerabilities li
Validates and corrects the indentation style of component props.
mini.nvim is a comprehensive library of independent modules designed to extend Neovim with a wide array of navigation, user interface, and text manipulation tools. It serves as a modular plugin collection, a UI toolkit for creating custom statuslines and notifications, and a package manager for installing and pinning external plugins from Git. The project provides a specialized fuzzy picker framework for filtering files and symbols, an LSP completion engine with interactive snippet expansion, and a dedicated plugin test framework that uses headless editor instances and remote procedure calls
Enables moving the cursor to the edges of the current indentation level.
js-beautify is a web language beautifier and rule-based code stylizer designed to standardize the indentation and layout of JavaScript, HTML, and CSS. It converts minified or obfuscated source code into a human-readable format to improve maintainability and readability. The system enforces consistent coding styles through global configuration files and programmatic options. It also supports local formatting overrides, allowing users to control behavior for specific sections of a file using embedded comment directives. The project provides capabilities for source code style enforcement and we
Maintains a nesting level counter to apply consistent indentation based on opening and closing brackets.
SwiftFormat is a tool for the Swift language that functions as a code formatter, linter, and refactoring utility. It automatically applies consistent style rules and visual formatting to source files to ensure a uniform appearance across a project. The project differentiates itself by providing both a command-line interface for batch processing and an Xcode extension for integration directly into the development environment. It includes specialized capabilities for modernizing legacy API usage, simplifying language constructs, and inferring formatting options by analyzing an existing codebase
Indents code based on scope levels using configurable space counts and tab widths.
Checkstyle is a Java static analysis tool and linter designed to identify and enforce coding standards and best practices. It functions as a code quality auditor and Javadoc validation tool, checking source code against configurable rulesets to ensure structural and stylistic consistency. The project allows for the creation of custom linting rules by extending a core API to inspect the abstract syntax tree. It further enables specialized validation through the use of XPath expressions to query the syntax tree for specific code patterns and violations. Capability areas include the enforcement
CheckCstyle validates that code follows specific spacing rules for blocks and line wraps.
CodeMirror is a browser-based code editor framework and modular extension system used to embed full-featured text editors into web pages. It functions as a syntax tree parsing engine and a language server protocol client, enabling structural language analysis and deep integration with external programming language services. The project is distinguished by its modular architecture, which uses a system of extensions and compartments for dynamic reconfiguration at runtime. It supports real-time collaborative editing and state synchronization through an operational transformation framework, allow
Computes and applies code indentation based on structural syntax tree properties.
Zed is a terminal-based code editor built in Rust that provides a full-featured editing experience with familiar keybindings, mouse support, and multiple cursors. It runs entirely in the terminal while offering capabilities typically found in graphical editors, including split panes, a command palette, and integrated language server protocol support for real-time diagnostics, completions, go-to-definition, and code actions across multiple languages. The editor distinguishes itself through a plugin system that runs sandboxed TypeScript plugins in a QuickJS runtime, with an asynchronous bridge
Applies pattern-based heuristics to auto-indent lines when the tree-sitter AST is unavailable.
Replaces hard tab characters with spaces to keep indentation consistent across editors and tools.
vim-polyglot es un plugin de Vim para múltiples lenguajes que proporciona un paquete integral de resaltado de sintaxis, gestión automatizada de sangría y detección de tipo de archivo para una amplia variedad de lenguajes de programación y configuración. Sirve como una instalación única para optimizar el entorno de desarrollo al proporcionar soporte integrado para numerosos lenguajes. El proyecto funciona como un paquete de soporte de lenguaje que combina paquetes de resaltado de sintaxis con un gestor de sangría. Utiliza tanto la detección de tipo de archivo basada en extensiones como la identificación de lenguaje basada en patrones para aplicar el formato visual y las reglas de espaciado correctas a los archivos. El plugin cubre áreas de configuración del editor más amplias, incluyendo la detección automática de sangría y la gestión del soporte de lenguajes, permitiendo activar o desactivar paquetes de lenguaje específicos para evitar conflictos. También incluye configuraciones para la optimización del rendimiento del editor y la configuración del estado global.
Implements a system for associating programming languages with predefined indentation logic to ensure consistent code alignment.