Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Object Browser filter - when hovering over a source file, reported info is sometimes incorrect #2295

Open
heymchri opened this issue Oct 17, 2024 · 2 comments
Labels
info-needed More information is requied from the issuer

Comments

@heymchri
Copy link

heymchri commented Oct 17, 2024

image
When hovering over a source file, if the file has a CCSID of 65535, the reported CCSID shows as 37.
Also, if a member was added outside of VS Code, upon taking the refresh option on the source file, the member count is not updated. It is only updated if the refresh option is taken on the filter.
Also, although the Source File CCSID setting on the connection configuration is set to the default value *FILE, the source member opens just fine, although that should result in an error as source files with CCSID 65535 are supposedly not supported (unless the Source File CCSID is changed to a proper CCSID value).


Context Version
Code for IBM i version 2.13.5
Visual Studio Code version 1.94.2
Operating System darwin_arm64
Active extensions
.NET Install Tool (vscode-dotnet-runtime): 2.2.0
CL (vscode-clle): 1.1.7
COBOL (cobol): 24.10.15
Code for IBM i Walkthroughs (vscode-ibmi-walkthroughs): 0.5.0
Configuration Editing (configuration-editing): 1.0.0
Db2 for IBM i (vscode-db2i): 1.6.0
Dev Containers (remote-containers): 0.388.0
Emmet (emmet): 1.0.0
Error Lens (errorlens): 3.20.0
Excel Viewer (gc-excelviewer): 4.2.62
Git (git): 1.0.0
Git Base (git-base): 1.0.0
GitHub (github): 0.0.1
IBM i Debug (ibmidebug): 2.0.1
JSON Language Features (json-language-features): 1.0.0
Merge Conflict (merge-conflict): 1.0.0
Node Debug Auto-attach (debug-auto-launch): 1.0.0
Overtype (overtype): 0.5.0
Prettier - Code formatter (prettier-vscode): 11.0.0
Print (vscode-print): 0.13.2
SQL Server (mssql) (mssql): 1.24.0
Server Ready Action (debug-server-ready): 1.0.0
TODO Highlight (vscode-todo-highlight): 1.0.5
TypeScript and JavaScript Language Features (typescript-language-features): 1.0.0
vscode-icons (vscode-icons): 12.9.0

Remote system
Setting Value
IBM i OS V7R4M0
Tech Refresh 10
CCSID Origin 65535
Runtime CCSID 65535
Default CCSID 37
SQL Enabled
Source dates Enabled

Enabled features

/QOpenSys/pkgs/bin /usr/bin /QSYS.lib/ILEDITOR.lib /QSYS.LIB /QIBM/ProdData/IBMiDebugService/bin /QOpenSys/QIBM/ProdData/JavaVM/jdk80 /QOpenSys/QIBM/ProdData/JavaVM/jdk11
bash attr GETNEWLIBL.PGM QZDFMDB2.PGM startDebugService.sh 64bit 64bit
chsh iconv
ls setccsid
md5sum tar
sort
stat
tn5250
Shell env
BUILDLIB=HEYMCHR
CURLIB=HEYMCHR
HOME=/home/HEYMCHR
HOST=usalid06.infor.com
LIBLS=HEYMCHR QTEMP QGPL
LOGIN=heymchr
LOGNAME=heymchr
MAIL=/var/spool/mail/heymchr
OLDPWD=/home/heymchr
PATH=/QOpenSys/pkgs/bin:/QOpenSys/usr/bin:/usr/ccs/bin:/QOpenSys/usr/bin/X11:/usr/sbin:.:/usr/bin
PWD=/home/HEYMCHR
SHELL=/QOpenSys/pkgs/bin/bash
SHLVL=1
SSH_CLIENT=10.61.0.150 59459 22
SSH_CONNECTION=10.61.0.150 59459 10.39.80.55 22
TZ=<EST>5<EDT>,M3.2.0,M11.1.0
USER=heymchr
USERNAME=heymchr
WORKDIR=/home/HEYMCHR
_=/QOpenSys/pkgs/bin/env
Variants
{
  "american": "#@$",
  "local": "#@$"
}
Errors
[
  {
    "command": "/QOpenSys/usr/bin/qsh",
    "code": 1,
    "stderr": "CPF9801:  Object QCPFRMIMPF in library QSYS not found.",
    "cwd": "/home/HEYMCHR"
  },
  {
    "command": "/QOpenSys/usr/bin/qsh",
    "code": 1,
    "stderr": "CPF3012:  File TRNPTFP1 in library *LIBL not found.",
    "cwd": "/home/HEYMCHR"
  },
  {
    "command": "/QOpenSys/usr/bin/qsh",
    "code": 1,
    "stderr": "CPF3012:  File TRNPTFP1 in library *LIBL not found.",
    "cwd": "/home/HEYMCHR"
  }
]
@worksofliam
Copy link
Contributor

Please share the contents of your Code for IBM i output channel after hovering over a source file and seeing the incorrect info.

image

@worksofliam worksofliam added the info-needed More information is requied from the issuer label Oct 18, 2024
@heymchri
Copy link
Author

heymchri commented Oct 18, 2024

Hi Liam,
see attached text file.
Thx,
Christophe
output.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info-needed More information is requied from the issuer
Projects
None yet
Development

No branches or pull requests

2 participants