-
Notifications
You must be signed in to change notification settings - Fork 118
Pressing return after back-ticks does not jump to new line, selects first result of intellisense #276
Pressing return after back-ticks does not jump to new line, selects first result of intellisense #276
Comments
Thanks for raising this @mmckinley8 I appreciate the detailed bug report. I have noticed this too, but sadly not have time to look at it. This repo are looking for contributors at the moment. Did you want to contribute to fixing this bug? The logic lives here and we have a contributing guide also When I tried to quickly fix it in the past I noticed sometimes VSCodes’ competitions take precedence and I couldn’t find a way to remove that. |
👋 @jrieken do you know how we can override completions so that ours will be top? Even though we add our snippet in directly it’s sometime halfway down the list. |
@mmckinley8 is this still an issue in the latest version? |
microsoft/typescript-styled-plugin#157 should help with this |
@emfresh2o im not sure I understand your problem. Could you post a video here? |
I was facing the same problem. Install vscode-styled-components on visual code extension |
Describe the bug (including copyable syntax)
When creating a styled component, pressing return after a back tick does not add a space and auto-indent the way it should. In fact, it selects the first result from intellisense and does not jump to the next line. This is a very glaring issue and slows down productivity.
Screenshot
Atom (how it should behave):
VS Code:
To Reproduce
Create a styled components, press enter after back tick
Expected behavior
I expect the trailing back tick to jump two lines below the leading, and the cursor to be indented on the line in between the back ticks.
Build environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: