codefori / codefori/vscode-ibmi

Renderer does not display fields defined by reference

Open
#2,596 4 comments 0 reactions 0 assignees View on GitHub
enhancement idea-seperate
Dominant language
TypeScript
Stars
418
Forks
160
Avg merge
4d 19h
Merged PRs (30d)
12

Description

The renderer does not preview the fields that are defined by reference using the REFFLD keyword. Would it be possible to have those fields also be displayed like the fields that are explicitly defined?

Here are some screenshots to show what I mean:

![Image](https://github.com/user-attachments/assets/30d4a964-0d65-4517-b1e7-839d791a9d19)

![Image](https://github.com/user-attachments/assets/bd8689fa-a4d7-4eb6-ae1f-6c1e469bccec)

Sample DDS to see the issue:

[sampleREFFLD.txt](https://github.com/user-attachments/files/19575798/sampleREFFLD.txt)

[sampleReferenceFile.txt](https://github.com/user-attachments/files/19575801/sampleReferenceFile.txt)


|Context|Version|
|-|-|
|Code for IBM i version|2.15.3|
|Visual Studio Code version|1.98.2|
|Operating System|win32_x64|

Active extensions

```
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.10.0
Emmet (emmet): 1.0.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 Renderer (vscode-displayfile): 0.1.3
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.9
TypeScript and JavaScript Language Features (typescript-language-features): 1.0.0
```


Remote system

|Setting|Value|
|-|-|
|IBM i OS|V7R4M0|
|Tech Refresh|11|
|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|/QOpenSys/QIBM/ProdData/JavaVM/jdk17|
|-|-|-|-|-|-|-|-|
|bash|attr|GETNEWLIBL.PGM|QZDFMDB2.PGM|startDebugService.sh|64bit|64bit|64bit|
|chsh|iconv|||||||
|ls|setccsid|||||||
|md5sum|tar|||||||
|sort|uname|||||||
|stat||||||||
|tn5250||||||||

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.