Go to file cannot find newly added source member
Steps:
- Use CPYF and add member to QRPGLESRC
- Refresh VSCode object browser
- Use Go To File (Ctrl+Alt+P)
- Look for new member ..../QRPGLESRC/NewMember
Expected result: New member to show Actual behavior: Member no show
- QCCSID: 37
- Features enabled:
- git: true
- grep: false
- tn5250: false
- setccsid: true
- GENCMDXML.PGM: false
- QZDFMDB2.PGM: true
- iconv: true
- attr: true
- SQL enabled: true
- Source dates enabled: false
[
{
"command": "system \"CRTLIB LIB(ISEDEV) TEXT('Code for i temporary objects. May be cleared.')\"",
"code": 255,
"stderr": "CPF2111: Library ISEDEV already exists.",
"cwd": "/home/ISE1"
},
{
"command": "system \"CHKOBJ OBJ(QSYS/QCPTOIMPF) OBJTYPE(*DTAARA)\"",
"code": 255,
"stderr": "CPF9801: Object QCPTOIMPF in library QSYS not found.",
"cwd": "/home/ISE1"
},
{
"command": "system \"CHKOBJ OBJ(QSYS/QCPFRMIMPF) OBJTYPE(*DTAARA)\"",
"code": 255,
"stderr": "CPF9801: Object QCPFRMIMPF in library QSYS not found.",
"cwd": "/home/ISE1"
}
]
Gotta make sure the list gets updated when a member (or streamfile) gets created!
What's the list? Also how do I do that? I tried the refresh button a couple of times
On Fri, 8 Jul 2022, 6:38 am barry, @.***> wrote:
Gotta make sure the list gets updated when a member (or streamfile) gets created!
— Reply to this email directly, view it on GitHub https://github.com/halcyon-tech/vscode-ibmi/issues/722#issuecomment-1178322165, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALTAETFEDEPKKYTJJI7NZMTVS5L5JANCNFSM5ZV54CTA . You are receiving this because you authored the thread.Message ID: @.***>
@DgitalTrex sorry, that was more of a note to self!
For the time being, the bottom of the file list should have the ability to clear all the entries, and then when you open the source file again the list to should fix itself.
@DgitalTrex Currently, the search in the "Go To File" option is based on the list of the object browser. So when creating a source directly on the 5250 interface, the file does not appear in this list. It is necessary to update the contents via the button "Refresh Object Browser".
A solution would be to load a file by entering directly the path (Library / File / Member).
Like this:

@worksofliam I test it on my repo and it work fine.
I create the PR #833 for this issue.