-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
ability to switch between build configurations #85
Comments
This is a long-standing bug in FSAC itself, actually - we only ever handle Debug configurations currently. I tried looking for an issue for this, but we don't have one right now. This is kind of a fundamental undertaking, and it would require a few different components the learn how to handle the different configurations:
so it's a bit of a project, but one worth doing. I'll try and write something up on proj-info to capture some of the use cases we'd need to support. |
I have this older PR that can be spruced up ionide/FsAutoComplete#1065 that is a start |
I'd be willing to chip him however I can! On the current state of things, checking that pr, I see |
Ah looks like that's just a local list. I thought it was being parsed from the env somehow: https://github.com/ionide/FsAutoComplete/blob/8d6120c78bbb64ea7bf764af109b21b855ac4d0a/src/FsAutoComplete.Core/Consts.fs#L7 |
I'd like to be able to switch between Debug and Release mode, to, for instance, see errors in branches guarded by
#if DEBUG
guards.Describe alternatives you've considered
I tried setting the configuration in the fsproj file, hoping that the change would be detected and read by fsautocomplete, but it had no effect. I'm not that familiar with the build format, so I may have not configured it correctly, or perhaps fsautocomplete isn't parsing that config.
The text was updated successfully, but these errors were encountered: