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 286286 },
287287 {
288288 "command" : " vscode-objectscript.serverCommands.contextSourceControl" ,
289- "when" : " resourceScheme == isfs && editorLangId =~ /^objectscript/ && vscode-objectscript.connectActive" ,
289+ "when" : " resourceScheme == isfs && vscode-objectscript.connectActive" ,
290290 "group" : " objectscript@4"
291291 },
292292 {
293293 "command" : " vscode-objectscript.serverCommands.contextOther" ,
294- "when" : " resourceScheme =~ /^isfs(-readonly)?$/ && editorLangId =~ /^objectscript/ && vscode-objectscript.connectActive" ,
294+ "when" : " resourceScheme =~ /^isfs(-readonly)?$/ && vscode-objectscript.connectActive" ,
295295 "group" : " objectscript@5"
296296 }
297297 ],
337337 },
338338 {
339339 "command" : " vscode-objectscript.serverCommands.contextSourceControl" ,
340- "when" : " resourceScheme == isfs && resourceLangId =~ /^objectscript/ && vscode-objectscript.connectActive" ,
340+ "when" : " resourceScheme == isfs && vscode-objectscript.connectActive" ,
341341 "group" : " objectscript@2"
342342 },
343343 {
344344 "command" : " vscode-objectscript.serverCommands.contextOther" ,
345- "when" : " resourceScheme =~ /^isfs(-readonly)?$/ && resourceLangId =~ /^objectscript/ && vscode-objectscript.connectActive" ,
345+ "when" : " resourceScheme =~ /^isfs(-readonly)?$/ && vscode-objectscript.connectActive" ,
346346 "group" : " objectscript@3"
347347 }
348348 ]
Original file line number Diff line number Diff line change @@ -281,9 +281,6 @@ export class FileSystemProvider implements vscode.FileSystemProvider {
281281 const { query } = url . parse ( decodeURIComponent ( uri . toString ( ) ) , true ) ;
282282 const csp = query . csp === "" || query . csp === "1" ;
283283 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- }
287284 const name = path . basename ( uri . path ) ;
288285 const api = new AtelierAPI ( uri ) ;
289286 return api
You can’t perform that action at this time.
0 commit comments