{"id":15134404,"url":"https://github.com/lppedd/idea-return-highlighter","last_synced_at":"2025-10-23T11:30:24.865Z","repository":{"id":45831190,"uuid":"220550955","full_name":"lppedd/idea-return-highlighter","owner":"lppedd","description":"Highlight return keywords.","archived":false,"fork":false,"pushed_at":"2023-03-18T14:40:14.000Z","size":389,"stargazers_count":30,"open_issues_count":26,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-30T17:38:42.843Z","etag":null,"topics":["hacktoberfest","highlighting","idea-plugin","intellij","intellij-idea","intellij-plugin"],"latest_commit_sha":null,"homepage":"https://plugins.jetbrains.com/plugin/13303-return-highlighter","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lppedd.png","metadata":{"files":{"readme":"README.md","changelog":"change-notes/0_1_1.html","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-08T21:32:51.000Z","updated_at":"2024-11-01T06:34:07.000Z","dependencies_parsed_at":"2022-09-13T13:52:32.632Z","dependency_job_id":null,"html_url":"https://github.com/lppedd/idea-return-highlighter","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lppedd%2Fidea-return-highlighter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lppedd%2Fidea-return-highlighter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lppedd%2Fidea-return-highlighter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lppedd%2Fidea-return-highlighter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lppedd","download_url":"https://codeload.github.com/lppedd/idea-return-highlighter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237811515,"owners_count":19370144,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest","highlighting","idea-plugin","intellij","intellij-idea","intellij-plugin"],"created_at":"2024-09-26T05:20:24.873Z","updated_at":"2025-10-23T11:30:24.457Z","avatar_url":"https://github.com/lppedd.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":":bell: \u003cstrong\u003eLocalization needed! PRs are welcomed\u003c/strong\u003e (look [here][4] for bundles) :sunglasses:  \n\n\u003cimg align=\"left\" width=\"70\" height=\"68\" src=\"https://raw.githubusercontent.com/lppedd/idea-return-highlighter/master/images/return-highlighter-logo.png\" alt=\"Plugin logo\"\u003e\n\n# Return Highlighter\n\n### Available @ [JetBrains Plugins Repository][1]\n\nLooking for the latest **plugin binaries**? Get them [here][3] as `.zip`  \n\u003csmall\u003eSupported IDE versions: `201.6668` to `*`\u003c/small\u003e \n\n#### Supported languages\n\n - Java\n - JavaScript and TypeScript\n - Python\n - PHP\n - Need another language? [Open an issue][2]\n\n-----\n\nThe aim of this plugin is to highlight `return` keywords in source code.  \nSometimes it happens we find difficult to read source files; take for example this piece of code\n\n```typescript\n1  private toggleRowCheck(rowId: string, doCheck: boolean): boolean {\n2    if (doCheck) {\n3      if (this.checkedRows.size \u003e= (this.selectionOpt.limit || Infinity)) return false;\n4      this.checkedRows.add(rowId);\n5    } else {\n6      this.checkedRows.delete(rowId);\n7    }\n8    return true;\n9  }\n```\n\nIt is not immediately apparent a `return` statement is present at line `3`.  \nThis is why the plugin does\n\n - Show a gutter icon next to the `return`ing lines (clicking on it will take you to the return statement!)\n - Highlight the `return` keyword, so that it stands out more\n  \n#### Example\n\n\u003cimg width=\"845\" height=\"200\" src=\"https://raw.githubusercontent.com/lppedd/idea-return-highlighter/master/images/usage-example.png\" alt=\"Usage example\"\u003e\n  \n-----\n\nThe plugin offers some degree of customization.\n\n### Choose for which languages to show the gutter icon\n\nYou can customize which languages will have the gutter icon via  \n**Settings \u003e Editor \u003e General \u003e Gutter Icons**\n\nYou'll find a _Return Highlighter_ section, with all available languages listed.\n\n\u003cimg width=\"845\" height=\"169\" src=\"https://raw.githubusercontent.com/lppedd/idea-return-highlighter/master/images/gutter-icons.png\" alt=\"Gutter icons\"\u003e\n\n### Disable/Customize the return keyword color highlighting\n\nYou can disable or customize how the return keyword is highlighted, to stand out more, via  \n**Settings \u003e Editor \u003e Color Scheme \u003e Return Highlighter**\n\nTo reset values to the default ones, check **Inherit values from**.\n\n\u003cimg width=\"845\" height=\"516\" src=\"https://raw.githubusercontent.com/lppedd/idea-return-highlighter/master/images/style.png\" alt=\"Style\"\u003e\n\n### Limit the scope of the plugin\n\n- #### Top-level returns only\n  Certain languages offer features like _lambda expressions_ (Java) or _function expressions_ (JavaScript).\n  This means potentially you can have nested functions, and thus nested `return` statements.\n\n  To highlight only top-level `return` keywords, depending on the language, look under  \n  **Settings \u003e Return Highlighter \u003e *[language]***  \n  and check **Only top-level return keywords**.\n\n- #### Skip simple getters\n  Highlighting `return` statements in simple functions/methods can be annoying.  \n  Thus it is possible to disable it for such elements.\n\n  To skip `return` keywords inside simple getters, look under  \n  **Settings \u003e Return Highlighter \u003e *[language]***  \n  and check **Skip simple getters**.\n  \n  \u003cimg width=\"845\" height=\"177\" src=\"https://raw.githubusercontent.com/lppedd/idea-return-highlighter/master/images/scope.png\" alt=\"Scope\"\u003e\n\n  A _tooltip_ is there to show examples of simple getters, per language, but for the sake of README completeness\n  here is one too in TypeScript\n  \n  ```\n  isEnabled(): boolean {\n    return true;\n  }\n  ```\n\n-----\n\n## Author\n\n - Edoardo Luppi (\u003clp.edoardo@gmail.com\u003e)\n\n[1]: https://plugins.jetbrains.com/plugin/13303-return-highlighter\n[2]: https://github.com/lppedd/idea-return-highlighter/issues/new?assignees=lppedd\u0026labels=enhancement%2C+language\u0026template=language-support.md\u0026title=Language+support%3A+%5BLANGUAGE%5D\n[3]: https://github.com/lppedd/idea-return-highlighter/releases\n[4]: https://github.com/lppedd/idea-return-highlighter/tree/master/src/main/resources/messages\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flppedd%2Fidea-return-highlighter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flppedd%2Fidea-return-highlighter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flppedd%2Fidea-return-highlighter/lists"}