Patterns of syntax theme customization for code editors

Mark Matthew Sterling, Aidarbek Suleimenov

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Modern software development tools typically provide a syntax highlighting feature to enhance the readability of source code. Syntax highlighting means that different kinds of terms in the text of source code are rendered in visually distinct ways. A syntax theme is a collection of definitions that determine the look of a workspace. Editors and IDEs often let the user customize the syntax theme to their preference and can also provide services for users to share themes within the community. This paper presents a data mining study of a large collection of publicly available syntax themes (approximately 330) associated with a popular open-source text editor. For each theme we collected certain metadata as well as a cascading stylesheet definition. The metadata includes information such as the title of theme, a plain text description, and specific programming languages supported by the theme. For each syntax theme, a preprocessor script creates a feature vector that aggregates data from the theme definition and metadata. Themes are analyzed with both RGB and HSV color models. Analysis shows a variety of significant correlations in the dataset as well general patterns of syntax theme usage. We also discuss how our dataset bears on previously established models of code comprehension.

Original languageEnglish
Title of host publication2018 IEEE 3rd International Conference on Communication and Information Systems, ICCIS 2018
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages173-176
Number of pages4
ISBN (Electronic)9781538692738
DOIs
Publication statusPublished - Feb 19 2019
Event3rd IEEE International Conference on Communication and Information Systems, ICCIS 2018 - Singapore, Singapore
Duration: Dec 28 2018Dec 30 2018

Publication series

Name2018 IEEE 3rd International Conference on Communication and Information Systems, ICCIS 2018

Conference

Conference3rd IEEE International Conference on Communication and Information Systems, ICCIS 2018
CountrySingapore
CitySingapore
Period12/28/1812/30/18

Fingerprint

Metadata
File editors
Computer programming languages
Data mining
Software engineering
Color

Keywords

  • Data mining
  • Syntax highlighting
  • Text editors

ASJC Scopus subject areas

  • Information Systems
  • Computer Networks and Communications

Cite this

Matthew Sterling, M., & Suleimenov, A. (2019). Patterns of syntax theme customization for code editors. In 2018 IEEE 3rd International Conference on Communication and Information Systems, ICCIS 2018 (pp. 173-176). [8644882] (2018 IEEE 3rd International Conference on Communication and Information Systems, ICCIS 2018). Institute of Electrical and Electronics Engineers Inc.. https://doi.org/10.1109/ICOMIS.2018.8644882

Patterns of syntax theme customization for code editors. / Matthew Sterling, Mark; Suleimenov, Aidarbek.

2018 IEEE 3rd International Conference on Communication and Information Systems, ICCIS 2018. Institute of Electrical and Electronics Engineers Inc., 2019. p. 173-176 8644882 (2018 IEEE 3rd International Conference on Communication and Information Systems, ICCIS 2018).

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Matthew Sterling, M & Suleimenov, A 2019, Patterns of syntax theme customization for code editors. in 2018 IEEE 3rd International Conference on Communication and Information Systems, ICCIS 2018., 8644882, 2018 IEEE 3rd International Conference on Communication and Information Systems, ICCIS 2018, Institute of Electrical and Electronics Engineers Inc., pp. 173-176, 3rd IEEE International Conference on Communication and Information Systems, ICCIS 2018, Singapore, Singapore, 12/28/18. https://doi.org/10.1109/ICOMIS.2018.8644882
Matthew Sterling M, Suleimenov A. Patterns of syntax theme customization for code editors. In 2018 IEEE 3rd International Conference on Communication and Information Systems, ICCIS 2018. Institute of Electrical and Electronics Engineers Inc. 2019. p. 173-176. 8644882. (2018 IEEE 3rd International Conference on Communication and Information Systems, ICCIS 2018). https://doi.org/10.1109/ICOMIS.2018.8644882
Matthew Sterling, Mark ; Suleimenov, Aidarbek. / Patterns of syntax theme customization for code editors. 2018 IEEE 3rd International Conference on Communication and Information Systems, ICCIS 2018. Institute of Electrical and Electronics Engineers Inc., 2019. pp. 173-176 (2018 IEEE 3rd International Conference on Communication and Information Systems, ICCIS 2018).
@inproceedings{cbcca93ddc984e538acb6af766a48933,
title = "Patterns of syntax theme customization for code editors",
abstract = "Modern software development tools typically provide a syntax highlighting feature to enhance the readability of source code. Syntax highlighting means that different kinds of terms in the text of source code are rendered in visually distinct ways. A syntax theme is a collection of definitions that determine the look of a workspace. Editors and IDEs often let the user customize the syntax theme to their preference and can also provide services for users to share themes within the community. This paper presents a data mining study of a large collection of publicly available syntax themes (approximately 330) associated with a popular open-source text editor. For each theme we collected certain metadata as well as a cascading stylesheet definition. The metadata includes information such as the title of theme, a plain text description, and specific programming languages supported by the theme. For each syntax theme, a preprocessor script creates a feature vector that aggregates data from the theme definition and metadata. Themes are analyzed with both RGB and HSV color models. Analysis shows a variety of significant correlations in the dataset as well general patterns of syntax theme usage. We also discuss how our dataset bears on previously established models of code comprehension.",
keywords = "Data mining, Syntax highlighting, Text editors",
author = "{Matthew Sterling}, Mark and Aidarbek Suleimenov",
year = "2019",
month = "2",
day = "19",
doi = "10.1109/ICOMIS.2018.8644882",
language = "English",
series = "2018 IEEE 3rd International Conference on Communication and Information Systems, ICCIS 2018",
publisher = "Institute of Electrical and Electronics Engineers Inc.",
pages = "173--176",
booktitle = "2018 IEEE 3rd International Conference on Communication and Information Systems, ICCIS 2018",
address = "United States",

}

TY - GEN

T1 - Patterns of syntax theme customization for code editors

AU - Matthew Sterling, Mark

AU - Suleimenov, Aidarbek

PY - 2019/2/19

Y1 - 2019/2/19

N2 - Modern software development tools typically provide a syntax highlighting feature to enhance the readability of source code. Syntax highlighting means that different kinds of terms in the text of source code are rendered in visually distinct ways. A syntax theme is a collection of definitions that determine the look of a workspace. Editors and IDEs often let the user customize the syntax theme to their preference and can also provide services for users to share themes within the community. This paper presents a data mining study of a large collection of publicly available syntax themes (approximately 330) associated with a popular open-source text editor. For each theme we collected certain metadata as well as a cascading stylesheet definition. The metadata includes information such as the title of theme, a plain text description, and specific programming languages supported by the theme. For each syntax theme, a preprocessor script creates a feature vector that aggregates data from the theme definition and metadata. Themes are analyzed with both RGB and HSV color models. Analysis shows a variety of significant correlations in the dataset as well general patterns of syntax theme usage. We also discuss how our dataset bears on previously established models of code comprehension.

AB - Modern software development tools typically provide a syntax highlighting feature to enhance the readability of source code. Syntax highlighting means that different kinds of terms in the text of source code are rendered in visually distinct ways. A syntax theme is a collection of definitions that determine the look of a workspace. Editors and IDEs often let the user customize the syntax theme to their preference and can also provide services for users to share themes within the community. This paper presents a data mining study of a large collection of publicly available syntax themes (approximately 330) associated with a popular open-source text editor. For each theme we collected certain metadata as well as a cascading stylesheet definition. The metadata includes information such as the title of theme, a plain text description, and specific programming languages supported by the theme. For each syntax theme, a preprocessor script creates a feature vector that aggregates data from the theme definition and metadata. Themes are analyzed with both RGB and HSV color models. Analysis shows a variety of significant correlations in the dataset as well general patterns of syntax theme usage. We also discuss how our dataset bears on previously established models of code comprehension.

KW - Data mining

KW - Syntax highlighting

KW - Text editors

UR - http://www.scopus.com/inward/record.url?scp=85063166065&partnerID=8YFLogxK

UR - http://www.scopus.com/inward/citedby.url?scp=85063166065&partnerID=8YFLogxK

U2 - 10.1109/ICOMIS.2018.8644882

DO - 10.1109/ICOMIS.2018.8644882

M3 - Conference contribution

T3 - 2018 IEEE 3rd International Conference on Communication and Information Systems, ICCIS 2018

SP - 173

EP - 176

BT - 2018 IEEE 3rd International Conference on Communication and Information Systems, ICCIS 2018

PB - Institute of Electrical and Electronics Engineers Inc.

ER -