File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
src/providers/FileSystemPovider Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 286
286
},
287
287
{
288
288
"command" : " vscode-objectscript.serverCommands.contextSourceControl" ,
289
- "when" : " resourceScheme == isfs && editorLangId =~ /^objectscript/ && vscode-objectscript.connectActive" ,
289
+ "when" : " resourceScheme == isfs && vscode-objectscript.connectActive" ,
290
290
"group" : " objectscript@4"
291
291
},
292
292
{
293
293
"command" : " vscode-objectscript.serverCommands.contextOther" ,
294
- "when" : " resourceScheme =~ /^isfs(-readonly)?$/ && editorLangId =~ /^objectscript/ && vscode-objectscript.connectActive" ,
294
+ "when" : " resourceScheme =~ /^isfs(-readonly)?$/ && vscode-objectscript.connectActive" ,
295
295
"group" : " objectscript@5"
296
296
}
297
297
],
337
337
},
338
338
{
339
339
"command" : " vscode-objectscript.serverCommands.contextSourceControl" ,
340
- "when" : " resourceScheme == isfs && resourceLangId =~ /^objectscript/ && vscode-objectscript.connectActive" ,
340
+ "when" : " resourceScheme == isfs && vscode-objectscript.connectActive" ,
341
341
"group" : " objectscript@2"
342
342
},
343
343
{
344
344
"command" : " vscode-objectscript.serverCommands.contextOther" ,
345
- "when" : " resourceScheme =~ /^isfs(-readonly)?$/ && resourceLangId =~ /^objectscript/ && vscode-objectscript.connectActive" ,
345
+ "when" : " resourceScheme =~ /^isfs(-readonly)?$/ && vscode-objectscript.connectActive" ,
346
346
"group" : " objectscript@3"
347
347
}
348
348
]
Original file line number Diff line number Diff line change @@ -281,9 +281,6 @@ export class FileSystemProvider implements vscode.FileSystemProvider {
281
281
const { query } = url . parse ( decodeURIComponent ( uri . toString ( ) ) , true ) ;
282
282
const csp = query . csp === "" || query . csp === "1" ;
283
283
const fileName = csp ? uri . path : uri . path . slice ( 1 ) . replace ( / \/ / g, "." ) ;
284
- if ( ! csp && ! fileName . match ( / \. ( c l s | m a c | i n t | i n c | d f i | b p l ) $ / i) ) {
285
- throw vscode . FileSystemError . FileNotFound ( ) ;
286
- }
287
284
const name = path . basename ( uri . path ) ;
288
285
const api = new AtelierAPI ( uri ) ;
289
286
return api
You can’t perform that action at this time.
0 commit comments