Prints a random Zikr or Ayah from the Quran every time you run code, and automatically inserts an opening Duaa comment at the top of every new file you create.
Features
1. Zikr / Ayah on Code Run
Every time you run or debug code, a Zikr or Ayah is printed in the terminal:
──────────────────────────────────────────────────
✨ إِنَّ مَعَ الْعُسْرِ يُسْرًا
─── الشرح: ٦
──────────────────────────────────────────────────
2. Opening Duaa on New File
Every new file you create automatically gets this at the top:
# بسم الله الرحمن الرحيم
# اللهم يسر ولا تعسر
3. Manual Command
Open the Command Palette (Ctrl+Shift+P) and run "Print Zikr / Ayah" anytime.
Installation (from VS Code Marketplace)
Search for "Quran Zikr" in the Extensions panel and click Install.
How to Build & Publish (for developers)
Prerequisites
- Node.js installed
- A free account on https://marketplace.visualstudio.com
Steps
1. Install the packaging tool:
npm install
2. Update package.json:
- Replace
YOUR_PUBLISHER_NAMEwith your Marketplace publisher ID - Replace
YOUR_USERNAMEwith your GitHub username
3. Add an icon:
- Add a 128x128 PNG file named
icon.pngto the root folder
4. Package it:
npx vsce package
This creates a quran-zikr-1.0.0.vsix file.
5. Publish to Marketplace:
- Go to https://marketplace.visualstudio.com/manage
- Create a publisher account
- Get a Personal Access Token from https://dev.azure.com
- Run:
npx vsce publish
License
MIT