question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Semicolon added on paste

See original GitHub issue

I have been working with the deno extension for a few days and I’m very happy with it. However there is something kind of annoying happening. When I copy and paste some text anywhere, regardless of the context, a semicolon is added to the end.

This is very inconvenient when copying names of variables or copying values to arrays, parameters and objects

For example, lets suppose that we want to copy the values of a to b

var a = [1,2,3];
var b = []

The result after the copy is:

var b = [1, 2, 3;]

I disabled all other extensions except deno and this still happening. If deno extension is disabled the semicolon its not added.

I’m not sure if this is a bug but I made some observations:

  • only happens if the file is saved in disk
  • is not added for some keywords, parenthesis and brackets when pasted
  • is added even after the Deno: Disable Deno command
  • doesn’t happen when the paste is more than one line (if not indented)

Thank you very much. If some extra info is required please tell me, I will reply as soon as I can.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

25reactions
JeromeGillcommented, Jan 6, 2022

Turn off the “format on paste” option Screenshot 2022-01-06 at 19 50 46

1reaction
jameshartigcommented, Jan 6, 2021

I’m still having this issue. Deno plugin is 2.3.3 and VSCode is 1.52.1.

https://user-images.githubusercontent.com/112555/103785646-743cc700-5009-11eb-859f-a4fc36f9a5f4.mp4

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cut & Paste of address No Longer Adding semicolon
Hello, Typically when we cut and paste a group of email address, MAilEnable adds the semicolon after each address. Now, it's not.
Read more >
Way to have semicolon automatically added at end of line ...
alt + enter Insert semicolon at the end of line and continue on the new line; ctrl + alt + enter Insert semicolon...
Read more >
VS Code tips — JavaScript › Format: Semicolons - YouTube
Today's VS Code setting: javascript.format. semicolons Configure how the ... add or remove semicolons (default) - insert — Add semicolons at ...
Read more >
Split string using semicolons as delimiters and paste the value ...
Hello Mr. Excel, I have 4 columns A, B, C and D. The strings in column A have semi colons ";" in them....
Read more >
when you Copy and paste semi-colon are put automatically at ...
Currently we are using bex 7 patch 1 and users seem to be having issues when copying and pasting a list in the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found