codefori/vscode-ibmi

Supress Zeros when ctdata Arrays

Closed this issue · 8 comments

If i use Seu to Edit a source that include ctdata arrays is working good, but when i use code for i, it supress the zeros and update the Source. (Not correct.)
I don't know how to solvente this issue.

I'm sending you the ctdata array using Seu and the issue when i use the code for i.

Best Regards,
image

image

Best Regards,

Will look into a fix tomorrow. It shouldn't be too hard.

I updated to the newest extension.
It is no longer removing the leading zeros.
It is replacing them with exponential notation.

Original Example:
image

VSCODE conversion:
image

@NextPage66 Are you using the version from the branch or the standard release? We haven't released the fix yet.

standard release. Sorry i thought i saw it was released.

Any update on this issue?

Do you know when will be 2.13.1 versión ready?

@hn000246 Version 2.13.1 was made available 3 weeks ago - as an pre-release version!

billede

Two more prereleases have been created since then.
You install a prerelease version by going to the Extensions view (Ctrl-Shift-X), click on the cog for the Code for IBM i extension and select Switch to Pre-release Version:

billede

You can choose which version you want to install by again going to the Extensions view (Ctrl-Shift-X), click on the cog for the Code for IBM i extension and select Install Specific Version... - this will give you the screen shown above (including the pre-release version if your current version is a pre-release version, otherwise only regular versions are shown).

This fix branch has not yet been merged.