[Feature Request] Enable `pretty_print_code()` feature in debug session?

Open
#801 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
r
Domain
cli

Research direction

Start by locating the R implementation of pretty_print_code() and the debug-session path that prints code after each n command. Compare how syntax highlighting is applied outside debugging and define done as having highlighted debugged code while keeping associated printed output distinguishable; the issue names no specific test or file.

Written by the indexing model from the issue text.

Description

Hello,

I'd like to please request for pretty_print_code() to be extended to also work in the debug session?

Currently, when debugging, with every n a new line of R code is printed, but this code doesn't have any syntax highlighting in the console. Having syntax highlighting would help differentiate the code from the printed output associated with the code.

Dominant language
R
Stars
726
Forks
94
Avg merge
3h 35m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from r-lib/cli

All issues in r-lib/cli

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.