asciidoctor / asciidoctor-vscode

AsciiDoc support for Visual Studio Code using Asciidoctor
Other
326 stars 98 forks source link

Enable VSCode Variables in settings #288

Open Dedeou31 opened 4 years ago

Dedeou31 commented 4 years ago

First, thanks for this extension, this is GREAT...

Is your feature request related to a problem? Please describe

Yes for the setting: asciidoc.asciidoctor_command: I would like to give a relative path or use a VSCode variable as promoted here https://code.visualstudio.com/docs/editor/variables-reference

Describe the solution you'd like

For example, I would like to put in "asciidoc.asciidoctor_command" settings : ${workspaceFolder}/myPathToAsciidcor/launch_asciidoc

I can see that for the setting path to user css, we can have a related path from workspace folder: asciidoc.preview.style: ./myPathToAsciidcor/launch_asciidoc

danyill commented 4 years ago

@Dedeou31 glad you're enjoying this extension.

I think that's would be a great feature and if you're able to help a PR would really get this moving otherwise I'll hope to get to it before too long but there's a few things in my queue :wink:

Dedeou31 commented 3 years ago

Hi. I just tried to understand how to help you but it seems that the extension is to complex for me... ;-)

Please could you have a look to enable this feature? I mean, at least to have the possibility to have relative path to "asciidoc.asciidoctor_command" setting as it is done for "asciidoc.preview.style" setting.

Thanks in advance