You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thinking about the various editors (Atom, Sublime, VS Code) and how they should present options to the user. I've not used Sublime or VS Code and I'm not 100% sure how the integrations with all of the packages will work there. But with Atom Beautify it sounds like the direction we're taking is to have each beautifier be it's own Atom package. So beautifier-prettier here would have to be installed as an Atom package for it to be used by Atom Beautify.
I have no idea how to take those options and "look them up" in Unibeautify's OptionsRegistry to get the title, description, etc, so if that's the direction to take I would need some guidance there.
Thoughts/feedback?
The text was updated successfully, but these errors were encountered:
This works for Atom because it has a Services API: http://blog.atom.io/2015/03/25/new-services-API.html
However, VS Code and Sublime do not have such a feature. I was thinking we would utilize some form of discovery like https://github.com/Unibeautify/unibeautify-cli uses. Similar to Atom users installing individual beautifiers as Atom/apm packages, VS Code and Sublime users would install the Node.js/npm version of the beautifiers package and use those.
Unibeautify itself will have a new configuration file format, .unibeautifyrc (using https://github.com/davidtheclark/cosmiconfig ) and will include choosing which beautifiers to apply.
Thinking about the various editors (Atom, Sublime, VS Code) and how they should present options to the user. I've not used Sublime or VS Code and I'm not 100% sure how the integrations with all of the packages will work there. But with Atom Beautify it sounds like the direction we're taking is to have each beautifier be it's own Atom package. So beautifier-prettier here would have to be installed as an Atom package for it to be used by Atom Beautify.
This presents an opportunity to spread the options out per beautifier versus cramming them all into Atom Beautify, so the beautifier-prettier package would show all of the options listed https://github.com/Unibeautify/beautifier-prettier/blob/master/src/index.ts#L11-L60.
I have no idea how to take those options and "look them up" in Unibeautify's OptionsRegistry to get the title, description, etc, so if that's the direction to take I would need some guidance there.
Thoughts/feedback?
The text was updated successfully, but these errors were encountered: