CPF3064: Library ILEDITOR not found - when adding new source file
See original GitHub issueI’m on 0.2.3. The issue occurs after I add a new source file, then try to expand it.
If I exit VSCODE and restart it, the problem is fixed and I can expand the source file.
Note also that while trying to document this issue I have managed to add QPRGLESRC several times. This occurred because I added it, but it didn’t show up. I then added it twice more without it showing up. Finally, when I added QDDSSRC, the three QRPGLESRCs showed up. Timing issue maybe…
I’ve been on various earlier releases and I understand that things are improving rapidly. Thus my settings.json file is somewhat messy which might be contributing to this problem. There are a lot of lines in low intensity which I believe means they are not referenced and one of these is "“code-for-ibmi.temporaryLibrary” which was an earlier setting… I see that now that library lists are connection specific (a good change!) there I now have several “tempLibrary”: “ILEDITOR” lines.
Here’s my settings.json file:
Click to expand!
{
"telemetry.enableTelemetry": false,
"editor.renderControlCharacters": false,
"editor.fontFamily": "Cascadia Code, Inconsolata, Lucida Sans",
"editor.fontLigatures": false,
"editor.renderWhitespace": "none",
"editor.cursorStyle": "block",
"editor.minimap.enabled": false,
"terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\cmd.exe",
"window.zoomLevel": 0,
"update.mode": "start",
"compile-hero.disable-compile-files-on-did-save-code": false,
"compile-hero.generate-minified-html": true,
"[javascript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"code-for-ibmi.connections": [
{
"host": "pub400.com",
"port": 2222,
"username": "lennons"
},
{
"host": "ipublic.online",
"port": 2222,
"username": "lennons"
}
],
"code-for-ibmi.homeDirectory": "/home/lennons/qrpglesrc",
"code-for-ibmi.libraryList": "QSYS2,QSYSINC, LENNONS1",
"code-for-ibmi.logCompileOutput": true,
"code-for-ibmi.sourceFileList": [
"QSYSINC/H",
"lennons1/QTEMP",
"lennons1/QCLSRC",
"lennons1/qrpglesrc"
],
"code-for-ibmi.temporaryLibrary": "lennons2",
"code-for-ibmi.compileCommands": [
{
"fileSystem": "member",
"extensions": [
"rpgle",
"rpg"
],
"name": "CRTBNDRPG",
"command": "CRTBNDRPG PGM(&OPENLIB/&OPENMBR) SRCFILE(&OPENLIB/&OPENSPF) OPTION(*EVENTF) DBGVIEW(*SOURCE)"
},
{
"fileSystem": "member",
"extensions": [
"CLLE",
"CL"
],
"name": "CRTBNDCL",
"command": "CRTBNDCL PGM(&OPENLIB/&OPENMBR) SRCFILE(&OPENLIB/&OPENSPF) OPTION(*EVENTF) DBGVIEW(*SOURCE)"
},
{
"fileSystem": "member",
"extensions": [
"CLP"
],
"name": "CRTCLPGM",
"command": "CRTCLPGM PGM(&OPENLIB/&OPENMBR) SRCFILE(&OPENLIB/&OPENSPF) OPTION(*SOURCE) OUTPUT(*PRINT)"
}
],
"workbench.activityBar.iconClickBehavior": "focus",
"workbench.list.openMode": "doubleClick",
"code-for-ibmi.connectionSettings": [
{
"host": "pub400.com",
"sourceFileList": [
"QSYSINC/H",
"LENNONS1/TEMP"
],
"libraryList": [
"QSYS2",
"QSYSINC"
],
"homeDirectory": "/home/lennons",
"tempLibrary": "ILEDITOR",
"buildLibrary": "QTEMP"
},
{
"host": "ipublic.online",
"sourceFileList": [
"QSYSINC/QRPGLESRC",
"LENNONS1/TEMP",
"LENNONS1/QCLSRC",
"LENNONS1/QRPGLESRC",
"LENNONS1/QRPGLESRC",
"LENNONS1/QRPGLESRC",
"LENNONS1/QDDSSRC"
],
"libraryList": [
"QSYS2",
"QSYSINC"
],
"homeDirectory": "/home/lennons",
"tempLibrary": "ILEDITOR",
"buildLibrary": "QTEMP"
}
],
"code-for-ibmi.actions": [
{
"type": "member",
"extensions": [
"RPGLE",
"RPG"
],
"name": "Create Bound RPG Program (CRTBNDRPG)",
"command": "CRTBNDRPG PGM(&OPENLIB/&OPENMBR) SRCFILE(&OPENLIB/&OPENSPF) OPTION(*EVENTF) DBGVIEW(*SOURCE) TGTRLS(*CURRENT)"
},
{
"type": "member",
"extensions": [
"SQLRPGLE"
],
"name": "Create SQL ILE RPG Program (CRTSQLRPGI)",
"command": "?CRTSQLRPGI OBJ(&OPENLIB/&OPENMBR) SRCFILE(&OPENLIB/&OPENSPF) CLOSQLCSR(*ENDMOD) OPTION(*EVENTF) DBGVIEW(*SOURCE) TGTRLS(*CURRENT)"
},
{
"type": "member",
"extensions": [
"RPGLE",
"RPG"
],
"name": "Create RPG Module (CRTRPGMOD)",
"command": "?CRTRPGMOD MODULE(&OPENLIB/&OPENMBR) SRCFILE(&OPENLIB/&OPENSPF) OPTION(*EVENTF) DBGVIEW(*SOURCE) TGTRLS(*CURRENT)"
},
{
"type": "member",
"extensions": [
"CMD"
],
"name": "Create Command (CRTCMD)",
"command": "?CRTCMD CMD(&OPENLIB/&OPNMBR) PGM(&OPNLIB/&OPNMBRC) SRCFILE(&OPENLIB/&OPENSPF) ALLOW(*ALL) CURLIB(*NOCHG) PRDLIB(*NOCHG)"
},
{
"type": "member",
"extensions": [
"CMD"
],
"name": "Create Command (Allow Return Variables - CRTCMD)",
"command": "?CRTCMD CMD(&OPENLIB/&OPNMBR) PGM(&OPNLIB/&OPNMBRC) SRCFILE(&OPENLIB/&OPENSPF) ALLOW(ALLOW(*BPGM *IPGM *BMOD *IMOD) ) CURLIB(*NOCHG) PRDLIB(*NOCHG)"
},
{
"type": "member",
"extensions": [
"pf",
"lf"
],
"name": "Delete File (DLTF)",
"command": "?DLTF FILE(&OPENLIB/&OPENMBR)"
},
{
"type": "member",
"extensions": [
"dspf"
],
"name": "Create Display File (CRTDSPF)",
"command": "?CRTDSPF FILE(&OPENLIB/&OPENMBR) SRCFILE(&OPENLIB/&OPENSPF) SRCMBR(&OPENMBR) RSTDSP(*NO) REPLACE(*YES)"
},
{
"type": "member",
"extensions": [
"pf"
],
"name": "Create Physical File (CRTPF)",
"command": "?CRTPF FILE(&OPENLIB/&OPENMBR) SRCFILE(&OPENLIB/&OPENSPF) SRCMBR(&OPENMBR) SIZE(*NOMAX) MAXMBRS(1)"
},
{
"type": "member",
"extensions": [
"lf"
],
"name": "Create :Logical File (CRTLF)",
"command": "?CRTLF FILE(&OPENLIB/&OPENMBR) SRCFILE(&OPENLIB/&OPENSPF)"
},
{
"type": "member",
"extensions": [
"CLP",
"CLLE"
],
"name": "Create CL Program (CRTCLP)",
"command": "?CRTCLPGM PGM(&OPENLIB/&OPENMBR) SRCFILE(&OPENLIB/&OPENSPF) OUTPUT(*PRINT) REPLACE(*YES)"
},
{
"type": "member",
"extensions": [
"CLP",
"CLLE"
],
"name": "Create Bound CL Program (CRTBNDCL)",
"command": "?CRTBNDCL PGM(&OPENLIB/&OPENMBR) SRCFILE(&OPENLIB/&OPENSPF) OPTION(*EVENTF) DBGVIEW(*SOURCE)"
},
{
"type": "member",
"extensions": [
"GLOBAL"
],
"name": "Create Program (CRTPGM)",
"command": "?CRTPGM PGM(&OPENLIB/&OPENMBR) MODULE(*PGM) ENTMOD(*FIRST) BNDSRVPGM(*NONE) BNDDIR(*NONE) ACTGRP(*ENTMOD) TGTRLS(*CURRENT)"
},
{
"type": "object",
"extensions": [
"GLOBAL"
],
"name": "Delete object",
"command": "?DLTOBJ OBJ(&LIBRARY/&NAME) OBJTYPE(*&TYPE)"
},
{
"type": "object",
"extensions": [
"pgm"
],
"name": "Call program",
"command": "?CALL &LIBRARY/&NAME"
}
]
}
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (8 by maintainers)
No problem with solving the temporary library issue.
(I uninstalled the app kind of hoping it would remove it’s items, cleaned up my settings.json manually when it didn’t, re-installed and edited settings.json. Good to go.)
@SJLennon thanks for the info. I may open another issue for that. I presume the issue with the temporary library is solved?