codefori / codefori/vscode-ibmi

Move source line (up or down) - updates the source line dates incorrectly

Open
#2,574 4 comments 0 reactions 0 assignees View on GitHub
discussion needs-investigation
Dominant language
TypeScript
Stars
418
Forks
160
Avg merge
4d 19h
Merged PRs (30d)
12

Description

When in a source member if I use Alt + arrow up (or arrow down) to move the line up (or down) - I am expecting the moved line to be updated to have today's date. Instead, the moved line retains it's old date which is incorrect and the preceding (or succeeding) line receives today's date. Sometimes it works... most times not. Tried on a few members, on different days.


|Context|Version|
|-|-|
|Code for IBM i version|2.15.2|
|Visual Studio Code version|1.97.2|
|Operating System|win32_x64|r

Active extensions

```
CL (vscode-clle): 1.1.7
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.9.3
Emmet (emmet): 1.0.0
Error Lens (errorlens): 3.23.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 Debug (ibmidebug): 2.0.2
IBM i Notebooks (vscode-ibmi-notebooks): 0.0.6
IBM i Project Explorer (vscode-ibmi-projectexplorer): 2.12.2
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
RPGLE (vscode-rpgle): 0.28.6
Server Ready Action (debug-server-ready): 1.0.0
Source Orbit (vscode-sourceorbit): 1.0.2
TODO Highlight (vscode-todo-highlight): 1.0.5
TypeScript and JavaScript Language Features (typescript-language-features): 1.0.0
WSL (remote-wsl): 0.88.5
```


Remote system

|Setting|Value|
|-|-|
|IBM i OS|V7R5M0|
|Tech Refresh|4|
|CCSID Origin|37|
|Runtime CCSID|37|
|Default CCSID|37|
|SSHD CCSID|?|
|cqsh|true|
|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|uname||||||
|stat|||||||
|tn5250|||||||

Shell env

```bash
BUILDLIB=QGPL
CURLIB=QGPL
HOME=/home/removed
HOST=removed
LIBLS=removed
LOGIN=removed
LOGNAME=removed
MAIL=/var/spool/mail/removed
OLDPWD=/home/removed
PATH=/QOpenSys/pkgs/bin:/QOpenSys/usr/bin:/usr/ccs/bin:/QOpenSys/usr/bin/X11:/usr/sbin:.:/usr/bin:/QOpenSys/usr/bin:/usr/bin
PWD=/home/removed
SHELL=/QOpenSys/pkgs/bin/bash
SHLVL=1
SSH_CLIENT=removed removed 22
SSH_CONNECTION=removed removed removed 22
TZ=removed
USER=removed
USERNAME=removed
WORKDIR=/home/removed
_=/QOpenSys/pkgs/bin/env
```

Variants

```json
{
"american": "#@$",
"local": "#@$",
"qsysNameRegex": {}
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.