SublimeTableEditor icon indicating copy to clipboard operation
SublimeTableEditor copied to clipboard

Allow setting table syntax for current syntax

Open jmatsushita opened this issue 11 years ago • 1 comments

It would be good to set the table syntax as the default for a given syntax. Right now for instance, if I reopen a MultiMarkdown file the default table syntax will not be "MultiMarkdown" so I have to make the change each time for each view.

jmatsushita avatar Dec 18 '13 10:12 jmatsushita

It should work see "Set Table Syntax" section in documentation, but probably your case is specific.

Could you describe your version sublime? Please check do you have syntax specific settings in your User files MultiMarkdown.sublime-settings, Markdown.sublime-settings. If you switched Table syntax with palette for the view just switch it back.

Table Editor detect table syntax by wiki syntax see "Set Table Syntax" section in documentation. I open file with extension .md and Table Editor detect table syntax as Markdown. You can override it if specify syntax specific setting Markdown.sublime-settings or MultiMarkdown.sublime-settings. For example if you preferred pandoc table syntax over markdown syntax your Markdown.sublime-settings should be

{
    "enable_table_editor": true,
    "table_editor_syntax": "Pandoc"
}

vkocubinsky avatar Dec 18 '13 11:12 vkocubinsky