errata-ai / vale-vscode

A Visual Studio Code extension for the Vale CLI.
https://marketplace.visualstudio.com/items?itemName=errata-ai.vale-server
MIT License
53 stars 18 forks source link

Add ability to import pre-built styles #15

Open ChrisChinchilla opened 3 years ago

ChrisChinchilla commented 3 years ago

Transferred from https://github.com/testthedocs/vscode-vale/issues/20

This may step on the toes of Vale Server, or be better served by adding a feature to Vale CLI, but we could consider adding the ability to import styles into editor plugins if not, as it helps people get started.

pedrosousa commented 3 years ago

This functionality seems to be available in the vale GitHub action, but I couldn't find the vale install command in the open-source version of Vale; it seems that it's only present in the vale binary of the jdkato/vale Docker image, probably compiled from a different repository, with some closed-source methods. I started implementing this functionality myself in the past, but I abandoned it later—my Go skills are only "beginner level", and there were a few edge cases to consider—, and ended up creating a separate tool for this purpose.

In my opinion, it would be great to have this feature in the open-source version of the Vale CLI, which then the VSCode extension could leverage.