{"id":31977712,"url":"https://github.com/caofancpu/laoyoutiao","last_synced_at":"2025-10-14T21:49:39.234Z","repository":{"id":47701895,"uuid":"306507755","full_name":"caofanCPU/LaoYouTiao","owner":"caofanCPU","description":"LaoYouTiao is a multifunctional integrated plugin which is designed to remove repetitive activities at daily work","archived":false,"fork":false,"pushed_at":"2022-03-27T16:48:38.000Z","size":500,"stargazers_count":24,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-04T06:07:05.071Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://plugins.jetbrains.com/plugin/15255-laoyoutiao","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/caofanCPU.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-23T02:19:06.000Z","updated_at":"2022-08-23T08:07:07.000Z","dependencies_parsed_at":"2022-08-22T21:41:06.325Z","dependency_job_id":null,"html_url":"https://github.com/caofanCPU/LaoYouTiao","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/caofanCPU/LaoYouTiao","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caofanCPU%2FLaoYouTiao","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caofanCPU%2FLaoYouTiao/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caofanCPU%2FLaoYouTiao/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caofanCPU%2FLaoYouTiao/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caofanCPU","download_url":"https://codeload.github.com/caofanCPU/LaoYouTiao/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caofanCPU%2FLaoYouTiao/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279021375,"owners_count":26087023,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-10-14T21:49:06.042Z","updated_at":"2025-10-14T21:49:39.217Z","avatar_url":"https://github.com/caofanCPU.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LaoYouTiao\n\n\u003ca href=\"https://github.com/caofanCPU/LaoYouTiao\"\u003e\u003cimg alt=\"GitHub commit activity\" src=\"https://img.shields.io/github/commit-activity/m/caofanCPU/LaoYouTiao\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/caofanCPU/LaoYouTiao/stargazers\"\u003e\u003cimg src=\"https://badgen.net/github/stars/caofanCPU/LaoYouTiao\" alt=\"stars\"\u003e\u003c/a\u003e\n\u003ca href=\"https://plugins.jetbrains.com/plugin/15255-laoyoutiao\"\u003e\u003cimg src=\"https://img.shields.io/jetbrains/plugin/d/15255\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/caofanCPU/LaoYouTiao\"\u003e\u003cimg src=\"https://img.shields.io/github/v/release/caofanCPU/LaoYouTiao\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/caofanCPU/LaoYouTiao/issues\"\u003e\u003cimg src=\"https://badgen.net/github/open-issues/caofanCPU/LaoYouTiao\" alt=\"issues\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/caofanCPU/LaoYouTiao/pulls\"\u003e\u003cimg src=\"https://badgen.net/badge/PRs/welcome/cyan\" alt=\"PRs Welcome\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/D8ger\"\u003e\u003cimg src=\"https://badgen.net/badge/organization/join%20us/cyan\" alt=\"open-source-organization\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/caofanCPU/LaoYouTiao/blob/master/LICENCE\"\u003e\u003cimg src=\"https://badgen.net/github/license/caofanCPU/LaoYouTiao?color=green\" alt=\"license\"\u003e\u003c/a\u003e\n\n## IDEA Code Plugin • `For Common Version`  \n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"http://file.debuggerpowerzcy.top/power/LaoYouTiao-V3.png\" /\u003e \n\u003c/div\u003e\n\n\u003e [中文说明](./README_CN.md)\n\n## Attention\nThe latest version is **4.0** which is submitted and under the official approval on 27th, March.   \nIf you can't fetch it, then [click here](https://github.com/caofanCPU/LaoYouTiao/releases/tag/4.0) to download ~~.zip~~ file.  \nBy the way, I hope you use happy and give me a 🌟, thx!  \nNEXT Developing plan is [DSP(D8ger Series Plan)](https://www.processon.com/view/5f96a5f35653bb06ef1870e8).\n\n### Preface\nAs JetBrains' said, I believe that you should be good use of tools will save you precious hours on your busing work.\n\nI always wonder, \"If someone else has already solved the repeating work, why do I need to repeat it again?\"\n\nWell, that's a valid question for my drive to find the repeat parts at daily work and develop this plugin to save my time.  \n\n### Convention\n- The general problem provides standard solutions\n- The personalized problem only provides example solutions\n\n### Original design intention\n- Remove the fixed duplication coding for improving efficiency in development  \n- Provide available code templates that can be used without modification  \n- Support code directory configuration, only by self-guided package intelligent programming can be done in one-click  \n- Support user-defined configuration, you can specify which file to be generated  \n\n### Features\n- Camel-Underline-Uppercase-Uncapitalize-Lowercase can be converted to each other by shortcut `alt` + `shift` + `cmd` + `U`, even timestamp-datetime convert\n- JSON formatting and single line text conversion, supporting section and whole document, default shortcut `alt`+`shift`+`cmd`+`J` | `S`\n- MySQL formatting, supporting section and whole document, default shortcut `alt`+`shift`+`cmd`+`J` | `B`\n- Reserve easter eggs, edit the blank file in IDEA and enter `nasa` to get the NASA configuration file template. This is very useful and efficient for handling multi-lines, especially SQL field naming processing.\n- Reserve easter eggs, edit the blank file in IDEA and enter `regex` to get some commonly used regular expressions. Other code Easter eggs will be added later.  \n- Reserve easter eggs, you can try to edit the blank file in IDEA and type `ohmyzsh` to get some useful shell commands and functions  \n\n### Using manual\n1. JSON formatting and Text simplify\n    - Select the specified text string in any file, press `alt` + `shift` + `cmd` + `J`, then complete JSON conversion\n    - Select the specified text string in any file, press `alt` + `shift` + `cmd` + `S`, then remove blank characters: line breaks, tabs, spaces\n    - If nothing is being select, the whole file content will be handled with shortcut `alt` + `shift` + `cmd` + `J`(or 'S')\n    - For text in non-JSON format, no changes will be made\n    - A egg is hidden for converting JSONString into JSON Object\n\n2. Camel-Underline-Uppercase-Uncapitalize-Lowercase circle convert by one-click\n    - Choose word text in any editing file, press `alt` + `shift` + `cmd` + `U`, you`ll find the changed word\n    - If not satisfied just press the shortcut again and again util you are.\n    - Here is the welfare, for the datetime and timestamp conversion, the operation is the same as above, and the supported formats:\n        - 'yyyy-MM-dd HH:mm:ss'      -\u003e timestamp, 2020-09-14 15:45:57      -\u003e 1600069557000\n        - 'yyyy-MM-dd HH:mm:ss:SSS'  -\u003e timestamp, 2020-09-14 15:45:57:000  -\u003e 1600069557000\n        - 'yyyy-MM-dd HH:mm:ss.SSS'  -\u003e timestamp, 2020-09-14 15:45:57.000  -\u003e 1600069557000\n        - 'yyyy年MM月dd日HH时mm分ss秒' -\u003e timestamp, 2020年09月14日15时45分57秒 -\u003e 1600069557000\n        - timestamp -\u003e 'yyyy-MM-dd HH:mm:ss.SSS',  1600069557000 -\u003e 2020-09-14 15:45:57.000\n\n3. MySQL formatting:\n    - Select the specified text string in any file, press `alt` + `shift` + `cmd` + `B`, then complete convert\n    - If nothing is being select, the whole file content will be handled with shortcut `alt` + `shift` + `cmd` + `B`\n    - For text in non-SQL format, no changes will be made\n\n4. Easter egg:\n   - Regex template\n      - Choose any blank file, Type `regex` and click on `Tools`-\u003e `D8ger`-\u003e `D8gerMore`, and you will find some surprise\n   - NASA template for easter egg:\n       - Choose any blank file, Type `nasa` and click on` Tools`-\u003e `D8ger`-\u003e `D8gerMore`, and you will get the NASA manual\n       - Follow the manual, custom your config and write your own multi-lines need to be batch handled, then you will find some surprise\n   - Shell commands and functions, Type `ohmyzsh` and click on` Tools`-\u003e `D8ger`-\u003e `D8gerMore`, and you will get the surprise\n\n5. QRCode for creating QRCode, 'cmd' + 'alt' + 'shift' + 'K'\n    - Basic grammar: '@=@' is the key symbol of grammar parsing\n    - For example: **D8GER**@=@**https://github.com/caofanCPU/LaoYouTiao**\n    - Then you'll see a window showing [QRCode](https://github.com/caofanCPU/LaoYouTiao)\n    - Talk seems cheap, so show you a [gif](http://file.debuggerpowerzcy.top/power/QRCode.gif)\n\n6. Time::Calculate for time estimating\n    - For example 1: +10Y9M8d7h6m54s321, means the current time should execute: +10years+9months+8days+7hours+6minutes+54seconds+321milliseconds\n    - For example 2: -34h67m89s999999, means the current time should execute: -34hours-67minutes-89seconds-999999milliseconds\n    - For example 3: -5s1Y321000, means the current time should execute:-1year-5seconds-321000milliseconds Talk seems cheap, [gif](http://file.debuggerpowerzcy.top/power/Timer.gif)\n\n7. Enhanced JSON formatting, remove JSON escape characters, as an enhanced supplement to JSON formatting, let you say goodbye to annoying escape characters\n    - select the specified text string in any file, press the shortcut key `alt` + `shift` + `cmd ` + `I` to remove escape characters\n\n\u003e By the way, these default shortcuts used in Mac OS, if you use Windows just take `cmd` into `ctrl`.\n\n### How to install\n\u003ca href=\"https://plugins.jetbrains.com/plugin/15255-laoyoutiao\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://cdn.jsdelivr.net/gh/YiiGuxing/TranslationPlugin@master/images/button-install.png\" alt=\"Get from Marketplace\" title=\"Get from Marketplace\"\u003e\n\u003c/a\u003e\n\n- `Preference` --\u003e `Plugins` --\u003e `Marketplace` --\u003e type `LaoYouTiao` --\u003e install\n- [IDEA official plugin library installation](https://plugins.jetbrains.com/plugin/15255-laoyoutiao)\n- As for `Source installation` requires you're familiar with Gradle, I will add more details about how to develop a plugin by ***Gradle*** later\n\n### Bug \u0026 Question\n\n[No one util now, but wait for you](https://github.com/caofanCPU/D8gerAutoCode/issues)\n\n### VersionRoadHistory\nIf you like LaoYouTiao, please 🌟 [the source project](https://github.com/caofanCPU/LaoYouTiao) and [download plugin](https://plugins.jetbrains.com/plugin/15255-laoyoutiao) for supporting me, thanks!\n\n- 4.0\n    - BugFix: JSONGroovy::Enhance('cmd' + 'alt' + 'shift' + 'I') , now can capable of more complex JSON data scenarios\n\n- 3.4\n    - Add: JSONGroovy::Enhance supports convert JSONString to JSON Object(include JSONObject and JSONArray), 'cmd' + 'alt' + 'shift' + 'I'\n    - BugFix: Camel::Underline('cmd' + 'alt' + 'shift' + 'U') now supports '-' and '_'\n\n- 2.6\n    - Add: Time::Calculate for time estimate, 'cmd' + 'alt' + 'shift' + 'H', one of the scenarios is to easily calculate when the Redis cache is written, and the accuracy is supported to the ms level\n    - My expectation: It is not easy to insists on open source about 8 versions, but there are only a few 🌟 for this project, so I ask for your help: [Give me a star](https://github.com/caofanCPU/LaoYouTiao) 🌟, and share it with more friends about the funny from one-click!\u003cbr\u003e\n        - Basic grammar 1: '+' for estimating the future time, the current time will add the input data when calculating; '-'(default: non '+' nor '-') for estimating the past time, the current time will subtract the input data when calculating\n        - Basic grammar 2: Time unit definition: 'Y'=Year, 'M'=Month, 'd'=day, 'h'=hour, 'm'=minute, 's'=second, millisecond(default) with no time unit mark\n        - Basic grammar 3: Support any combination of time units, which is no order between 'YMdhms'(but I recommended maintain order), besides, it doesn't need to appear all the time utils, just use what you need\n        - For example 1: +10Y9M8d7h6m54s321, means the current time should execute: +10years+9months+8days+7hours+6minutes+54seconds+321milliseconds\n        - For example 2: -34h67m89s999999, means the current time should execute: -34hours-67minutes-89seconds-999999milliseconds\n        - For example 3: -5s1Y321000, means the current time should execute:-1year-5seconds-321000milliseconds\n        - Attention 1: The millisecond data must be put to the end if you need it\n        - Attention 2: The parsing rules limit the first input of the same time unit as a valid value, and the later data input will be ignored, for example: '2d3m4d5d9m' will only be parsed as '2d3m'\n        - Talk seems cheap, [gif](http://file.debuggerpowerzcy.top/power/Timer.gif)\n\n- 2.5\n    - Add: QRCode::Link for creating QRCode, 'cmd' + 'alt' + 'shift' + 'K'\n        - Basic grammar: '@=@' is the key symbol of grammar parsing\n        - For example: D8GER@=@https://github.com/caofanCPU/LaoYouTiao\n        - Then you'll see a window showing QRCode with the link: https://github.com/caofanCPU/LaoYouTiao\n        - Talk seems cheap, so show you a [gif](http://file.debuggerpowerzcy.top/power/QRCode.gif)\n- 2.4\n    - Optimize: Graph::Easy will keep the user's original sentence, and then generate graphical text code comments, which is convenient for subsequent adjustments, 'cmd' + 'alt' + 'shift' + 'T'\n    - Update: Graph::Easy now fully supports one-click generation of graphical text code comments, 'cmd' + 'alt' + 'shift' + 'T'\n        - Basic grammar: '.' is the key symbol of grammar parsing\n        - For example: A.some text.B means that node 'A' points node 'B' and the comment upper the arrow is 'some text'\n        - Talk seems cheap, so show you a [gif](http://file.debuggerpowerzcy.top/power/HERE.gif)\n- 2.3\n    - Update: Graph::Easy now fully supports one-click generation of graphical text code comments, 'cmd' + 'alt' + 'shift' + 'T'\n        - Basic grammar: '.' is the key symbol of grammar parsing\n        - For example: A.some text.B means that node 'A' points node 'B' and the comment upper the arrow is 'some text'\n        - Talk seems cheap, so show you a [gif](http://file.debuggerpowerzcy.top/power/HERE.gif)\n- 2.2\n    - Update: Redo icon([Have a try?](https://github.com/caofanCPU/ImageMagick))\u003cbr\u003e\n- 2.1\n    - BugFix: Beautiful::JSON now support 'null' field for reserving origin text\n    - About [DSP(D8ger Series Plan)](https://www.processon.com/view/5f96a5f35653bb06ef1870e8)\n- 2.0\n    - Add: Support [Graph::Easy](http://debuggerpowerzcy.top/home/2020/04/25/MacOS%E8%BD%AF%E4%BB%B6%E5%88%9D%E5%A7%8B%E5%8C%96/) for easier DSL, default shortcut is `alt` + `shift` + `cmd` + `T`\n    - Adjust tool menus\n    - D8ger renamed to ByteCry\n    - BeautifulJSON renamed to Beautiful::JSON\n    - Add new tool item named Graph::Easy\n    - CamelUnderlineConvert renamed to Camel::Underline\n    - SimplifyOneLine renamed to Simplify::OneLine\n    - BeautifulMySQL renamed to Beautiful::MySQL\n    - D8gerNote renamed to Byte::NoDance\n    - About [DSP(D8ger Series Plan)](https://www.processon.com/view/5f96a5f35653bb06ef1870e8)\n- 1.1\n    - Camel-Underline-Uppercase-Uncapitalize-Lowercase can be converted to each other by shortcut `alt` + `shift` + `cmd` + `U`, even timestamp-datetime convert\n    - JSON formatting and single line text conversion, supporting section and whole document, default shortcut `alt`+`shift`+`cmd`+`J` | `S`\n    - MySQL formatting, supporting section and whole document, default shortcut `alt`+`shift`+`cmd`+`J` | `B`\n    - Reserve easter eggs, edit the blank file in IDEA and enter `nasa` to get the NASA configuration file template. This is very useful and efficient for handling multi-lines, especially SQL field naming processing.\n    - Reserve easter eggs, edit the blank file in IDEA and enter `regex` to get some commonly used regular expressions. Other code Easter eggs will be added later.\n    - Reserve easter eggs, you can try to edit the blank file in IDEA and type `ohmyzsh` to get some useful shell commands and functions\n\n### Contribute\n- Please give me a 🌟\n- Raise demand, write the repetitive problems you often handled at daily work in [issue](https://github.com/caofanCPU/D8gerAutoCode/issues)\n- Invite me to sit at the 🍦 shop\n\u003ctable\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" style=\"width: 200px;\"\u003e\n        \u003ca href=\"https://github.com/D8ger\"\u003e\n          \u003cimg src=\"http://file.debuggerpowerzcy.top/power/WX.png\" style=\"width: 400px;\"\u003e\u003cbr\u003e\n          \u003csub\u003e微信\u003c/sub\u003e\n        \u003c/a\u003e\u003cbr\u003e\n      \u003c/td\u003e\n      \u003ctd align=\"center\" style=\"width: 200px;\"\u003e\n        \u003ca href=\"http://www.debuggerpowerzcy.top/\"\u003e\n          \u003cimg src=\"http://file.debuggerpowerzcy.top/power/ZFB.png\" style=\"width: 400px;\"\u003e\u003cbr\u003e\n          \u003csub\u003e支付宝\u003c/sub\u003e\n        \u003c/a\u003e\u003cbr\u003e\n      \u003c/td\u003e\n      \u003ctd align=\"center\" style=\"width: 200px;\"\u003e\n          \u003ca href=\"https://github.com/caofanCPU\"\u003e\n            \u003cimg src=\"http://file.debuggerpowerzcy.top/power/MX.jpg\" style=\"width: 400px;\"\u003e\u003cbr\u003e\n            \u003csub\u003eMiXin\u003c/sub\u003e\n          \u003c/a\u003e\u003cbr\u003e\n      \u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/table\u003e\n\n### Thanks\n\u003ca href=\"https://www.jetbrains.com/?from=LaoYouTiao\"\u003e\n    \u003cimg border=\"0\" src=\"http://file.debuggerpowerzcy.top/power/jetbrains-variant-4.svg\" width=\"131\" alt=\"JetBrains\"\u003e\u003cbr\u003e\n    \u003csub\u003eWith JetBrains team's open source certificate supporting, this project will continue to develop in the spirit of open source\u003c/sub\u003e\n\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaofancpu%2Flaoyoutiao","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaofancpu%2Flaoyoutiao","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaofancpu%2Flaoyoutiao/lists"}