Home Download Buy Blog Forum Support

SublimeTableEditor

SublimeTableEditor

Postby vkocubinsky on Wed Aug 29, 2012 5:54 pm

Hi, I am Valery.

I just released a first alpha version of SublimeTableEditor.
The code available on https://github.com/vkocubinsky/SublimeTableEditor.

SublimeTableEditor is a package for everyone who uses Sublime Editor for edit simple text tables in text mode, markdown mode, textile mode etc. SublimeTableEditor allow on easy way edit text table, it allow:
* add/delete row
* add/delete column
* navigate with tab/shift tab
* auto align number and text
* specify alignment
* move column left/right
SublimeTableEditor is very similar to emacs org-mode table editor with the same key binding.

You can install SublimeTableEditor through Package Control http://wbond.net/sublime_packages/package_control
* Open Package Control
* Select 'Install Package'
* Find and select 'Table Editor'

I will happy get feeback from you as reply to this post.

Screenshot:
SublimeTableEditExample.jpg
SublimeTableEditExample.jpg (144.38 KiB) Viewed 10160 times




Thanks!
vkocubinsky
 
Posts: 6
Joined: Wed Aug 29, 2012 5:58 am

Re: SublimeTableEditor

Postby vitaLee on Thu Aug 30, 2012 9:10 am

Sweeet !!! :)
vitaLee
 
Posts: 150
Joined: Tue Dec 27, 2011 11:10 pm

Re: SublimeTableEditor

Postby kuroir on Mon Sep 10, 2012 6:27 am

GREAT JOB.

This is definitely something that SublimeText was missing. Kudos for the great work.
kuroir
 
Posts: 71
Joined: Thu Sep 01, 2011 11:28 pm
Location: Mexico

Re: SublimeTableEditor

Postby vkocubinsky on Sun Sep 16, 2012 6:37 am

For now planned features for version 1.0 is complete and Table Editor have beta status!
vkocubinsky
 
Posts: 6
Joined: Wed Aug 29, 2012 5:58 am

Re: SublimeTableEditor

Postby aksdb on Wed Sep 19, 2012 7:32 am

Very nice! Thank you!

However I would like to have the emacs-like tables too ... for example:
Code: Select all
+--------+--------+
| some   | column |
+========+========+
| content|content |
+--------+--------+
|more    | more   |
+--------+--------+


That way I could directly use these tables for markdown/pandoc :-)
aksdb
 
Posts: 6
Joined: Wed Aug 22, 2012 1:23 pm

Re: SublimeTableEditor

Postby vkocubinsky on Wed Sep 19, 2012 3:23 pm

Thank you for feeback!

I will look more close on pandoc tables, reStructuredText tables and textile tables. But, I guess it will be after 1.0 GA release of Table Editor.

Thanks!
vkocubinsky
 
Posts: 6
Joined: Wed Aug 29, 2012 5:58 am

Re: SublimeTableEditor

Postby vkocubinsky on Tue Oct 16, 2012 10:25 am

Some people asked me about support pandoc styles. I have added support pandoc grid tables in version 0.11.0.

Now Table Editor supports next styles:
* simple
* emacs
* grid (pandoc)

*simple* style is default style. You can change default table style if modify
user settings. You can open user settings with menu "Preferences -> Settings - User".
You can set per syntax table style if modify syntax settings. For example when you edit Markdown file you can open syntax settings with menu
"Preferences -> Settings - More -> Syntax Specific - User"

There are list of available settings:

* "table_editor_style" : "simple"
* "table_editor_style" : "emacs"
* "table_editor_style" : "grid"

Simple Style
Code: Select all
    |-----------|-----|-----------|
    |    Name   | Age |   Phone   |
    |===========|=====|===========|
    | Anna      |  32 | 123456789 |
    |-----------|-----|-----------|   
    | Alexander |  28 | 987654321 |
    |-----------|-----|-----------|   



Emacs Style
Code: Select all
    |-----------+-----+-----------|
    |    Name   | Age |   Phone   |
    |===========+=====+===========|
    | Anna      |  32 | 123456789 |
    |-----------+-----+-----------|
    | Alexander |  28 | 987654321 |
    |-----------+-----+-----------|


Grid Style
Code: Select all
    +-----------+-----+-----------+
    |    Name   | Age |   Phone   |
    +===========+=====+===========+
    | Anna      |  32 | 123456789 |
    +-----------+-----+-----------+
    | Alexander |  28 | 987654321 |
    +-----------+-----+-----------+


There is relative big change since version 0.10.0 , I tested main cases and looks that all works , but let me know if you find bug. The best way for report bug is add an issue to project https://github.com/vkocubinsky/SublimeTableEditor


Thanks!
vkocubinsky
 
Posts: 6
Joined: Wed Aug 29, 2012 5:58 am

Re: SublimeTableEditor

Postby aksdb on Fri Oct 19, 2012 9:42 am

Awesome! My first tests went pretty well. Thank you sooo much :-)
aksdb
 
Posts: 6
Joined: Wed Aug 22, 2012 1:23 pm

Re: SublimeTableEditor

Postby vkocubinsky on Thu Nov 01, 2012 7:41 am

Table Editor 1.0.0 GA is available!

Thanks!
vkocubinsky
 
Posts: 6
Joined: Wed Aug 29, 2012 5:58 am

Re: SublimeTableEditor

Postby vkocubinsky on Sun Nov 11, 2012 3:28 pm

I have released Table Editor 1.1.0.

There are new features:

- predefined table syntax for some wiki syntax
- auto detect table syntax by view syntax
- switch between different table syntax on the fly with command palette
- support MultiMarkdown column alignment ":---", ":---:", "---:"

For more detail look on the documentation https://github.com/vkocubinsky/SublimeTableEditor

If you using table_editor_style settings, all will work correct, but this settings declared as deprecated
and new preffered way to say Table Editor about table syntax is use table_editor_syntax
Code: Select all
{
   // Set table syntax for Table Editor.
   // Valid options are: "Auto", "Simple", "EmacsOrgMode", "Pandoc", "MultiMarkdown",
   //                  "reStructuredText", "Textile"
   //"table_editor_syntax": "Auto"
}


By default table_editor_syntax is Auto. Auto value detect table syntax by view syntax with next rules:

- Markdown, MultiMarkdown -> MultiMarkdown
- reStructuredText -> reStructuredText
- Textile -> Textile
- Other -> Simple

Thanks!
vkocubinsky
 
Posts: 6
Joined: Wed Aug 29, 2012 5:58 am

Next

Return to Plugin Announcements

Who is online

Users browsing this forum: No registered users and 5 guests