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

Any way to store extension configuration in vscode configuration #12142

Closed
shanalikhan opened this issue Sep 16, 2016 · 3 comments
Closed

Any way to store extension configuration in vscode configuration #12142

shanalikhan opened this issue Sep 16, 2016 · 3 comments
Assignees
Labels
info-needed Issue requires more information from poster

Comments

@shanalikhan
Copy link

Is there any way that i can store my extension settings that are in the JSon format and store in vscode own configuration rather then own file ?
and retrieve from there instead of my own JSON extension setting file ?

@bpasero
Copy link
Member

bpasero commented Sep 16, 2016

@shanalikhan you are asking for API from an extension to write to the settings.json file?

@bpasero bpasero added the info-needed Issue requires more information from poster label Sep 16, 2016
@shanalikhan
Copy link
Author

shanalikhan commented Sep 17, 2016

Actually my extension code setting sync uses simple extension own json file and write in that file and get all the information syncsettings.json

I just to know is there a possible way that i remove my own json file and instead write in vscode settings json file or any other code local storage and retrive that information to manage my extension rather then using my own json file
Does settings.json file support manual json which can be used by my extension

@bpasero
Copy link
Member

bpasero commented Sep 17, 2016

If you are providing configuration settings, you would benefit from #1396

If your JSON file is agnostic to the VS Code configuration story, then you can only use node.js APIs.

@bpasero bpasero closed this as completed Sep 17, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

3 participants