Skip to content

supress auto-opening quote in roxygen comment#328

Merged
andycraig merged 1 commit intoREditorSupport:masterfrom
gowerc:fix-roxygen-comment
May 23, 2020
Merged

supress auto-opening quote in roxygen comment#328
andycraig merged 1 commit intoREditorSupport:masterfrom
gowerc:fix-roxygen-comment

Conversation

@gowerc
Copy link
Copy Markdown
Contributor

@gowerc gowerc commented May 17, 2020

What problem did you solve?
#327

(If you have)Screenshot

2020-05-17 17 10 45

Gif to show change still allows single quotes to auto complete when not following a # symbol

Couldn't find any related tests connect to auto-bracketing but please let me know if there are some that I've missed.

Couldn't see anyway of adding context to the auto-bracketing file so decided to make a new auto-bracket specifically for roxygen comments which simply doesn't have any closing tag. Please let me know if there is a better way of doing this

@renkun-ken
Copy link
Copy Markdown
Member

renkun-ken commented May 18, 2020

This works nicely. @andycraig Do you think if anything more should be added?

@andycraig
Copy link
Copy Markdown
Collaborator

@gowerc Thank you!

@gowerc @renkun-ken I don't know of any way to automate a test for this either so I don't think anything else needs to be added.

@andycraig
Copy link
Copy Markdown
Collaborator

LGTM. Thank you @gowerc!

@andycraig andycraig merged commit e3a19d4 into REditorSupport:master May 23, 2020
@gowerc gowerc deleted the fix-roxygen-comment branch September 6, 2023 13:11
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.

3 participants