-
Notifications
You must be signed in to change notification settings - Fork 17
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
updateTargets API #152
Comments
Given that the rest of the API works via FilePaths, I would have thought FilePath would be used here too. The main reason I think that would be necessary would be when dealing with multiple Main modules; if the API is ModuleName-based, how will ide-backend know which file to focus on? |
@snoyberg So you're opting for updateTargets :: Maybe [FilePath] -> IdeSessionUpdate () If so, I can easily change the API (and I should do that before releasing). |
That's what I think makes sense given our goals here. If you think I'm misunderstanding a use case, please let me know. |
No, that makes perfect sense. I'll make that change. |
From 0.8
ide-backend
supports anupdateTargets
functionality, which makes it possible to only compile certain modules. At the moment this has typeone could also envision
or
The text was updated successfully, but these errors were encountered: