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

Add Extension setting for additional compiler arguments #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ZeWaka
Copy link

@ZeWaka ZeWaka commented Jan 3, 2023

Adds a setting so people can specify --suppress-unimplemented and other compiler arguments while using the debugger.

Works great:
image

@SpaceManiac
Copy link
Collaborator

Thoughts on how this compares to other possible storage locations?

  • Stored as part of the build task configuration
  • Stored as part of the project rather than VSC-specific

@ZeWaka
Copy link
Author

ZeWaka commented Jan 4, 2023

Thoughts on how this compares to other possible storage locations?

My main thinking with this is that this is how Rust Analyzer does it, and it's probably the simplest method. With how VSC uses the settings, this can be set for the workspace/folder as well, which could be used to specify flags codebases want to use in the future if we don't create a config file of sorts.

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 this pull request may close these issues.

2 participants