{"id":16099654,"url":"https://github.com/lppedd/idea-js-quickdoc-nowrap","last_synced_at":"2026-01-19T06:01:11.171Z","repository":{"id":104055257,"uuid":"160740426","full_name":"lppedd/idea-js-quickdoc-nowrap","owner":"lppedd","description":null,"archived":false,"fork":false,"pushed_at":"2018-12-06T22:42:24.000Z","size":1,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T23:29:50.785Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lppedd.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-06T22:28:41.000Z","updated_at":"2022-02-22T09:02:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"5cfe3d6b-e675-419a-b99d-ed22a55c420a","html_url":"https://github.com/lppedd/idea-js-quickdoc-nowrap","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lppedd/idea-js-quickdoc-nowrap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lppedd%2Fidea-js-quickdoc-nowrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lppedd%2Fidea-js-quickdoc-nowrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lppedd%2Fidea-js-quickdoc-nowrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lppedd%2Fidea-js-quickdoc-nowrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lppedd","download_url":"https://codeload.github.com/lppedd/idea-js-quickdoc-nowrap/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lppedd%2Fidea-js-quickdoc-nowrap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28562228,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T03:31:16.861Z","status":"ssl_error","status_checked_at":"2026-01-19T03:31:15.069Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2024-10-09T18:43:52.775Z","updated_at":"2026-01-19T06:01:11.144Z","avatar_url":"https://github.com/lppedd.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# idea-js-quickdoc-nowrap\n\n## English\nExample of generated documentation from `JSDocumentationProvider`\n```html\n\u003cdiv class='definition'\u003e\n\t\u003cpre\u003eTagNormalizer.denormalizeTags(\u003cbr\u003e    tags: \u003ca href=\"psi_element://NormalizedTags\"\u003eNormalizedTags\u003c/a\u003e): \u003ca\n\t\t\thref=\"psi_element://Vector\"\u003eVector\u003c/a\u003e\u0026lt;\u003ca href=\"psi_element://ApiTag\"\u003eApiTag\u003c/a\u003e\u0026gt;\u003c/pre\u003e\n\u003c/div\u003e\n\u003cdiv class='content'\u003e\u003cp\u003eDe-normalizza una lista di tag.\n\t\u003cp\u003eQuesto step e' necessario per l'invio delle informazioni al back-end,\n\t\u003cp\u003eoppure per i componenti Angular che hanno necessita' di una\n\t\u003cp\u003estruttura dati innestata.\u003c/div\u003e\n\u003ctable class='sections'\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd valign='top' class='section'\u003e\u003cp\u003eParams:\u003c/td\u003e\n\t\t\u003ctd valign='top'\u003e\u003cp\u003etags \u0026ndash; I tag da de-normalizzare\n\u003c/table\u003e\n```\n\n* class `JSDocBuildMethodInfo extends JSDocBuilderSymbolInfo`\u003cbr\u003e\n  the HTML string is built here\n* method `JSDocBuilderSymbolInfo#addContent`\u003cbr\u003e\n  the body of the quickdoc (the main content) is created here\n* method `JSDocBuilderSimpleInfo#convertMarkdownToHtml`\u003cbr\u003e\n  every `\\n` is suffixed with a `\u003cp\u003e` tag here. The paragraph represents the wrap\n\t\nThe route to take seems to be:\n* extend `JSDocumentationProvider`, overriding  method `generateDoc` to use the cloned class mentioned below\n* clone `JSDocumentationBuilder`, editing the constructor to use the new classes mentioned below\n* extend `JSDocBuilderMethodInfo` and `JSDocBuilderSymbolInfo`, overriding method `convertMarkdownToHtml`\n* use the new classes in place of the old (standard) ones in `JSDocumentationBuilder`\n\n## Italiano\nEsempio di stringa generata da `JSDocumentationProvider`\n```html\n\u003cdiv class='definition'\u003e\n\t\u003cpre\u003eTagNormalizer.denormalizeTags(\u003cbr\u003e    tags: \u003ca href=\"psi_element://NormalizedTags\"\u003eNormalizedTags\u003c/a\u003e): \u003ca\n\t\t\thref=\"psi_element://Vector\"\u003eVector\u003c/a\u003e\u0026lt;\u003ca href=\"psi_element://ApiTag\"\u003eApiTag\u003c/a\u003e\u0026gt;\u003c/pre\u003e\n\u003c/div\u003e\n\u003cdiv class='content'\u003e\u003cp\u003eDe-normalizza una lista di tag.\n\t\u003cp\u003eQuesto step e' necessario per l'invio delle informazioni al back-end,\n\t\u003cp\u003eoppure per i componenti Angular che hanno necessita' di una\n\t\u003cp\u003estruttura dati innestata.\u003c/div\u003e\n\u003ctable class='sections'\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd valign='top' class='section'\u003e\u003cp\u003eParams:\u003c/td\u003e\n\t\t\u003ctd valign='top'\u003e\u003cp\u003etags \u0026ndash; I tag da de-normalizzare\n\u003c/table\u003e\n```\n\n* classe `JSDocBuildMethodInfo extends JSDocBuilderSymbolInfo`\u003cbr\u003e\n  qui viene creata la stringa HTML\n* metodo `JSDocBuilderSymbolInfo#addContent`\u003cbr\u003e\n  qui viene creato il body del quickdoc\n* metodo `JSDocBuilderSimpleInfo#convertMarkdownToHtml`\u003cbr\u003e\n  qui vengono inseriti i tag `\u003cp\u003e` per ogni `\\n`, che sono il wrap\n\t\nLa strada da prendere sembra quella di:\n* estendere `JSDocumentationProvider`, sovrascrivendo il metodo `generateDoc` per utilizzare la nuova classe clonata menzionata sotto\n* clonare `JSDocumentationBuilder`, modificando il costruttore per utilizzare le nuove classi menzionate sotto\n* estendere `JSDocBuilderMethodInfo` e `JSDocBuilderSymbolInfo`, sovrascrivendo il metodo `convertMarkdownToHtml`\n* utilizzare le nuove classi al posto delle \"vecchie\" (standard) in `JSDocumentationBuilder`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flppedd%2Fidea-js-quickdoc-nowrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flppedd%2Fidea-js-quickdoc-nowrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flppedd%2Fidea-js-quickdoc-nowrap/lists"}