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 290290 },
291291 {
292292 "command" : " vscode-objectscript.serverCommands.contextSourceControl" ,
293- "when" : " resourceScheme == isfs && editorLangId =~ /^objectscript/ && vscode-objectscript.connectActive" ,
293+ "when" : " resourceScheme == isfs && vscode-objectscript.connectActive" ,
294294 "group" : " objectscript@4"
295295 },
296296 {
297297 "command" : " vscode-objectscript.serverCommands.contextOther" ,
298- "when" : " resourceScheme =~ /^isfs(-readonly)?$/ && editorLangId =~ /^objectscript/ && vscode-objectscript.connectActive" ,
298+ "when" : " resourceScheme =~ /^isfs(-readonly)?$/ && vscode-objectscript.connectActive" ,
299299 "group" : " objectscript@5"
300300 }
301301 ],
341341 },
342342 {
343343 "command" : " vscode-objectscript.serverCommands.contextSourceControl" ,
344- "when" : " resourceScheme == isfs && resourceLangId =~ /^objectscript/ && vscode-objectscript.connectActive" ,
344+ "when" : " resourceScheme == isfs && vscode-objectscript.connectActive" ,
345345 "group" : " objectscript@2"
346346 },
347347 {
348348 "command" : " vscode-objectscript.serverCommands.contextOther" ,
349- "when" : " resourceScheme =~ /^isfs(-readonly)?$/ && resourceLangId =~ /^objectscript/ && vscode-objectscript.connectActive" ,
349+ "when" : " resourceScheme =~ /^isfs(-readonly)?$/ && vscode-objectscript.connectActive" ,
350350 "group" : " objectscript@3"
351351 }
352352 ]
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