OPACC WAS Link Extension
Hi fellow dev! 🙋🏼♀️
Just a small Visual Studio Code extension to creates clickable links in OPACC WAS .lc (Level Component) files, making navigation to configuration files quick and effortless.
Live is hard sometimes but this extension should make our job a tiny bit easier 😊
What does it do?
This little helper automatically turns file references in .lc files into clickable links. No more copy-pasting filenames or digging through folders!
Supports:
.oc files (Object Component) → config/oc/
.rd files (Request Definition) → config/rd/
.cc files (Controller Component) → config/cc/
How to use it
Just open any .lc file in your webportal and voilà! File names in the pipe-delimited format automatically become clickable:
LC|1|MODULE-Filename.oc||MODULE-Filename.rd||||||||MODULE-Filename.cc
Click on MODULE-Filename.oc and it'll jump straight to the file. 💁🏼♀️
Setup
- Install the extension
- Open your OPACC WAS project
- That's it! No config needed
Your project should look something like this:
webportal/
├── config/
│ ├── lc/ (Level Component files)
│ ├── oc/ (Object Component files)
│ ├── rd/ (Request Definition files)
│ └── cc/ (Controller Component files)
Further Ideas for this extension
- create non existing files
- create links for gFunctions like gCreateURL, gGenerateURL, gGetPartial
Release Notes
1.0.0
Initial release of OPACC WAS Link Extension
Features:
- Automatic link detection in
.lc files
- Support for
.oc, .rd, and .cc file types
- Smart path resolution based on file type
Development
This extension is built using:
- TypeScript
- VS Code Extension API
- DocumentLinkProvider interface
- GitHub Copilot 🤖
Want to contribute?
Found a bug? Got an idea to make this better? Hit me up!
Happy coding! ✨
Made with ☕ and a bit of frustration with manual file navigation