Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Remove leading comments from terminal submission (#1244)#1245

Merged
renkun-ken merged 6 commits intoREditorSupport:masterREditorSupport/vscode-R:masterfrom
gowerc:masterCopy head branch name to clipboard
Feb 1, 2023
Merged

Remove leading comments from terminal submission (#1244)#1245
renkun-ken merged 6 commits intoREditorSupport:masterREditorSupport/vscode-R:masterfrom
gowerc:masterCopy head branch name to clipboard

Conversation

@gowerc
Copy link
Contributor

@gowerc gowerc commented Oct 30, 2022

What problem did you solve?

Code removes leading comments from code submitted to terminal (issue #1244)

(If you have)Screenshot

remove_comments_screencast.webm

@gowerc
Copy link
Contributor Author

gowerc commented Oct 31, 2022

I’m now wondering if this instead should be moved to within expandselction? This current implementation would also strip leading comments off of explicitly highlighted chunks of code, though maybe that’s not an issue, I’m not too sure?

src/selection.ts Outdated Show resolved Hide resolved
Copy link
Member

@renkun-ken renkun-ken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM Thanks!

@renkun-ken renkun-ken merged commit 07fa8fb into REditorSupport:master Feb 1, 2023
@gowerc
Copy link
Contributor Author

gowerc commented Feb 1, 2023

Just wanted to apologies for not getting around to finishing this off myself, we just had a baby daughter which is consuming all my spare time at the moment 😄

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.