{"id":32123787,"url":"https://github.com/shugh/vscode-table-formatter","last_synced_at":"2026-02-21T03:02:04.605Z","repository":{"id":16289449,"uuid":"79673047","full_name":"shuGH/vscode-table-formatter","owner":"shuGH","description":"Table formatter extension for VSCode.","archived":false,"fork":false,"pushed_at":"2022-03-29T12:24:22.000Z","size":146,"stargazers_count":51,"open_issues_count":18,"forks_count":15,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-20T21:26:39.673Z","etag":null,"topics":["table-formatter","vscode-extension"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/shuGH.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-21T21:08:56.000Z","updated_at":"2025-10-05T13:18:04.000Z","dependencies_parsed_at":"2022-08-07T08:15:18.624Z","dependency_job_id":null,"html_url":"https://github.com/shuGH/vscode-table-formatter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shuGH/vscode-table-formatter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuGH%2Fvscode-table-formatter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuGH%2Fvscode-table-formatter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuGH%2Fvscode-table-formatter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuGH%2Fvscode-table-formatter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shuGH","download_url":"https://codeload.github.com/shuGH/vscode-table-formatter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuGH%2Fvscode-table-formatter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29672256,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T00:11:43.526Z","status":"online","status_checked_at":"2026-02-21T02:00:07.432Z","response_time":107,"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":["table-formatter","vscode-extension"],"created_at":"2025-10-20T21:14:53.721Z","updated_at":"2026-02-21T03:02:04.518Z","avatar_url":"https://github.com/shuGH.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VSCode Table Formatter\n\n[![codebeat badge](https://codebeat.co/badges/be046828-b86b-452a-a5fa-aee399b8ddbd)](https://codebeat.co/projects/github-com-shugh-vscode-table-formatter) [![Latest Release](https://vsmarketplacebadge.apphb.com/version-short/shuworks.vscode-table-formatter.svg)](https://marketplace.visualstudio.com/items?itemName=shuworks.vscode-table-formatter) [![Installs](https://vsmarketplacebadge.apphb.com/installs/shuworks.vscode-table-formatter.svg)](https://marketplace.visualstudio.com/items?itemName=shuworks.vscode-table-formatter) [![Rating](https://vsmarketplacebadge.apphb.com/rating-short/shuworks.vscode-table-formatter.svg)](https://marketplace.visualstudio.com/items?itemName=shuworks.vscode-table-formatter#review-details) [![Licence](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/shuGH/vscode-table-formatter/blob/master/LICENSE.md)\n\nTable Formatter is a extention package for the Visual Studio Code to format table syntax.\n\n![demo](https://raw.githubusercontent.com/shuGH/vscode-table-formatter/master/res/complex_demo.gif)\n\n## Description\n\nThis extention format table syntax of markup language, aligns the columns width.\nSupports multiple markup languages, and you do not need to specify a markup language when formatting.\n\nFeatures:\n\n* Formatting table syntax\n    * Align cell width with pipe\n    * Align text position in cell\n    * Add missing cells automatically\n    * Add missing separator syntax automatically in cell\n* Automatic discrimination of table syntax\n    * Discriminate markup language automatically\n    * Determine range of table syntax automatically\n* It is possible to select the format target\n    * Only table contain current cursor position\n    * All tables in opend text\n* CJK support\n\nSupported markup language:\n\n* GitHub Flavored Markdown\n    * Header separator\n    * Align\n* Textile\n    * Header\n    * Align\n* reStructuredText\n    * Grid table\n    * Simple table\n\nNot supported:\n\n* Spanning rows and colums\n* Multiple lines in cell\n\n## Usage\n\nEnter command in the command palette (`Ctrl-Shift-P` or `Cmd-Shift-P`) with cursor position in table syntax.\nThe current table will be formatted.\nOr, you can format all the table syntax in opend text.\nAt that time, markup language is automatically determined.\n\nCommand title:\n\n* `Table: Format Current`\n\t* format one table syntax contain current cursor position only\n\t* command: `extension.table.formatCurrent`\n* `Table: Format All`\n\t* format all table syntaxes in opend text\n\t* command: `extension.table.formatAll`\n\n\u003c!---\n* `Table: Format CSV`\n* `Table: Insert Blank Row`\n* `Table: Insert Blank Column`\n* `Table: Insert Escaped Pipe`\n* `Table: Insert Escaped Break`\n* `Table: Convert to Plain Text Table`\n--\u003e\n\nSample:\n\n* Plain Text Table \u003ca href=\"#1\"\u003e*1\u003c/a\u003e\n\n    ```\n    |English|Hello\n    |Chinese|你好|       |Vietnamese|嗔嘲\n    |Japanese|こんにちは||Korean|안녕하세요\n\n    //=\u003e\n    | English  | Hello      | |            |            |\n    | Chinese  | 你好       | | Vietnamese | 嗔嘲       |\n    | Japanese | こんにちは | | Korean     | 안녕하세요 |\n    ```\n\n* Markdown\n\n    ```\n    |-            || update | commit | checkout |\n    |-||:-|:-:|-:|\n    git||pull / fetch \u003e merge|commit / push|clone\n    hg ||pull \u003e update|commit / push|clone\n\n    // =\u003e\n    |  -  |     |        update        |    commit     | checkout |\n    | --- | --- | :------------------- | :-----------: | -------: |\n    | git |     | pull / fetch \u003e merge | commit / push |    clone |\n    | hg  |     | pull \u003e update        | commit / push |    clone |\n    ```\n\n* Textile\n\n    ```\n    _.name|_.age\n    |John Doe|\u003e.35  |\n    |Jane Doe|\u003c.  19|\n    Nanashi Gonbei|=.6\n\n    // =\u003e\n    |_.      name      |_. age |\n    |   John Doe       |\u003e.  35 |\n    |   Jane Doe       |\u003c. 19  |\n    |   Nanashi Gonbei |=.  6  |\n    ```\n\n* Grid Table\n\n    ```\n    +\n    ||Mon|Tue|Wed|Thu|Fri|\n    +=\n    |田中|(^^)|(xx)|(xx)|('')|(^^)|\n    -+\n    |鈴木|(^^)|(^^)|('')|(xx)|(^^)|\n    +\n\n    // =\u003e\n    +------+------+------+------+------+------+\n    |      | Mon  | Tue  | Wed  | Thu  | Fri  |\n    +======+======+======+======+======+======+\n    | 田中 | (^^) | (xx) | (xx) | ('') | (^^) |\n    +------+------+------+------+------+------+\n    | 鈴木 | (^^) | (^^) | ('') | (xx) | (^^) |\n    +------+------+------+------+------+------+\n    ```\n\n* Simple Table \u003ca href=\"#2\"\u003e*2\u003c/a\u003e\n\n    ```\n    =\n    Input . Output\n    -\n    A B \"A or B\" A_and_B\n    = = = =\n    False False False False\n    True False True False\n    =\n\n    // =\u003e\n    =====  =====  ========  =======\n    Input    .     Output\n    -----  -----  --------  -------\n      A      B    \"A or B\"  A_and_B\n    =====  =====  ========  =======\n    False  False  False     False\n    True   False  True      False\n    =====  =====  ========  =======\n    ```\n\n## Configration\n\nSome of configrations and examples of it.\n\n* `tableformatter.common.centerAlignedHeader`\n\n    ```\n    // true\n    | Elem |   Win    | Lose  |\n    | ---- | :------- | ----: |\n    | Rock | Scissors | Paper |\n\n    // false\n    | Elem | Win      |  Lose |\n    | ---- | :------- | ----: |\n    | Rock | Scissors | Paper |\n    ```\n\n* `tableformatter.markdown.oneSpacePadding`\n\n    ```\n    // true\n    |   Elem   |  Win  | Lose |\n    | -------- | :---- | ---: |\n    | Scissors | Paper | Rock |\n\n    // false\n    |   Elem   |  Win  | Lose |\n    |----------|:------|-----:|\n    | Scissors | Paper | Rock |\n    ```\n\n* `tableformatter.markdown.tableEdgesType`\n\n    * 'Normal': Formatted table has delimiters on both sides.\n    * 'Borderless': Formatted table has no delimiters on both sides.\n    * 'Auto': If original table has no pipe delimiter at all line heads, format as borderless.\n\n    ```\n    // Normal\n    | Elem  | Win  |   Lose   |\n    | ----- | :--- | :------- |\n    | Paper | Rock | Scissors |\n\n    // Borderless\n    Elem  | Win  |   Lose\n    ----- | :--- | :-------\n    Paper | Rock | Scissors\n    ```\n\n## Installation\n\nSearch extension in marketplace and Install.\n\n1. In the command palette (`Ctrl-Shift-P` or `Cmd-Shift-P`) select Install Extensions.\n2. Search for table formatter and select.\n\n## Roadmap\n\n* [x] reStructuredText support\n    * [x] Grid table\n    * [x] Simple table\n* [ ] CSV support\n    * [ ] Formatting\n* [x] Configuration\n    * [ ] Switching Enable Text algin\n    * [ ] Escaped pipe string\n    * [ ] Escaped break string\n* [ ] Simple table editing\n\t* [ ] Insert blank col and blank row\n\t* [ ] Insert escaped pipe and break\n\t* [ ] Convert to plain text table from CSV\n* [ ] Fast and simple shortcut format in table syntax\n    * e.g.) Press Tab key in table syntax, and format current table\n    * Probably needs updating of VSCood features about key bindings \"when\" property.\n\n## Release Notes\n\n[Changelog](https://github.com/shuGH/vscode-table-formatter/blob/master/CHANGELOG.md)\n\n## Licence\n\n[MIT License](https://github.com/shuGH/vscode-table-formatter/blob/master/LICENSE.md)\n\n## Author\n\n[Shuzo.I](https://github.com/shuGH)\n\n**Enjoy!**\n\n\u003ca name=\"1\"\u003e\u003c/a\u003e*1 It is misaligned because this monospaced font not compatible with CJK.\n\n\u003ca name=\"2\"\u003e\u003c/a\u003e*2 Need to specific syntax. One cell content have no space, or put between double quotation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshugh%2Fvscode-table-formatter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshugh%2Fvscode-table-formatter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshugh%2Fvscode-table-formatter/lists"}