asciidoctor / asciidoctor-vscode

AsciiDoc support for Visual Studio Code using Asciidoctor
Other
337 stars 97 forks source link

Create a toolbar with all asciidoc tags #86

Open Riduidel opened 6 years ago

Riduidel commented 6 years ago

Other Asciidoc editors, like as an example AsciidoctorFX provide a button bar with useful asciidoc tags. Could it be possible to have in your extension, as a toolbar or a menu entry ?

joaompinto commented 6 years ago

I need to research on this, it would help if we can find some other vscode extension which provides this kind of interface.

Riduidel commented 6 years ago

I'm thinking it may not be totally possible to have a working toolbar (consider this issue https://github.com/Microsoft/vscode/issues/41309). If not possible, maybe a floating button bar ? Or - even better - use the side panel for that ! Seems like extensions like https://github.com/SamVerschueren/vscode-yo or https://github.com/DonJayamanne/listFilesVSCode contribute such panels

MatteoCampinoti94 commented 5 years ago

@Riduidel @joaompinto There are these extensions that might just do the trick: statusbar-commands by anweber vscode-commandbar by gsppvo They seem to be easy enough to configure.

On the other hand wouldn't a separate extension be a better solution? It'd be easier to maintain. It could use asciidoctor-vscode as dependency, or even better it might be made to work with markdown as well. Basic syntax works similarly after all (prefixes for headers, surrounding tags for formatting, etc...).