Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ux updates #12

Merged
merged 4 commits into from
Aug 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: box.lsp
Title: Provides box-compatibility for languageserver
Version: 0.0.0.9005
Version: 0.0.0.9006
Authors@R:
c(
person("Ricardo Rodrigo", "Basa", role = c("aut", "cre"), email = "[email protected]"),
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# box.lsp 0.0.0.9006

* quality of life chores

# box.lsp 0.0.0.9005

* adds support for modules
Expand Down
5 changes: 4 additions & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ use_box_lsp <- function(file_path = ".Rprofile") {
}
write(to_write, file = file_path, append = TRUE)
cli::cli_alert_success(
"{{box.lsp}} configuration written to {file_path}. Please check the changes made."
c(
"{{box.lsp}} configuration written to {file_path}. Please check the changes made. ",
"A restart of your editor may be necessary for the changes to take effect."
)
)
}, error = function(e) {
cli::cli_abort(e)
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ The code is based on initial work by [Pavel Demin](https://github.com/Gotfrid).
| `pkg[alias = fun]` | &check; | &check; | &check; | 0.0.0.9005 | No documentation |
| `prefix/mod[alias = fun]` | &check; | &check; | &check; | 0.0.0.9005 | No documentation |

![](./man/figures/box.lsp_in_action.gif)

## How to use

1. `box.lsp::use_box_lsp()` to configure your project's `.Rprofile` file.
Expand Down
Binary file added man/figures/box.lsp_in_action.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.