[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-detail-687488-en":59,"doc-seo-687488-105":99,"doc-similar-687488":162},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":5,"data":60},{"doc_id":61,"user_id":62,"nickname":63,"user_avatar":64,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":66,"doc_content":67,"file_id":68,"file_url":69,"file_type":70,"file_size":71,"view_count":19,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":72,"language":73,"language_code":74,"site_id":75,"html_lang":74,"table_of_contents":76,"faqs":77,"seo_title":78,"seo_description":66,"update_tm":79,"read_time":80,"preview_page_count":19,"preview_urls":81},687488,962093957596,"OKfine","https://ap-avatar.wpscdn.com/davatar_29158cc5080c5b710cf443261637dec0","MicroJava Extension for Visual Studio Code - Bachelor Thesis","Students at Johannes Kepler University learn compiler construction using MicroJava, yet many students lack familiarity with the language and struggle because no dedicated tooling exists. Unlike established languages, MicroJava offers no integrated development environments or editor extensions that support day-to-day learning and development. This thesis develops a Visual Studio Code extension providing syntax highlighting, error highlighting, program execution, auto completion, realtime feedback, and integrated execution within the editor.","Submitted by  \nFlorian Punz  \nK12206916  \nSubmitted at  \nInstitute for System Software  \nSupervisor  \nDipl.-Ing. Christoph Pichler, BSc  \nSeptember 2025  \nMicroJava Extension for Visual Studio Code  \nBachelor Thesis  \nto obtain the academic degree of Bachelor of Science  \nin the Bachelor’s Program Informatik  \nJOHANNES KEPLER UNIVERSITY LINZ  \nAltenbergerstraße 69 4040 Linz, ¨Osterreich [www.jku.at](www.jku.at)  \nDVR 0093696  \nAbstract  \nStudents at Johannes Kepler University learn the fundamentals of compiler construction using the language MicroJava. While the language provides a clear and simple structure for educational purposes, most students are unfamiliar with it, and the lack of dedicated tooling makes the learning process unnecessarily difficult. Unlike established programming languages, no integrated development environments or editor extensions exist that support working with MicroJava. To address this problem, an environment with modern editor support would lower the entry barrier to MicroJava and improve the learning experience. This thesis follows this approach by developing a Visual Studio Code extension for MicroJava. The extension offers syntax highlighting, error highlighting, program execution, and auto completion, thereby improving the readability of code and supporting students in identifying mistakes early. In addition, realtime feedback and integrated execution make it possible to test MicroJava programs directly within the editor.  \nZusammenfassung  \nStudierende an der Johannes Kepler Universität lernen die Funktionsweise eines Compilersanhand der Sprache MicroJava. Obwohl die Sprache eine klare und einfache Struktur für Bildungszwecke bietet, sind die meisten Studierenden damit nicht vertraut und der Mangel anspeziellen Werkzeuge erschwert den Lernprozess zusätzlich. Im Gegensatz zu etablierten Programmiersprachen existieren keine integrierten Entwicklungsumgebungen oder Editorerweiterungen, die die Arbeit mit MicroJava unterstützen. Um dieses Problem zu lösen, würde eine Umgebung mit moderner Editorunterstützung den Einstieg in MicroJava erleichtern und das Lernerlebnis verbessern. Diese Arbeit folgt diesem Ansatz durch die Entwicklung einer VisualStudio-Code-Erweiterung für MicroJava. Die Erweiterung bietet Syntax Highlighting, Error Highlighting, Programmausführung und Auto-Vervollständigung, wodurch die Lesbarkeit des Codes verbessert und Studierende frühzeitig auf Fehler hingewiesen werden. Darüber hinausermöglichen Echtzeit-Feedback und integrierte Ausführung das direkte Testen von MicroJavaProgrammen innerhalb des Editors.  \nContents  \n1 Introduction 6  \n2 Background 8  \n2. 1 MicroJava . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8  \n2.2 ANTLR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9  \n2.3 Yeoman . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10  \n3 Visual Studio Code API 11  \n3. 1 Events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11  \n3.2 Providers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12  \n3.3 Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12  \n3.4 Language Server .................................... 12  \n4 Implementation 13  \n4.1 Syntax Highlighting .................................. 13  \n4.2 Program Execution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15  \n4.2. 1 Command Registration   15  \n4.2.2 CodeLens . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16  \n4.3 ANTLR4TS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17  \n4.3. 1 Grammar Specification   17  \n4.4 Language Server   18  \n4.4. 1 Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18  \n4.4.2 Integration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19  \n4.4.3 Error Highlighting . . . . . ","cbCaicH096vTmuJL","https://ap.wps.com/l/cbCaicH096vTmuJL","pdf",607201,36,"English","en",105,"# Introduction\n# Background\n## MicroJava\n## ANTLR\n## Yeoman\n# Visual Studio Code API\n## Events\n## Providers\n## Commands\n## Language Server\n# Implementation\n## Syntax Highlighting\n## Program Execution\n## ANTLR4TS\n## Language Server\n# Demo\n## Syntax Highlighting\n## Error Highlighting\n## Program Execution\n## Auto Completion\n# Future Work\n# Conclusion\n# Bibliography","[{\"question\":\"What problem does the thesis address for MicroJava learners?\",\"answer\":\"Most students are unfamiliar with MicroJava and, due to the lack of dedicated tooling, can neither easily check syntax nor execute programs until they build a compiler themselves.\"},{\"question\":\"Which features does the developed Visual Studio Code extension provide?\",\"answer\":\"It provides syntax highlighting, bracket matching, error highlighting, program execution inside VS Code, and auto completion, along with realtime feedback to help detect mistakes early.\"},{\"question\":\"How does the thesis enable direct testing of MicroJava programs?\",\"answer\":\"Through integrated execution and realtime feedback within the editor, students can run and verify MicroJava programs directly in Visual Studio Code.\"}]","MicroJava Extension for Visual Studio Code - Bachelor Thesis | PDF",1794083813,91,[82,86,90,95],{"page_no":8,"url":83,"width":84,"height":85},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/aec1071da16b22e5bc73717e3af8a840.webp",983,1390,{"page_no":14,"url":87,"width":88,"height":89},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/e4d599f43006d06ac4654e0f8d5ad679.webp",982,1388,{"page_no":91,"url":92,"width":93,"height":94},3,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/602edc8db6fc8f497d766b5fc4025977.webp",981,1387,{"page_no":19,"url":96,"width":97,"height":98},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/09515f441e697ff2d4e5c50443f986f7.webp",980,1385,{"code":4,"msg":100,"data":101},"ok",{"site_id":75,"language":74,"slug":102,"title":65,"keywords":103,"description":66,"schema_data":104,"social_meta":157,"head_meta":159,"extra_data":161,"updated_unix":79},"microjava-extension-for-visual-studio-code-bachelor-thesis","",{"@graph":105,"@context":156},[106,119,139],{"@type":107,"itemListElement":108},"BreadcrumbList",[109,113,115,117],{"item":110,"name":111,"@type":112,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":114,"name":9,"@type":112,"position":14},"https://docshare.wps.com/document/",{"item":116,"name":30,"@type":112,"position":91},"https://docshare.wps.com/document/technology/",{"item":118,"name":65,"@type":112,"position":19},"https://docshare.wps.com/document/microjava-extension-for-visual-studio-code-bachelor-thesis/687488/",{"url":118,"name":65,"@type":120,"image":121,"author":126,"headline":65,"publisher":128,"fileFormat":131,"inLanguage":74,"description":66,"dateModified":132,"datePublished":133,"encodingFormat":131,"isAccessibleForFree":134,"interactionStatistic":135},"DigitalDocument",{"url":122,"@type":123,"width":124,"height":125},"https://docshare.wps.com/thumbnails/microjava-extension-for-visual-studio-code-bachelor-thesis/687488.png","ImageObject",300,407,{"name":63,"@type":127},"Person",{"url":110,"name":129,"@type":130},"DocShare","Organization","application/pdf","2026-11-28","2026-11-07",true,{"@type":136,"interactionType":137,"userInteractionCount":19},"InteractionCounter",{"@type":138},"ViewAction",{"@type":140,"mainEntity":141},"FAQPage",[142,148,152],{"name":143,"@type":144,"acceptedAnswer":145},"What problem does the thesis address for MicroJava learners?","Question",{"text":146,"@type":147},"Most students are unfamiliar with MicroJava and, due to the lack of dedicated tooling, can neither easily check syntax nor execute programs until they build a compiler themselves.","Answer",{"name":149,"@type":144,"acceptedAnswer":150},"Which features does the developed Visual Studio Code extension provide?",{"text":151,"@type":147},"It provides syntax highlighting, bracket matching, error highlighting, program execution inside VS Code, and auto completion, along with realtime feedback to help detect mistakes early.",{"name":153,"@type":144,"acceptedAnswer":154},"How does the thesis enable direct testing of MicroJava programs?",{"text":155,"@type":147},"Through integrated execution and realtime feedback within the editor, students can run and verify MicroJava programs directly in Visual Studio Code.","https://schema.org",{"og:url":118,"og:type":158,"og:title":65,"og:site_name":129,"og:description":66},"article",{"robots":160,"canonical":118},"index,follow",{"doc_id":61,"site_id":75},{"list":163,"token":103},[164,170,177,183,190,196,202,208,215,221],{"doc_id":165,"doc_title":166,"file_type":70,"home_preview_img_url":167,"slug":168,"view_count":19,"category_name":30,"create_tm":169},685653,"Introduction to Programming Languages and Tools of the Trade - Lesson Overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999685614/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=4cxg%2FJs6j5nnD9tpC0FFQbrz50c%3D","introduction-to-programming-languages-and-tools-of-the-trade-lesson-overview",1794016330,{"doc_id":171,"doc_title":172,"file_type":70,"home_preview_img_url":173,"slug":174,"view_count":175,"category_name":30,"create_tm":176},348355,"VSCode ObjectScript HowTo","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229911292538/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=2r%2BtqjCSOwVACyF9VgCs0%2FN8xz4%3D","vscode-objectscript-howto",17,1790072557,{"doc_id":178,"doc_title":179,"file_type":70,"home_preview_img_url":180,"slug":181,"view_count":34,"category_name":30,"create_tm":182},655715,"PlantUML-Mode - UML Drawings - Keystroke Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974776275/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=yonh9YN20YF21hS8ehXcU%2FAaBh8%3D","plantuml-mode-uml-drawings-keystroke-guide",1792963459,{"doc_id":184,"doc_title":185,"file_type":70,"home_preview_img_url":186,"slug":187,"view_count":188,"category_name":30,"create_tm":189},83662,"Kotlin-MP DSL and IR Transformer for Parallelism","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808880174/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=87daARawxqC3WLxcX7%2Baq1vOUbQ%3D","kotlin-mp-dsl-and-ir-transformer-for-parallelism",24,1784189592,{"doc_id":191,"doc_title":192,"file_type":70,"home_preview_img_url":193,"slug":194,"view_count":24,"category_name":30,"create_tm":195},690326,"Infineon TriCore™ Software Development Toolset Highlights - Overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002625533/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=yxwe6274Wy3AV5Xdk2FtnUbZnEU%3D","infineon-tricore-software-development-toolset-highlights-overview",1794163194,{"doc_id":197,"doc_title":198,"file_type":70,"home_preview_img_url":199,"slug":200,"view_count":24,"category_name":30,"create_tm":201},704809,"ME170 - Design for Manufacture - sp2020","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230014375923/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=xVTJn9xOj3xIxF64uO0IvgxiRDc%3D","me170-design-for-manufacture-sp2020",1794625591,{"doc_id":203,"doc_title":204,"file_type":70,"home_preview_img_url":205,"slug":206,"view_count":14,"category_name":30,"create_tm":207},735362,"Volume VII - Utilities","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230034115364/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=7qG%2BMeKdk61OZBAyJ3Ko%2Bh2QC%2F0%3D","volume-vii-utilities",1795460519,{"doc_id":209,"doc_title":210,"file_type":70,"home_preview_img_url":211,"slug":212,"view_count":213,"category_name":30,"create_tm":214},347395,"Programming In C - Part 1 - Introduction","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229911021193/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=aWI1Gr24JUovJBw%2FtvX%2BMYGc29Y%3D","programming-in-c-part-1-introduction",31,1790066769,{"doc_id":216,"doc_title":217,"file_type":70,"home_preview_img_url":218,"slug":219,"view_count":175,"category_name":30,"create_tm":220},489279,"Build a Blog Using Next.js","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229926987259/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=uo3trpq3gWgIRdLubfTQGBzbeBI%3D","build-a-blog-using-nextjs",1790821930,{"doc_id":222,"doc_title":223,"file_type":70,"home_preview_img_url":224,"slug":225,"view_count":91,"category_name":30,"create_tm":226},689133,"The Linux Programmer’s Toolbox - Chapter 4 - Editing and Maintaining Source Files","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001519955/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=tI5thU88q44SMtmKSc56pTbBoUk%3D","the-linux-programmers-toolbox-chapter-4-editing-and-maintaining-source-files",1794097421]