2 repositorios
Mapping line numbers to parent units based on text offsets.
Distinct from Document Range Mapping: Specifically maps line integers to structural units, whereas document range mapping handles cursor/text modifications.
Explore 2 awesome GitHub repositories matching user interface & experience · Code Offset Mapping. Refine with filters or upvote what's useful.
This project is a static code analysis tool that functions as a code unit resolver and source code line mapper. It identifies the specific function or method that contains a given line of code by analyzing the structure of source files without executing the program. The utility maps line numbers to their parent code units by examining the organization of source files and identifying the ownership of specific lines. It determines the boundaries of functions and methods through text-based structural parsing and range detection. These capabilities support source code analysis and static analysi
Associates specific integer line numbers with parent code units based on defined text offsets.
google-java-format es una herramienta de formateo de código Java y aplicación de estilos. Reformatea el código fuente Java para cumplir con una guía de estilo estandarizada, asegurando un diseño y una sangría consistentes en proyectos completos o archivos individuales. El proyecto funciona como una herramienta de linting en pipelines de compilación para flujos de trabajo de integración continua y como un plugin de formateo para IDEs, reemplazando el formateo nativo del editor. Puede integrarse como una librería de formateo dentro de software de generación de código para garantizar que la salida escrita por máquinas siga siendo legible para los humanos. La herramienta ofrece capacidades para reorganizar la sangría y el espaciado del código fuente, incluyendo la posibilidad de aplicar el formato de forma selectiva a rangos de líneas específicos o diffs modificados. Soporta la integración con editores de desarrollo como Eclipse para automatizar las actualizaciones de diseño durante el proceso de codificación.
Provides code offset mapping to target specific character positions for selective formatting.