File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
workbench/contrib/markers/browser Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -200,10 +200,6 @@ export class MarkerService implements IMarkerService {
200
200
tags,
201
201
} = data ;
202
202
203
- if ( unsupportedSchemas . has ( resource . scheme ) ) {
204
- return undefined ;
205
- }
206
-
207
203
if ( ! message ) {
208
204
return undefined ;
209
205
}
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import { Hasher } from 'vs/base/common/hash';
14
14
import { withUndefinedAsNull } from 'vs/base/common/types' ;
15
15
import { splitLines } from 'vs/base/common/strings' ;
16
16
import { IMatch } from 'vs/base/common/filters' ;
17
+ import { unsupportedSchemas } from 'vs/platform/markers/common/markerService' ;
17
18
18
19
export type MarkerElement = ResourceMarkers | Marker | RelatedInformation ;
19
20
@@ -189,6 +190,10 @@ export class MarkersModel {
189
190
const change : MarkerChangesEvent = { added : new Set ( ) , removed : new Set ( ) , updated : new Set ( ) } ;
190
191
for ( const [ resource , rawMarkers ] of resourcesMarkers ) {
191
192
193
+ if ( unsupportedSchemas . has ( resource . scheme ) ) {
194
+ continue ;
195
+ }
196
+
192
197
const key = extUri . getComparisonKey ( resource , true ) ;
193
198
let resourceMarkers = this . resourcesByUri . get ( key ) ;
194
199
You can’t perform that action at this time.
0 commit comments