rpeshkov / vscode-text-tables

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

Table Mode remains active after switching to other tabs #22

Closed nkrapivnitskiy closed 6 years ago

nkrapivnitskiy commented 6 years ago

After editing table in documentation I switched to other editor tab with some code and then Tab and Shift+Tab stopped working. It took some time to understand that problem was caused by enabled table mode.

Looks like Table Mode is enabled globally in vscode after its activation.

Is it possible to bind table mode to concrete editor tab, where it was activated or maybe to markdown files only?

If that global behavior is normal, maybe add setting, that makes table mode bound to single editor tab or markdown files only.

rpeshkov commented 6 years ago

Hi @eisenchorn. Totally agree, table mode should not be global. Each editor should have its state. I'll take a look on this issue and try to fix this behaviour in the nearest update. Or, if you want, you can make a PR for this. Contributions are welcome :)