Skip to content

Commit

Permalink
v0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonynorth committed Mar 23, 2020
1 parent e6ca267 commit e781c9a
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 17 deletions.
9 changes: 6 additions & 3 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
^rscodeio\.Rproj$
# dot-files
^\..*$

# rstudio
^.*\.Rproj$
^\.Rproj\.user$
\.editorconfig
\.vscode

^LICENSE\.md$
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: rscodeio
Title: A VSCode skin for RStudio.
Version: 0.0.1
Title: A VSCode skin for RStudio
Version: 0.1.0
Authors@R: c(person("Anthony", "North", email = "[email protected]", role = c("aut", "cre")),
person("Miles", "McBain", email = "[email protected]", role = "ctb"))
Description: It really just modifies RStudio presentation.
Expand All @@ -11,4 +11,4 @@ LazyData: true
Imports:
fs,
rstudioapi
RoxygenNote: 6.1.1
RoxygenNote: 7.1.0
25 changes: 18 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@
<img src="./inst/media/rscodeio.png" width="480" height="270">
</p>

<p align="center">
<a href="https://cran.r-project.org/package=rscodeio">
<img src="https://img.shields.io/cran/l/rscodeio?style=flat-square" alt="cran">
</a>
<a href="https://github.com/anthonynorth/rscodeio/releases/latest">
<img src="https://img.shields.io/github/v/release/anthonynorth/rscodeio?sort=semver&style=flat-square" alt="release">
</a>
<a href="https://www.tidyverse.org/lifecycle/#experimental">
<img src="https://img.shields.io/badge/lifecycle-experimental-orange?style=flat-square" alt="lifecycle" />
</a>
</p>

# rscodeio

An RStudio theme inspired by Visual Studio Code.
Expand All @@ -20,12 +32,12 @@ remotes::install_github("anthonynorth/rscodeio")

`rscodeio` modifies the theme of RStudio menus. These are not exposed by the current theming API and so this is achieved by modifying style sheets in the RStudio installation. To modify files in this area will likely require the installation to be run with administrator privileges. To do this:

* On Windows start RStudio by right clicking on a shortcut or menu icon and selecting 'Run as Administrator'
* On Linux start RStudio in a terminal using `sudo rstudio --no-sandbox`
* On Mac this is not required. Theming the menus is not supported.
- On Windows start RStudio by right clicking on a shortcut or menu icon and selecting 'Run as Administrator'
- On Linux start RStudio in a terminal using `sudo rstudio --no-sandbox`
- On Mac this is not required. Theming the menus is not supported.
- They're inherited from OS so might want to use your dark OS theme.

From within RStudio running as administrator, run this command to install and apply the theme:
From within RStudio running as administrator, run this command to install and apply the theme:

```
rscodeio::install_theme()
Expand All @@ -37,7 +49,7 @@ Once installed it can also be selected using the RStudio theme picker in the usu

# For best results

- Enable: Tools -> Global Options -> Code -> Display -> Highlight R Function Calls
- Enable: Tools -> Global Options -> Code -> Display -> Highlight R Function Calls
- Enable: Tools -> Global Options -> Code -> Display -> Show Syntax Highlighting in Console
- Enable: Tools -> Global Options -> Code -> Display -> Show Indent Guides
- Enable: Tools -> Global Options -> Code -> Display -> Highlight Selected Line
Expand All @@ -48,5 +60,4 @@ Once installed it can also be selected using the RStudio theme picker in the usu

# Supported Platforms

`rscodeio` has only been tested on Windows and Pop!_OS Linux so far. Feedback from other platforms welcome.

`rscodeio` has only been tested on Windows and Pop!\_OS Linux so far. Feedback from other platforms welcome.
15 changes: 11 additions & 4 deletions man/install_theme.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e781c9a

Please sign in to comment.