vkocubinsky / SublimeTableEditor

This package is no more supported. I moved to vim.
Other
494 stars 67 forks source link

[Bug] Not worked custom column alignment for me #60

Open Kristinita opened 7 years ago

Kristinita commented 7 years ago

Summary

Custom column alignment not worked for me.

Expected behavior

| column 1 | column 2 | column 3 |
| >>>>>>>> | <<<<<<<< | ######## |
|----------|----------|----------|
|    row 1 | 1        |    c1    |
|    row 2 | 2        |    c2    |
|    row 3 | 3        |    c3    |

Actual behavior

| column 1 | column 2 | column 3 |
| >>>>>>>> | <<<<<<<< | ######## |
|----------|----------|----------|
|        1 |    row 1 |      c1  |
|        2 |    row 2 |      c2  |
|        3 |    row 3 |      c3  |

Steps to reproduce

My sublime-settings file:

{
    "enable_table_editor": true,
    "extensions":
    [
        "kira"
    ],
    "table_editor_align_number_right": false,
    "table_editor_border_style": "simple",
    "table_editor_custom_column_alignment": true,
    "table_editor_detect_header": true,
    "table_editor_keep_space_left": true,
    "table_editor_syntax": "Simple"
}

In file with extension kira I insert table

| column 1 | column 2 | column 3 |
| >>>>>>>> | <<<<<<<< | ######## |
|----------|----------|----------|
| 1        |    row 1 |    c1    |
| 2        |    row 2 |    c2    |
| 3        |    row 3 |    c3    |

I move at my table use Tab and Shift+Tab. I get actual behavior, not extended behavior. All columns align to right.

Environment

Operating system and version: Windows 10.0.14393 Sublime Text: Build 3126

Thanks.