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 290
290
},
291
291
{
292
292
"command" : " vscode-objectscript.serverCommands.contextSourceControl" ,
293
- "when" : " resourceScheme == isfs && editorLangId =~ /^objectscript/ && vscode-objectscript.connectActive" ,
293
+ "when" : " resourceScheme == isfs && vscode-objectscript.connectActive" ,
294
294
"group" : " objectscript@4"
295
295
},
296
296
{
297
297
"command" : " vscode-objectscript.serverCommands.contextOther" ,
298
- "when" : " resourceScheme =~ /^isfs(-readonly)?$/ && editorLangId =~ /^objectscript/ && vscode-objectscript.connectActive" ,
298
+ "when" : " resourceScheme =~ /^isfs(-readonly)?$/ && vscode-objectscript.connectActive" ,
299
299
"group" : " objectscript@5"
300
300
}
301
301
],
341
341
},
342
342
{
343
343
"command" : " vscode-objectscript.serverCommands.contextSourceControl" ,
344
- "when" : " resourceScheme == isfs && resourceLangId =~ /^objectscript/ && vscode-objectscript.connectActive" ,
344
+ "when" : " resourceScheme == isfs && vscode-objectscript.connectActive" ,
345
345
"group" : " objectscript@2"
346
346
},
347
347
{
348
348
"command" : " vscode-objectscript.serverCommands.contextOther" ,
349
- "when" : " resourceScheme =~ /^isfs(-readonly)?$/ && resourceLangId =~ /^objectscript/ && vscode-objectscript.connectActive" ,
349
+ "when" : " resourceScheme =~ /^isfs(-readonly)?$/ && vscode-objectscript.connectActive" ,
350
350
"group" : " objectscript@3"
351
351
}
352
352
]
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