Skip to content

When editing a freeform RPGLE source, creating/updating an instruction, and displaying the list of built-in functions starting with %, two %% are selected giving an error. #472

@MarcoDeSenas

Description

@MarcoDeSenas

I am editing a freeform RPGLE source and I am working on an instruction which requires a built-in function.
When I hit % then the first letter of the function, I get the list of available functions starting with this letter. Then I select the one I want.

The result is that two %% become part of the instruction which is not correct, obviously. I should get only one.

Is there some setting somewhere to make sure that only one % gets returned from the list?
Have a look at the attached GIF which is a record of this behavior, which applies to any built-in function.

Image


Context Version
Code for IBM i version 2.17.2
Visual Studio Code version 1.106.0
Operating System win32_x64
Active extensions
COBOL (cobol): 25.10.27
Code for IBM i Spooled Files (vscode-ibmi-userspooledfiles): 1.2.3
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.15.1
Emmet (emmet): 1.0.0
Error Lens (errorlens): 3.26.0
Git (git): 1.0.0
Git Base (git-base): 1.0.0
GitHub (github): 0.0.1
GitHub Authentication (github-authentication): 0.0.2
IBM i Project Explorer (vscode-ibmi-projectexplorer): 2.12.3
Merge Conflict (merge-conflict): 1.0.0
Node Debug Auto-attach (debug-auto-launch): 1.0.0
Source Orbit (vscode-sourceorbit): 1.4.1
TODO Highlight (vscode-todo-highlight): 1.0.5
Terminal Suggest for VS Code (terminal-suggest): 1.0.1
TypeScript and JavaScript Language Features (typescript-language-features): 1.0.0

Remote system
Setting Value
IBM i OS V7R5M0
Tech Refresh n/a
CCSID Origin 273
Runtime CCSID 1147
Default CCSID 1147
SSHD CCSID ?
cqsh true
SQL Enabled
Source dates Disabled

Enabled features

/QOpenSys/pkgs/bin /usr/bin /QSYS.lib/DIMARCOB.lib /QSYS.LIB /QIBM/ProdData/IBMiDebugService/bin /QOpenSys/QIBM/ProdData/JavaVM/jdk80 /QOpenSys/QIBM/ProdData/JavaVM/jdk11 /QOpenSys/QIBM/ProdData/JavaVM/jdk17 /QOpensys/pkgs/lib/jvm
bash attr GETNEWLIBL.PGM QZDFMDB2.PGM startDebugService.sh 64bit 64bit 64bit openjdk-11
chsh iconv
find setccsid
git uname
grep
ls
md5sum
sort
stat
tar
tn5250
Shell env
BUILDLIB=DIMARCO1
CURLIB=DIMARCO1
HOME=/home/DIMARCO
HOST=pub400.com
LIBLS=DIMARCOB GAMES400 DIMARCO2 QTEMP QGPL
LOGIN=dimarco
LOGNAME=dimarco
MAIL=/var/spool/mail/dimarco
OLDPWD=/home/DIMARCO
PASE_USRGRP_LIMITED=N
PATH=/QOpenSys/pkgs/bin:/QOpenSys/usr/bin:/usr/ccs/bin:/QOpenSys/usr/bin/X11:/usr/sbin:.:/usr/bin
PWD=/home/DIMARCO
SHELL=/QOpenSys/pkgs/bin/bash
SHLVL=1
SSH_CLIENT=88.170.41.66 36969 2222
SSH_CONNECTION=88.170.41.66 36969 185.113.5.134 2222
TZ=<UTC>0
USER=dimarco
USERNAME=DIMARCO
WORKDIR=/home/DIMARCO
_=/QOpenSys/pkgs/bin/env
Variants
{
  "american": "#@$",
  "local": "£à$"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions