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

Improve table handling in AsciiDoc Editor #1256

Open
ahus1 opened this issue Dec 17, 2022 · 1 comment
Open

Improve table handling in AsciiDoc Editor #1256

ahus1 opened this issue Dec 17, 2022 · 1 comment

Comments

@ahus1
Copy link
Contributor

ahus1 commented Dec 17, 2022

Why the new feature should be added

When handling tables, it should be possible to add columns and rows to a table.

The Markdown plugin for IntelliJ already supports this.

Current alternatives

To handle large tables, it might be beneficial to use a separate file, for example with comma separated values. See https://docs.asciidoctor.org/asciidoc/latest/tables/data-format/ for details.

Example:

[format=csv]
|===
include::test.csv[]
|===
a,b,c

1,2,3
4,5,6

This is rendered as follows:

image

Such a CSV file can be edited in IntelliJ with the already included editor of CSVs. Click on the "Data" tab at the bottom. In this editor, all the desired features to work with the table are available.

image

How the new feature should work

Using a context menu or a UI element, the user should be able to:

  • add column above/below
  • add row above/below
  • move column left/right
  • select row/column
@ahus1
Copy link
Contributor Author

ahus1 commented Dec 21, 2022

There are now docs describing how the AsciiDoc IntelliJ plugin can be used to handle tables: https://intellij-asciidoc-plugin.ahus1.de/docs/users-guide/technical-writing/using-tables-in-a-project.html

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

No branches or pull requests

1 participant