secondlife / secondlife/sl-vscode-plugin
[LSL] Add support for includes being relative to workspace root.
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 33
- Forks
- 15
- Avg merge
- 14h 50m
- Merged PRs (30d)
- 9
Description
It would be useful to be able to include files from workspace root by formating the include with a leading /
Example
Given the directory structure
workspace
├─ libs/
│ └─ lib.lsl
└─ src/
└─ main.lsl
If main.lsl can use the following include
#include "/libs/lib.lsl"
To reference lib.lsl
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the include-resolution entry point in the TypeScript VSCode plugin and reproduce the issue with the workspace, libs, and src structure from the example. Done means an include written as /libs/lib.lsl resolves from the workspace root while the existing relative include behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100