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

[QUESTION] Editing the default settings.json #26

Closed
KawaGeo opened this issue Jun 12, 2020 · 6 comments
Closed

[QUESTION] Editing the default settings.json #26

KawaGeo opened this issue Jun 12, 2020 · 6 comments
Assignees

Comments

@KawaGeo
Copy link

KawaGeo commented Jun 12, 2020

How do we edit the default settings.json so that we don't have to edit the settings.json every time we create a new project?

@KawaGeo KawaGeo changed the title [QUESTION] Editting default Vsettings.jsonS Code [QUESTION] Editing the default settings.json Jun 12, 2020
@drewwhis
Copy link
Owner

That's something that's managed by the LEGO MINDSTORMS EV3 MicroPython extension. You would have to find where that extension stores the template for the settings.json file and edit the template.

@drewwhis
Copy link
Owner

drewwhis commented Jun 12, 2020

If you're on Windows, it's in %USERPROFILE%\.vscode\extensions\lego-education.ev3-micropython-2.0.0\resources\template\.vscode

@KawaGeo
Copy link
Author

KawaGeo commented Jun 12, 2020 via email

@drewwhis
Copy link
Owner

So, to confirm:

  1. You edited the settings.json file in %USERPROFILE%\.vscode\extensions\lego-education.ev3-micropython-2.0.0\resources\template\.vscode to change the setting.
  2. You created a new project after making that change.
  3. The new project's settings file did not have the setting you put in the template.

Is that correct?

@drewwhis
Copy link
Owner

Ah, looks like that isn't the file that gets used.

You'd need to edit the settings.json file in this directory instead: %USERPROFILE%\.vscode\extensions\lego-education.ev3-micropython-2.0.0\resources\projects\new_project\.vscode

That's not what I'd expect, but that seems to work.

@KawaGeo
Copy link
Author

KawaGeo commented Jun 12, 2020 via email

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

2 participants