intersystems-community / vscode-objectscript

InterSystems ObjectScript extension for Visual Studio Code
https://docs.intersystems.com/components/csp/docbook/DocBook.UI.Page.cls?KEY=GVSCO
Other
108 stars 49 forks source link

Support trailing slash in `isfs` directory URIs #1357

Closed isc-bsaviano closed 6 months ago

isc-bsaviano commented 6 months ago

Our FileSystemProvider currently only supports directory URIs that don't end with a slash (for example, isfs://iris:USER/User works but isfs://iris:USER/User/ always returns no contents). This PR fixes that bug by removing the trailing slash during processing if it's present. This bug is most clearly seen when trying to open a file using Ctrl-O. The Simple File dialog is shown, and when you try to see the contents of a directory that you haven't already expanded in the File Explorer, you get no results.