rpeshkov / vscode-text-tables

VSCode extension that brings the power of Emacs table editing
MIT License
38 stars 14 forks source link

Add command for creating new table #9

Closed rpeshkov closed 6 years ago

rpeshkov commented 6 years ago

In Emacs it's possible to execute command org-table-create and provide table size in format NxM, where N is number of columns and M is number of rows. After pressing enter, new table is created in current cursor position. Newly created table also contain separator row after header, i.e. if you provide 2x2 as argument, newly created table will look like this:

|   |   |
|---+---|
|   |   |

Sample from emacs: 1_create_table