Anadil Language Support
Dil / Language: Turkce | English
Turkce
Anadil Language Support, Model Bilgi Islem tarafindan gelistirilen resmi Visual Studio Code Anadil uzantisidir.
Model ekosistemi icin hazirlanan bu uzanti, Anadil gelistirme deneyimini gunluk kurumsal is akislarinda daha hizli, daha anlasilir ve daha yonetilebilir hale getirmek icin tasarlanmistir. Normal kullanicilarin temel kullanim icin .NET SDK kurmasini zorunlu kilmaz.
Neden Bu Uzanti Var?
Anadil projeleri cogu zaman gercek is surecleri, ic framework yapilari, struct tanimlari, uygulama kutuphaneleri ve UI metadata akislariyla birlikte calisir. Bu uzantinin amaci, bu yapiyi Visual Studio Code icinde hafif ama guclu bir arac deneyimine donusturmektir.
Ozellikle su senaryolar icin uygundur:
- Anadil uygulama gelistirme
- Model ERP ozellestirme ve uyarlama surecleri
- struct tabanli veri tanimlari
- validator destekli derleme ve metadata akislari
- is uygulamasi odakli kurumsal projeler
Sagladigi Ozellikler
.anadil dosyalari icin syntax highlighting
*.struct.json dosyalari icin struct odakli duzenleme destegi
- yaygin Anadil kaliplari icin snippet destegi
- dil uyumlu parantez, girinti ve editor davranisi
- dogrulama, struct uretimi ve dil servisi yenileme komutlari
- Anadil3 proje iskeleti olusturma ekrani
anadil3.json proje manifesti ile proje yolu algilama
- packaged validator bulundugunda gelismis diagnostic, metadata ve autocomplete destegi
Kurumsal Avantajlar
- son kullanici ortaminda .NET SDK olmadan calisabilir
- validator yoksa temel dil destegi aktif kalir
- gelismis senaryolar icin packaged validator exe kullanir
- Anadil ve struct odakli proje yapisiyla birlikte calisir
- editor icinde operasyon komutlari sunar
- Model Bilgi Islem ve Model ERP gelistirme akislarina uyumludur
Temel Deneyim
Her Zaman Kullanilabilir
Validator olmasa bile calisan ozellikler:
.anadil dosya tanima
.struct.json dosya tanima
- syntax highlighting
- snippets
- language configuration
- temel komutlar ve uzanti arayuzu
Validator Varsa Gelisen Ozellikler
Packaged validator mevcutsa ayrica sunlar acilir:
.anadil dosyalari icin compile diagnostic
*.struct.json icin struct diagnostic
- metadata destekli autocomplete
- app ve library farkindaligi
- proje bazli function ve type cozumleme
Calisma Davranisi
Normal kullanici icin .NET SDK gerekmez.
- Validator exe bulunursa gelismis dogrulama ve metadata ozellikleri otomatik acilir.
- Validator exe bulunamazsa uzanti temel dil destegiyle calismaya devam eder.
- Validator yoksa kullaniciya en fazla bir kez uyari gosterilir ve teknik detaylar
Anadil output kanalina yazilir.
Mevcut Proje Runtime Guncelleme
Uzanti guncellendiginde daha once olusturulmus Anadil3 projelerinin kendi bin ve wwwroot klasorleri otomatik degismez. Mevcut bir projeyi uzanti icindeki guncel runtime template dosyalariyla guncellemek icin:
Anadil3: Update Project Runtime
Bu komut acik Anadil3 projesini bulur, onay ister ve uzantinin paketledigi templates/anadil3 iceriginden projenin bin, wwwroot ve openapi.html dosyalarini overwrite eder.
Komut kapsam, conf, reports, temp ve uygulama kaynak dosyalarina dokunmaz. Yeni olusturulan projeler zaten paket icindeki guncel template ile gelir.
Veritabani Konsolu
Anadil3: Database Console, acik Anadil3 projesindeki conf/site.xml ve conf/catalog.xml dosyalarindan SQL Server baglanti bilgisini okur ve SQL Manager acmadan proje veritabanini yonetmek icin VS Code icinde bir arayuz sunar.
Bu arayuz sunlari destekler:
- Anadil activity bar altinda server > database > object folders seklinde native
SQL Objects explorer
- baglanti testini ve yeni query acmayi SQL Objects server/database sag tik menüsünden calistirma
- VS Code'un kendi SQL editorunde query yazma ve syntax highlighting
- SQL editorunde tablo, view, procedure, function ve kolon autocomplete
FROM/JOIN tarafinda obje, SELECT/WHERE tarafinda mevcut tablo kolonlarini oneren context-aware autocomplete
- SQL editor status bar'inda aktif server/database context bilgisi
- SQL editorunde
F5 veya Ctrl+Enter ile SQL calistirma
- VS Code alt panelinde
Anadil SQL altinda SSMS benzeri Results ve Messages panelleri
- Results grid icinde filtre, CSV kopyalama ve CSV export
- buyuk SELECT sonuclarini batch streaming ile geldikce tabloya ekleme
- yeni sorgu calistirildiginda onceki devam eden sorguyu iptal etme
- tablo ve view uzerinde sag tik
Select Top 100 Rows ile native SQL editorde data query olusturma
- tablo uzerinde sag tik
Edit Top 200 Rows
- trigger'lari sadece bagli oldugu tablo veya view altinda gosterme
- view, procedure, function ve trigger uzerinde sag tik
Script Object veya Modify Object ile definition/ALTER query olusturma
- SQL objeleri uzerinde sag tik SQL-aware
Find Anadil References
- baglanti testi ve aktif veritabani bilgisi
- tablo, view, procedure, function ve trigger arama
- kolon, parameter, trigger ve definition goruntuleme
- yardimci olarak
.anadil ve XML dosyalarinda SQL block, SetParam, procedure hint ve secili obje referansi analizi
Database Console gelistirici odaklidir; yazilan SQL'i VS Code'un kendi editorunde F5 veya Ctrl+Enter ile calistirir. Baglanti sifresi output kanalina veya webview'e acik sekilde yazilmaz.
Validator Siralamasi
Uzanti validator'i su sirayla arar:
anadil.validator.path
tools/validator/... altindaki packaged platform binary
- Hicbiri yoksa disabled mod
Komutlar
Anadil3: Create New Project
Anadil3: Update Project Runtime
Anadil3: New SQL Query
Anadil3: Execute SQL Query
Anadil: Check Current File
Anadil: Restart Language Service
Anadil: Refresh Operations
Anadil: Preview Struct From Current File
Anadil: Save Struct From Current File
Anadil: Show Output
Anadil: Rebuild Validator
Ayarlar
Validator
anadil.validator.enabled
anadil.validator.path
anadil.validator.showMissingWarning
anadil.validator.sourceProjectPath
Calisma Alani Entegrasyonu
anadil.kapsamPath
anadil.uiProjectPath
anadil.languageProjectPath
anadil.uiAssemblyPath
anadil.checkOnType
Struct Destegi
Uzanti struct dosyalarinda sunlari destekler:
- ic ice object tanimlari
- array object tanimlari
- cok satirli type tanimlari
- duplicate field kontrolu
- duplicate struct kontrolu
- trailing comma dogrulamasi
Gelistirici Akisi
Gelistiriciler packaged validator'i manuel olarak su komutla yeniden uretebilir:
Anadil: Rebuild Validator
Bu komut self-contained validator executable uretir ve build ciktisini Anadil output kanalina yazar.
Log gormek icin:
Model Bilgi Islem Hakkinda
Model Bilgi Islem; ERP, sektor cozumleri, web ve mobil uygulamalar, raporlama ve Anadil platformu etrafinda kurumsal yazilim cozumleri gelistiren bir yapidir. Bu uzanti da bu ekosisteme uygun, profesyonel ve surdurulebilir bir Anadil gelistirme deneyimi sunmak icin hazirlanmistir.
English
Anadil Language Support is the official Visual Studio Code extension for the Anadil programming language, developed by Model Bilgi Islem.
Built for the Model ecosystem, this extension is designed to make Anadil development faster, clearer, and easier to manage in daily enterprise workflows without forcing every end user to install the .NET SDK.
Why This Extension Exists
Anadil projects often live close to real business processes, internal frameworks, struct definitions, app libraries, and UI metadata. The goal of this extension is to keep that experience productive inside Visual Studio Code with a tooling model that feels lightweight for end users and powerful for development teams.
It is especially suited for teams working on:
- Anadil application development
- Model ERP customization and extension scenarios
- struct-driven data definitions
- validator-backed compile and metadata workflows
- internal business application projects built on the Model stack
What This Extension Provides
- Syntax highlighting for
.anadil source files
- Struct-aware editing support for
*.struct.json
- Ready-to-use snippets for common Anadil language patterns
- Language-aware indentation, brackets, and editor behavior
- Workspace-aware commands for validation, struct generation, and language service refresh
- Anadil3 project scaffolding screen
anadil3.json project manifest based path discovery
- Advanced validator-powered diagnostics and metadata when the packaged validator executable is available
Enterprise-Focused Highlights
- Works in normal user environments without requiring the .NET SDK
- Keeps basic language support active even when validator binaries are unavailable
- Uses a packaged validator executable for advanced scenarios
- Supports Anadil and struct-based project organization together
- Exposes operational commands directly inside VS Code
- Fits well into internal Model Bilgi Islem development and support workflows
Core Experience
Always Available
These features work even if the validator executable is missing:
.anadil file recognition
.struct.json recognition
- syntax highlighting
- snippets
- language configuration
- core commands and extension UI
Enhanced When Validator Is Available
When the packaged validator executable is present, the extension also enables:
- compile diagnostics for
.anadil files
- struct diagnostics for
*.struct.json
- metadata-assisted autocomplete
- app and library-aware symbol understanding
- project-specific function and type discovery
Runtime Behavior
Normal users do not need the .NET SDK to use this extension.
- If the validator executable is found, advanced validation and metadata features are enabled automatically.
- If the validator executable is missing, the extension stays active and falls back to basic language support.
- When validator features are unavailable, the extension shows at most one warning and writes technical details to the
Anadil output channel.
Updating Existing Project Runtime Files
When the extension is updated, existing Anadil3 projects do not automatically receive the new packaged bin and wwwroot files. To update an existing project from the runtime templates bundled in the extension, run:
Anadil3: Update Project Runtime
This command finds the open Anadil3 project, asks for confirmation, then overwrites the project's bin, wwwroot, and openapi.html files from the packaged templates/anadil3 content.
The command does not modify kapsam, conf, reports, temp, or application source files. Newly scaffolded projects already use the current bundled templates.
Database Console
Anadil3: Database Console reads SQL Server connection settings from the open Anadil3 project's conf/site.xml and conf/catalog.xml, then provides a VS Code interface for project database work without opening SQL Manager.
The console supports:
- a native
SQL Objects explorer under the Anadil activity bar using a server > database > object folders tree
- connection testing and new query creation from the SQL Objects server/database context menu
- query editing and syntax highlighting in VS Code's native SQL editor
- SQL editor autocomplete for tables, views, procedures, functions, and columns
- context-aware autocomplete that suggests objects in
FROM/JOIN and columns in SELECT/WHERE
- active server/database context in the SQL editor status bar
- SQL execution through
F5 or Ctrl+Enter in SQL editors
- SSMS-style
Results and Messages panes in the VS Code bottom panel under Anadil SQL
- result grid filtering, CSV copy, and CSV export
- batch streaming for large SELECT results so rows appear as they arrive
- cancellation of the previous running query when a new query starts
- native SQL editor query creation through right-click
Select Top 100 Rows on tables and views
- right-click
Edit Top 200 Rows on tables
- triggers shown only under their owning table or view
- right-click
Script Object or Modify Object for view, procedure, function, and trigger definition/ALTER queries
- right-click SQL-aware
Find Anadil References for SQL objects
- connection test and active database details
- table, view, procedure, function, and trigger search
- column, parameter, trigger, and definition inspection
- helper
.anadil and XML analysis for SQL blocks, SetParam, procedure hints, and selected object references
The Database Console is developer-focused and executes SQL from VS Code's native editor through F5 or Ctrl+Enter. Database passwords are not printed to the output channel or displayed in the webview.
Validator Resolution Order
The extension resolves the validator in this order:
anadil.validator.path
- Packaged platform binary under
tools/validator/...
- Disabled mode when neither option is available
Commands
Anadil3: Create New Project
Anadil3: Update Project Runtime
Anadil3: New SQL Query
Anadil3: Execute SQL Query
Anadil: Check Current File
Anadil: Restart Language Service
Anadil: Refresh Operations
Anadil: Preview Struct From Current File
Anadil: Save Struct From Current File
Anadil: Show Output
Anadil: Rebuild Validator
Settings
Validator
anadil.validator.enabled
anadil.validator.path
anadil.validator.showMissingWarning
anadil.validator.sourceProjectPath
Workspace Integration
anadil.kapsamPath
anadil.uiProjectPath
anadil.languageProjectPath
anadil.uiAssemblyPath
anadil.checkOnType
Struct Support
The extension supports the following in struct files:
- nested object definitions
- array object definitions
- multi-line type declarations
- duplicate field detection
- duplicate struct detection
- trailing comma validation
Developer Workflow
Developers can rebuild the packaged validator manually with:
Anadil: Rebuild Validator
This command produces a self-contained validator executable and writes the build output to the Anadil output channel.
To inspect logs:
About Model Bilgi Islem
Model Bilgi Islem develops flexible enterprise solutions spanning ERP, sector-specific modules, web and mobile applications, reporting, and the Anadil platform. This extension is aligned with that ecosystem and is intended to support professional Anadil development in a clean, maintainable way.