Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Madura Language SupportNew to Visual Studio Code? Get it now.
Madura Language Support

Madura Language Support

adhfry

|
2 installs
| (0) | Free
Syntax highlighting dan dukungan untuk Bahasa Pemrograman Madura (.mdr)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Madura Language Support for VS Code

Ekstensi VS Code untuk Madura Language (.mdr) - Bahasa pemrograman esoterik berbasis Bahasa Madura.

Version License

🎯 Features

  • ✨ Syntax Highlighting - Warna untuk semua keyword dan struktur bahasa
  • 🎨 Semantic Tokens - Pewarnaan yang akurat berdasarkan konteks
  • 📝 Auto-Completion - Auto-closing brackets, quotes, dan pairs
  • 💬 Comment Support - Toggle comment dengan Ctrl+/
  • 📁 Code Folding - Lipat/buka block kode
  • 🔤 File Icon - Icon khusus untuk file .mdr

📸 Screenshots

Syntax Highlighting

// Deklarasi variabel
badha nama = "Budi"
tetep umur = 25

// Fungsi
angguy sapa(namaOrang) {
    nyetak("Halo " + namaOrang + "!")
    pabeli bhendher
}

// Kondisi
mon (umur lebbi dhari 17) {
    nyetak("Dewasa")
} tape {
    nyetak("Bocah")
}

// Loop
badha i = 0
saterossa (i korang dhari 10) {
    nyetak(i)
    i = i + 1
}

// Array & Object
badha daftar = [1, 2, 3, 4, 5]
badha person = {
    nama: "Joko",
    alamat: "Sumenep"
}

// Error Handling
coba {
    ontallaghi "Error terjadi!"
} tangkep (e) {
    nyetak("Tertangkap: " + e)
} pokokna {
    nyetak("Selesai")
}

🚀 Installation

From VS Code Marketplace (Coming Soon)

  1. Buka VS Code
  2. Pergi ke Extensions (Ctrl+Shift+X)
  3. Cari "Madura Language Support"
  4. Klik Install

Manual Installation

  1. Download repository ini
  2. Copy folder ekstensi ke:
    • Windows: %USERPROFILE%\.vscode\extensions\madura-lang-support-1.0.0
    • macOS/Linux: ~/.vscode/extensions/madura-lang-support-1.0.0
  3. Restart VS Code

From VSIX

  1. Download file .vsix
  2. Buka VS Code
  3. Pergi ke Extensions
  4. Klik ... > Install from VSIX
  5. Pilih file yang didownload

📖 Language Features

Keywords

Variable Declaration

  • badha - variable (let)
  • ngangguy - local variable
  • tetep - constant (const)
  • konce - constant (alias)

Control Flow

  • mon - if
  • tape - else
  • gante - switch
  • bila - case
  • biasana / laenna - default

Loops

  • saterossa - while
  • bitong - for
  • jijji'i - for...of
  • ambu - break
  • terros - continue

Functions

  • angguy - function
  • pabeli - return

Error Handling

  • coba - try
  • tangkep - catch
  • pokokna - finally
  • ontallaghi - throw

I/O

  • nyetak - print
  • pa'berri'en - print (alternative)

Operators

Logical

  • sareng - and (&&)
  • tabe - or (||)
  • tak - not (!)

Comparison

  • paddhang - strict equal (===)
  • ta' paddhang - strict not equal (!==)
  • pada bi - equal (==)
  • ta' pada - not equal (!=)
  • lebbi dhari - greater than (>)
  • korang dhari - less than (<)

Arithmetic

  • + - addition
  • - - subtraction
  • * - multiplication
  • / - division
  • % - modulo

Constants

  • bhendher - true
  • sala - false
  • kosong - null
  • tade' - undefined

⚙️ Settings

Customize syntax highlighting colors in your settings.json:

{
  "editor.tokenColorCustomizations": {
    "textMateRules": [
      {
        "scope": "keyword.control.madura",
        "settings": {
          "foreground": "#C586C0",
          "fontStyle": "bold"
        }
      },
      {
        "scope": "keyword.declaration.madura",
        "settings": {
          "foreground": "#569CD6"
        }
      },
      {
        "scope": "string.quoted.madura",
        "settings": {
          "foreground": "#CE9178"
        }
      },
      {
        "scope": "entity.name.function.madura",
        "settings": {
          "foreground": "#DCDCAA"
        }
      }
    ]
  }
}

🛠️ Usage

  1. Buat file baru dengan ekstensi .mdr
  2. Mulai coding dengan Madura Language
  3. Syntax highlighting akan aktif otomatis

Quick Start

// Hello World
nyetak("Selamat datang di Madura Language!")

// Variabel
badha namaku = "Budi"
tetep PI = 3.14159

// Fungsi
angguy tambah(a, b) {
    pabeli a + b
}

badha hasil = tambah(5, 3)
nyetak(hasil)  // Output: 8

🎨 Scope Reference

Untuk customization lebih lanjut, berikut daftar scope yang tersedia:

Scope Description
keyword.control.madura Control flow keywords
keyword.declaration.madura Variable/function declarations
keyword.operator.logical.madura Logical operators
keyword.other.madura Other keywords
string.quoted.double.madura Double-quoted strings
string.quoted.single.madura Single-quoted strings
constant.numeric.float.madura Float numbers
constant.numeric.integer.madura Integer numbers
constant.language.boolean.madura Boolean values
constant.language.null.madura Null/undefined
comment.line.double-slash.madura Line comments
entity.name.function.madura Function names
variable.other.madura Variables

🐛 Known Issues

Tidak ada issue yang diketahui saat ini. Jika menemukan bug, silakan report di GitHub Issues.

📝 Changelog

1.0.0 (2024)

  • ✨ Initial release
  • ✅ Complete syntax highlighting
  • ✅ Auto-completion support
  • ✅ Code folding
  • ✅ Comment toggling

🤝 Contributing

Contributions are welcome! Please check the Contributing Guidelines.

📄 License

MIT License - see LICENSE file for details.

👨‍💻 Author

Ahda Firly Barori

🔗 Links

  • GitHub Repository: https://github.com/adhfry/madura-lang
  • Documentation: https://github.com/adhfry/madura-lang#readme
  • Issues: https://github.com/adhfry/madura-lang/issues
  • NPM Package: https://www.npmjs.com/package/madura-lang

🌟 Show Your Support

Jika ekstensi ini bermanfaat, berikan ⭐ di GitHub!

📚 Learn More

  • Madura Language Documentation
  • Quick Start Guide
  • API Reference

Ngoding angguy bhasa Madura kanak! 🎉

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft