vscode-multiclip icon indicating copy to clipboard operation
vscode-multiclip copied to clipboard

'auto' is inserted after copy-paste

Open balazser opened this issue 5 years ago • 10 comments

If I copy a line using vscode-multiclip and paste it then an auto text is joined to my first copied text.

for example I copied the line test and after paste it became testauto.

vscode version: Version 1.33.1 (1.33.1) multiclip version: 0.1.5

balazser avatar Apr 24 '19 08:04 balazser

I'm experiencing the same issue. Otherwise the plugin is great. Awesome job!

aljazsim avatar May 16 '19 12:05 aljazsim

Same here

FatehAK avatar May 30 '19 11:05 FatehAK

+1 VS code:

Version: 1.35.1 Commit: c7d83e57cd18f18026a8162d042843bda1bcf21f Date: 2019-06-12T14:27:31.086Z Electron: 3.1.8 Chrome: 66.0.3359.181 Node.js: 10.2.0 V8: 6.6.346.32 OS: Linux x64 4.4.0-145-generic

multiclip version: 0.1.5

petroved avatar Sep 21 '19 11:09 petroved

The same issue here. It looks like this extension has been abandoned?

sphynx avatar Jun 05 '20 12:06 sphynx

any response??

AlvaroP95 avatar Sep 04 '20 17:09 AlvaroP95

I can't repro this issue on VSCode 1.49. I would need more context.

stef-levesque avatar Sep 11 '20 02:09 stef-levesque

@stef-levesque

Version: 1.49.0 (user setup) Commit: e790b931385d72cf5669fcefc51cdf65990efa5d Date: 2020-09-10T13:22:08.892Z Electron: 9.2.1 Chrome: 83.0.4103.122 Node.js: 12.14.1 V8: 8.3.110.13-electron.0 OS: Windows_NT x64 10.0.19041

@angular-devkit/core: 9.1.11. "auto" word added in my TypeScript files, HTML, CSS, etc.

I can't repro this issue on VSCode 1.49. I would need more context.

AlvaroP95 avatar Sep 11 '20 13:09 AlvaroP95

Same here. 100% reproducible (VSCode v1.51.0; extension version v0.1.5)

stefanvogel avatar Nov 11 '20 12:11 stefanvogel

extension.ts:19

		if (txt.length === 0) {
			let eol;
			try {
				const files = vscode.workspace.getConfiguration("files");
	19.			eol = files.get("eol","\n");
			} catch (e) {
				eol = "\n";
			}
			txt = d.lineAt(sel.start.line).text + eol ;
		}

I have the same issue. To reproduce it, in VS settings set the end of line to "auto". "files.eol": "auto"

Setting eol to "\n" or "\r\n" alleviates the issue.

edmunds-s avatar Jan 05 '21 13:01 edmunds-s

edmunds-s

thnks. now , I am in troble.

Setting eol to "\n" or "\r\n" alleviates the issue. me, too.

code : 1.78.2 b3e4e68a0bc097f0ae7907b217c1119af9e03435 2023-05-10T14:47:05.613Z Electron: 22.5.2 Chromium: 108.0.5359.215 Node.js: 16.17.1 V8: 10.8.168.25-electron.0 OS: Linux x64 6.2.13-1-MANJARO Sandboxed: No

hitobashira avatar May 16 '23 06:05 hitobashira