You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be useful if there was an API to add diagnostic markers to script files so that any editor command could add "squigglies" to arbitrary regions of an open file. Markers would be added in relation to a named "layer" which would allow Editor Services to keep track of a unique set of markers for each module or use case.
It would be useful if there was an API to add diagnostic markers to script files so that any editor command could add "squigglies" to arbitrary regions of an open file. Markers would be added in relation to a named "layer" which would allow Editor Services to keep track of a unique set of markers for each module or use case.
The API might look something like this:
We should also provide an API for clearing markers, either for a specific layer or for all layers:
Once this API exists, I'll use it to implement the new integration model for PSScriptAnalyzer in issue #213.
FEEDBACK NEEDED: Is
SetMarkers
good enough or should it beSetFileMarkers
,SetDiagnosticMarkers
or something else?The text was updated successfully, but these errors were encountered: