codefori / codefori/vscode-rpgle

/INCLUDE Path in Local Development Case Sensitivity Inconsistent

Open
#307 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
57
Forks
35
Avg merge
2d 3h
Merged PRs (30d)
1

Description

Save us time! Click 'Report an Issue' from the Help and Support panel inside of VS Code after you have connected to a system.
Would like to, but deliberately not connected to a system to ensure no side effects.
Version: 1.87.1 (user setup)
Commit: 1e790d77f81672c49be070e04474901747115651
Date: 2024-03-06T00:21:36.258Z
Electron: 27.3.2
ElectronBuildId: 26836302
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: 11.8.172.18-electron.0
OS: Windows_NT x64 10.0.19045

Code for IBM i v2.8.0

**Describe the bug**
The documentation says that for local development in /COPY and /INCLUDE statements the path is case sensitive. (https://codefori.github.io/docs/extensions/rpgle/faq/). I missed this when converting some code to a local repository and while tidying up I noticed what appear to be an inconsistency.

For demonstration purposes, I have three /INCLUDE statements, thus, all for the same file:
```
1) /INCLUDE ../Copy_Mbrs/aidbytes.rpgle
2) /INCLUDE ../Copy_Mbrs/AIDBYTES.RPGLE
3) /INCLUDE ../COPY_MBRS/AIDBYTES.RPGLE
```
My directory structure looks like this:
![image](https://github.com/codefori/vscode-ibmi/assets/67484051/9ff14138-6248-4020-813f-256d382c09dd)
![image](https://github.com/codefori/vscode-ibmi/assets/67484051/bbc138f8-9504-491c-b81c-bd6a1e657b7f)

Hovering over 1) shows as not found because the case does not match:
![image](https://github.com/codefori/vscode-ibmi/assets/67484051/efb134fa-740a-4cab-aead-0a6d21a49915)
Hovering over 2) correctly shows as found because the case matches:
![image](https://github.com/codefori/vscode-ibmi/assets/67484051/d7d65b7d-f67e-4975-85e1-e8ef2469357e)
Hovering over 3) also shows as found, yet the case does not match:
![image](https://github.com/codefori/vscode-ibmi/assets/67484051/810d4f3e-714f-4a9f-a1b1-76904921033d)

I intend to match the case. But I find this inconsistency curious.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.