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

How to translate configs from other packages #250

Open
autoferrit opened this issue Jan 11, 2017 · 2 comments
Open

How to translate configs from other packages #250

autoferrit opened this issue Jan 11, 2017 · 2 comments

Comments

@autoferrit
Copy link

I would like to know how I can translate configs from other plugins, to use inside of .proton. Here are some examples

'linter-php':
  # php path. run 'which php' to find the path 
  'executablePath': /usr/bin/php

theres also others which dont state what the config value is, only showing the traditional settings page. Such as on

https://github.com/Peekmo/atom-autocomplete-php

@jackcasey
Copy link
Contributor

I just do it by hand; ie in this case:

["linter-php.executablePath" "/usr/bin/php"]

In the latter case try changing the option to some non-default value and then look in your atom config.cson. It should be in there until you restart atom and proton nukes it. So you can get it from there and change it by hand and insert it into .proton.

@dvcrn
Copy link
Owner

dvcrn commented Jan 11, 2017

A automatic translation would be great, but doesn't exist yet. The easiest way is to adjust your package through the UI, open the atom config and copy the keys you modified. The defaults can stay defaults so you don't have to put them into your .proton.

If you really want the defaults as well, check the repository of the package you are converting

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

No branches or pull requests

3 participants