Monitoring stylistic preferences of source code in integrated development environments

US12541343B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12541343-B2
Application numberUS-202318098000-A
CountryUS
Kind codeB2
Filing dateJan 17, 2023
Priority dateJan 17, 2023
Publication dateFeb 3, 2026
Grant dateFeb 3, 2026

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Systems and methods for identifying, marking, or modifying source code non-compliant with stylistic preferences in an integrated development environment (IDE). An example method may comprise determining, by a processing device executing an integrated development environment (IDE), a programming language of a source code being processed by the IDE; identifying, from a plurality of style profiles, a style profile for the programming language of the source code; and for each portion of the source code, determining whether a respective portion of the source code complies with the style profile.

First claim

Opening claim text (preview).

What is claimed is: 1 . A method comprising: determining, by a processing device executing an integrated development environment (IDE), a programming language of a source code being processed by the IDE, wherein determining the programming language further comprises determining a version of the programming language; identifying, from a plurality of style profiles, a style profile for the version of the programming language of the source code comprising: a set of language-specific syntax rules that define a use of characters for the source code; and a set of language-agnostic stylistic rules that define stylistic preferences for the source code; for each portion of the source code, determining whether a respective portion of the source code complies with the style profile; responsive to determining that a first portion of the source code fails to comply with the style profile, modifying the first portion of the source code to comply with the style profile; and responsive to modifying the first portion of the source code to comply with the style profile, providing the source code for integration in a code base associated with the source code. 2 . The method of claim 1 , wherein each style profile of the plurality of style profiles corresponds to one of: a programming language or a version of a programming language. 3 . The method of claim 1 , wherein the set of language-specific syntax rules comprises a rule that defines the use of at least one of: white spaces, empty lines, special characters, or predetermined characters in the source code. 4 . The method of claim 1 , wherein the method comprises, responsive to determining that the first portion of the source code does not comply with the style profile, marking the first portion of the source code. 5 . The method of claim 4 , wherein marking the first portion of the source code includes highlighting the first portion or underlining the first portion in the IDE. 6 . The method of claim 1 , wherein the set of language-agnostic stylistic rules defines a collection of incorrect versions of collections of characters. 7 . The method of claim 6 , wherein modifying the first portion of the source code to comply with the style profile comprises: determining that the first portion of the source code includes an incorrect version of a particular collection of characters included in the source code; determining that the set of language-agnostic stylistic rules does not define the incorrect version of the particular collection of characters; and modifying the set of language-agnostic stylistic rules to add the incorrect version of the particular collection of characters. 8 . The method of claim 1 , wherein modifying the first portion of the source code to comply with the style profile comprises: determining whether the first portion of the source code fails to comply with the set of language-specific syntax rules and/or the set of language-agnostic stylistic rules. 9 . The method of claim 8 , wherein modifying the first portion of the source code to comply with the style profile further comprises: marking, in the IDE, the first portion of the source code with a particular color, the particular color selected based on whether the first portion of the source code fails to comply with the set of language-specific syntax rules, the set of language-agnostic stylistic rules, or both the set of language-specific syntax rules and the set of language-agnostic stylistic rules. 10 . A system comprising: a memory device; and a processing device executing an integrated development environment (IDE), operatively coupled with the memory device, to perform operations comprising: determining a programming language of a source code being processed by the IDE, wherein determining the programming language further comprises determining a version of the programming language; identifying a style profile for the version of the programming language of the source code, wherein the style profile comprises: a set of language-specific syntax rules that define a use of characters for the source code; and a set of language-agnostic stylistic rules that define stylistic preferences for the source code; for each portion of the source code, determining whether a respective portion of the source code complies with the style profile; responsive to determining that a first portion of the source code fails to comply with the style profile, modifying the first portion of the source code to comply with the style profile; and responsive to modifying the first portion of the source code to comply with the style profile, providing the source code for integration in a code base associated with the source code. 11 . The system of claim 10 , wherein, prior to modifying the first portion of the source code, the operations comprise: responsive to determining that the first portion of the source code fails to comply with the style profile, marking the first portion of the source code. 12 . The system of claim 10 , wherein the style profile is one of a plurality of style profiles. 13 . The system of claim 10 , wherein the set of language-specific syntax rules comprises a rule that defines the use of at least one of: white spaces, empty lines, special characters, or predetermined characters in the source code. 14 . A non-transitory computer-readable storage medium comprising instructions that, when executed by a processing device executing an integrated development environment (IDE), cause the processing device to perform operations comprising: determining a programming language of a source code being processed by the IDE, wherein determining the programming language further comprises determining a version of the programming language; identifying a style profile for the version of the programming language of the source code, the style profile comprising: a set of language-specific syntax rules that define a use of characters for the source code; and a set of language-agnostic stylistic rules that define stylistic preferences for the source code; for each portion of the source code, determining whether a respective portion of the source code complies with the style profile; responsive to determining that a first portion of the source code fails to comply with the style profile, modifying the first portion of the source code to comply with the style profile; and responsive to modifying the first portion of the source code to comply with the style profile, providing the source code for integration in a code base associated with the source code. 15 . The non-transitory computer-readable storage medium according to claim 14 , wherein, prior to modifying the first portion of the source code, the processing device performs operations comprising: marking the first portion of the source code. 16 . The non-transitory computer-readable storage medium according to claim 14 , wherein the style profile is one of a plurality of style profiles. 17 . The non-transitory computer-readable storage medium according to claim 14 , wherein the set of language-specific syntax rules comprises a rule that defines the use of at least one of: white spaces, empty lines, special characters, or predetermined characters in the source code.

Assignees

Inventors

Classifications

  • Reverse engineering; Extracting design information from source code · CPC title

  • G06F8/31Primary

    Programming languages or programming paradigms · CPC title

  • G06F8/33Primary

    Intelligent editors · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12541343B2 cover?
Systems and methods for identifying, marking, or modifying source code non-compliant with stylistic preferences in an integrated development environment (IDE). An example method may comprise determining, by a processing device executing an integrated development environment (IDE), a programming language of a source code being processed by the IDE; identifying, from a plurality of style profiles…
Who is the assignee on this patent?
Red Hat Inc
What technology area does this patent fall under?
Primary CPC classification G06F8/31. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Feb 03 2026 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 9 related publications on this page (citations in our corpus or others sharing the same primary CPC).