2 مستودعات
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 هو أداة لتنسيق كود Java وفرض أسلوب كتابة موحد. يقوم بإعادة تنسيق كود المصدر ليتوافق مع دليل أسلوب قياسي، مما يضمن اتساق التخطيط والمسافات البادئة عبر المشاريع بأكملها أو الملفات الفردية. يعمل المشروع كأداة فحص (linting) ضمن خط أنابيب البناء لسير عمل التكامل المستمر (CI)، وكإضافة لتنسيق الكود داخل بيئات التطوير (IDE) لاستبدال التنسيق الأصلي للمحرر. يمكن دمجه كمكتبة تنسيق داخل برمجيات توليد الكود لضمان بقاء المخرجات التي يتم إنشاؤها آلياً قابلة للقراءة من قبل البشر. توفر الأداة إمكانيات لإعادة تنظيم المسافات البادئة والتباعد في الكود، بما في ذلك القدرة على تطبيق التنسيق بشكل انتقائي على نطاقات أسطر محددة أو تغييرات (diffs) معدلة. كما يدعم التكامل مع محررات التطوير مثل Eclipse لأتمتة تحديثات التخطيط أثناء عملية البرمجة.
Provides code offset mapping to target specific character positions for selective formatting.