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

Prevent the plugin from constantly changing my .vscode/settings.json #194

Closed
skycaptain opened this issue Apr 10, 2024 · 2 comments · Fixed by #207
Closed

Prevent the plugin from constantly changing my .vscode/settings.json #194

skycaptain opened this issue Apr 10, 2024 · 2 comments · Fixed by #207

Comments

@skycaptain
Copy link

In my project, I use a .vscode/settings.json file. As I'm developing on a Mac and building in a Docker container, I appreciate the syntax highlighting that this extension provides. However, I would like to disable some of its additional features, such as editing the .vscode/settings.json file.

Since I build within a container, most of the added settings are either invalid (for example, paths in python.analysis.extraPaths) or conflict with my specific python formatting requirements. Currently, these issues compel me to either revert the changes before every commit or disable the extension altogether.

I've attempted to enable bitbake.disableEmbeddedLanguagesFiles and disable bitbake.parseOnSave, but unfortunately, these actions haven't resulted in the desired outcome.

@deribaucourt
Copy link
Member

deribaucourt commented Apr 12, 2024

Hi, thanks for your feedback!

A lot of extensions like us need to configure other extensions or vscode settings. This is a VSCode limitation that is requested a lot since 2017 but hasn't been fixed. microsoft/vscode#40233

We could implement a additional setting to disable any setting modification on our part though. Some of our features might be expected to now work if the settings are not how we want them though. So this should be properly explained in the documentation of the option.

@skycaptain
Copy link
Author

Having the option to disable any setting modifications would be great and would resolve this issue. Most other extensions I use typically refer to their documentation for guidance on how to optimally configure project settings for VSCode.

@deribaucourt deribaucourt linked a pull request Apr 25, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants