Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Changed CodeInspector.inspectFile to accept provider.scanFile functions that return the result via a promise #6606

Closed
wants to merge 1 commit into from
Closed

Conversation

jdiehl
Copy link
Contributor

@jdiehl jdiehl commented Jan 21, 2014

This change enables third party extensions to use the CodeInspector APIs to report errors from external compilers that are triggered via node and thus must be run asynchronously. The change retains backwards compatibility.

@jdiehl
Copy link
Contributor Author

jdiehl commented Jan 21, 2014

This change would in particular allow the less-autocompile extension to perform proper error reporting.

@busykai
Copy link
Contributor

busykai commented Jan 21, 2014

Good to see that there are many needing this. #5137 and some other were filed against the same problem. Currently there's a PR #6530 pending to accomplish the same (uses slightly different approach).

@jdiehl
Copy link
Contributor Author

jdiehl commented Jan 22, 2014

Sorry for not checking the issues for a similar item. I will leave the pull request open for reference. Feel free to close it when it becomes redundant.

@ghost ghost assigned peterflynn Jan 24, 2014
@ingorichter
Copy link
Contributor

@jdiehl Thanks for your contribution. I'm going to close this PR in favor of #6530 since the PR provides the same functionality and we have unit tests for the new behavior.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants