{"title":"Visual Studio Code Extension and Auto-completion for Mizar Language","authors":"Hirota Taniguchi, Kazuhisa Nakasho","doi":"10.1109/CANDAR53791.2021.00033","DOIUrl":null,"url":null,"abstract":"Until now, the editor extension for the Mizar language has been developed as an Emacs plugin. However, since Emacs is an old editor with characteristic key bindings, the number of users has decreased in recent years. For this reason, there is a growing interest in Visual Studio Code as an IDE for interactive theorem provers, and extensions for Lean, Coq, PVS have already been developed. We have developed a new extension for the Mizar language on Visual Studio Code. In this paper, we outline the implementation status of each function and then propose an auto-completion algorithm using n-gram. We measured the reduction rate of keystrokes and the prediction accuracy when 0 to 3 characters are input. As a result, we confirmed that the number of keystrokes can be reduced by 21% and that the correct answer rate within the proposed three candidates exceeds 80% when the user enters two characters. The advantages of our proposed auto-completion algorithm are its ease of implementation and high accuracy.","PeriodicalId":263773,"journal":{"name":"2021 Ninth International Symposium on Computing and Networking (CANDAR)","volume":"98 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 Ninth International Symposium on Computing and Networking (CANDAR)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CANDAR53791.2021.00033","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Until now, the editor extension for the Mizar language has been developed as an Emacs plugin. However, since Emacs is an old editor with characteristic key bindings, the number of users has decreased in recent years. For this reason, there is a growing interest in Visual Studio Code as an IDE for interactive theorem provers, and extensions for Lean, Coq, PVS have already been developed. We have developed a new extension for the Mizar language on Visual Studio Code. In this paper, we outline the implementation status of each function and then propose an auto-completion algorithm using n-gram. We measured the reduction rate of keystrokes and the prediction accuracy when 0 to 3 characters are input. As a result, we confirmed that the number of keystrokes can be reduced by 21% and that the correct answer rate within the proposed three candidates exceeds 80% when the user enters two characters. The advantages of our proposed auto-completion algorithm are its ease of implementation and high accuracy.
到目前为止,Mizar语言的编辑器扩展一直是作为Emacs插件开发的。但是,由于Emacs是一种具有特征键绑定的老编辑器,因此近年来用户数量有所减少。由于这个原因,人们对Visual Studio Code作为交互式定理证明的IDE越来越感兴趣,并且已经开发了Lean、Coq、PVS的扩展。我们在Visual Studio Code上为Mizar语言开发了一个新的扩展。在本文中,我们概述了每个函数的实现状态,然后提出了一个使用n-gram的自动补全算法。我们测量了输入0 ~ 3个字符时的击键减少率和预测精度。结果,我们确认,当用户输入两个字符时,击键次数可以减少21%,并且在建议的三个候选项中,正确率超过80%。本文提出的自动补全算法具有易于实现和精度高的优点。