Comments (5)
@ahorn42 I’ll look into it when I have some free time. Maybe tonight.
from vscode-markdown-table-formatter.
I can trigger it with the following input
| a | a | a | a |
|-|-|
| bb | bb |
IIRC this worked some version ago - but maybe this is only thinking of wishes :D
from vscode-markdown-table-formatter.
On this particular case the table is not properly structured since the header has four columns and the alignment and body has only two. If you paste this table on GitHub it won't format as well.
I guess I could add a little more descriptive message, but I don't see how this is a table that the extension should format.
If you can show me how this is an important feature I could try to add a configuration like: "Allow empty columns", in that case the last two columns would be empty and the table would format as.
a | a | a | a |
---|---|---|---|
bb | bb |
from vscode-markdown-table-formatter.
thanks for your reply and having a look at it! - and yes, a more descriptive error message would be nice - this sound more like something went critically wrong ;-)
I am not sure, but I think a least something like
| a | a | a | a |
|-|-|-|-|
| bb | bb |
was expanded automatically in the past? - But I would really enjoy this feature. But I am not sure what would be better, to have look at the header row or at the headerrow and the row after. Because if only looking at the header row you might also catch some |
-separeted strings and format them as a table :D
Or maybe trigger on something like:
| a | a | a | a |
|-|
to automatically prepare a table with four columns?
from vscode-markdown-table-formatter.
Added some better erro message on 2.0.4 but I'll leave this open to track any improvement or implementation of that feature.
from vscode-markdown-table-formatter.
Related Issues (20)
- Installation Problem HOT 4
- unable to format single column tables
- Formatting removes indentation of tables HOT 1
- Add an option to choose table separators spacing HOT 3
- Extension causes high cpu load HOT 10
- Numeric sort in tables HOT 4
- Unable to format with extension HOT 8
- First and last pipe are not kept when sorting HOT 1
- Open VSX HOT 2
- Backtick ` causes skipped cell HOT 1
- Mis-detecting code block as table HOT 1
- Feature Request: Add CodeLens to format table
- Doesn't work HOT 2
- Support heading separator with Spaces/Tabs HOT 6
- Feature request: Limit Last Column Width tied to header, not wordWrapColumn HOT 2
- Sort - Ignore Case HOT 2
- Add "sort" in actions - available via command palette HOT 1
- Wrong whitespace padding when formatting content with emojis
- apply on other plain-text tables too? HOT 1
- Feature request: jump to next column and format the table on [Tab] pressed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-markdown-table-formatter.