prettifyAddins: 'RStudio' Addins to Prettify 'JavaScript', 'C++', 'Python', and More

Provides 'RStudio' addins to prettify 'HTML', 'CSS', 'SCSS', 'JavaScript', 'JSX', 'Markdown', 'C(++)', 'LaTeX', 'Python', 'Julia', 'XML', 'Java', 'JSON', 'Ruby', and to reindent 'C(++)', 'Fortran', 'Java', 'Julia', 'Python', 'SAS', 'Scala', 'Shell', 'SQL' and "TypeScript". Two kinds of addins are provided: 'Prettify' and 'Indent'. The 'Indent' addins only reindent the code, while the 'Prettify' addins also modify the code, e.g. trailing semi-colons are added to 'JavaScript' code when they are missing.

Getting started

Package details

AuthorStéphane Laurent [aut, cre], James Long and contributors [cph] ('Prettier' library), Zeb Zhao [cph] ('indent.js' library), Marijn Haverbeke [cph] ('CodeMirror' library), George Leslie-Waksman and other contributors [cph] ('sql-formatter' library), Austin Cheney [cph] ('prettydiff' library), John Schlinkert [ctb, cph] (word-wrap)
MaintainerStéphane Laurent <laurent_step@outlook.fr>
LicenseGPL-3
Version2.6.1
URL https://github.com/stla/prettifyAddins
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("prettifyAddins")

Try the prettifyAddins package in your browser

Any scripts or data that you put into this service are public.

prettifyAddins documentation built on Sept. 14, 2023, 5:06 p.m.