I finally figured out how we can get QSYS into the standard VS Code explorer.
QsysFs could support two styles of paths:
member:/ which returns all objects in the QSYS library (the current implementation)
member:/librarylist which returns on the objects in QSYS that are on the configured library list
This means supporting all URLs like this:
/SNDBX87 could also be /librarylist/SNDNX87
/SNDBX87/QRPGLESRC could also be /librarylist/SNDBX87/QRPGLESRC
/SNDBX87/QRPGLESRC/HELLOWORLD.RPGLE could also be /librarylist/SNDBX87/QRPGLESRC/HELLOWORLD.RPGLE
I don't think it will be a lot of work to implement:
readDirectory needs to have a filter if it is '/librarylist' and trying to fetch all objects from QSYS
- Other methods don't have to do any special logic other than strip out the
/librarylist
(also, it doesn't have to be /librarylist, it could be anything: /libl, /ibmi, etc)
I finally figured out how we can get QSYS into the standard VS Code explorer.
QsysFscould support two styles of paths:member:/which returns all objects in the QSYS library (the current implementation)member:/librarylistwhich returns on the objects in QSYS that are on the configured library listThis means supporting all URLs like this:
/SNDBX87could also be/librarylist/SNDNX87/SNDBX87/QRPGLESRCcould also be/librarylist/SNDBX87/QRPGLESRC/SNDBX87/QRPGLESRC/HELLOWORLD.RPGLEcould also be/librarylist/SNDBX87/QRPGLESRC/HELLOWORLD.RPGLEI don't think it will be a lot of work to implement:
readDirectoryneeds to have a filter if it is '/librarylist' and trying to fetch all objects from QSYS/librarylist(also, it doesn't have to be
/librarylist, it could be anything:/libl,/ibmi, etc)