Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable Word Wrap for Tables #1468

Open
cloudyparts opened this issue Oct 8, 2024 · 0 comments
Open

Disable Word Wrap for Tables #1468

cloudyparts opened this issue Oct 8, 2024 · 0 comments

Comments

@cloudyparts
Copy link

Feature Request: Disable Word Wrap for Tables

Thank You

Thank you for this extension! It has been extremely useful and helpful, especially the tabular auto-formatting.

Proposal

"[markdown]": {
    "editor.wordWrap": "on",
    "editor.wordWrapColumn": 110
}

Is it possible for the wordWrap configuration to apply to everything except tables?

Alternative Suggestion:

If applying this change globally is not feasible, I propose adding a new setting to toggle this behavior specifically for tables:

"[markdown]": {
    "editor.formatOnSave": true,
    "editor.wordWrap": "on",
    "editor.wordWrapTable": "off",   // New configuration to disable word wrap for tables
    "editor.wordWrapColumn": 110
}

Other Information

While the auto-formatting for tables is fantastic, it currently doesn't integrate well with word wrap settings. Tables are wrapped alongside regular text, which makes it difficult to edit tabular content—particularly in documents with larger tables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant