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

Comment/uncomment lines does not work for .css file #14689

Open
3 of 4 tasks
jzadra opened this issue May 10, 2024 · 3 comments
Open
3 of 4 tasks

Comment/uncomment lines does not work for .css file #14689

jzadra opened this issue May 10, 2024 · 3 comments

Comments

@jzadra
Copy link

jzadra commented May 10, 2024

System details

RStudio Edition : Desktop
RStudio Version : 2024.04.0+735
OS Version      : macOS 14.4.1
R Version       : 4.3.0

Steps to reproduce the problem

Select one or more lines in source editor for a .css file and use Comment/Uncomment Lines

Describe the problem in detail

Nothing happens.

Describe the behavior you expected

Expect lines to be surrounded by .css comment, ie /*...*/

  • I have read the guide for submitting good bug reports.
  • I have installed the latest version of RStudio, and confirmed that the issue still persists.
  • If I am reporting an RStudio crash, I have included a diagnostics report.
  • I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
@jzadra jzadra added bug new New incoming issues, ready for initial review. labels May 10, 2024
@ronblum
Copy link
Contributor

ronblum commented May 13, 2024

@jzadra Thank you for raising this! I assume you mean using the keyboard shortcut? Some of the editing menu items and shortcuts are only available for some file types. I'll switch this to an enhancement to consider.

@ronblum ronblum added source editor enhancement and removed new New incoming issues, ready for initial review. bug labels May 13, 2024
@jzadra
Copy link
Author

jzadra commented May 13, 2024

I primarily use the keyboard shortuct, but neither that or the menu is working. I thought it had worked before, but perhaps I was mistaken. It does work if you are in a {css} chunk in RMarkdowndown with the keyboard shortcut.

@jzadra
Copy link
Author

jzadra commented May 13, 2024

Actually in a CSS chunk in RMD, the comments are HTML comments (<! -- … --> ) as opposed to CSS comments /* ... */ so that may be another issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants