Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'auto' is inserted after copy-paste #24

Open
balazser opened this issue Apr 24, 2019 · 10 comments
Open

'auto' is inserted after copy-paste #24

balazser opened this issue Apr 24, 2019 · 10 comments

Comments

@balazser
Copy link

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

@aljazsim
Copy link

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

@FatehAK
Copy link

FatehAK commented May 30, 2019

Same here

@petroved
Copy link

+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

@sphynx
Copy link

sphynx commented Jun 5, 2020

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

@AlvaroP95
Copy link

any response??

@stef-levesque
Copy link
Owner

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

@AlvaroP95
Copy link

@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.

@stefanvogel
Copy link

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

@edmunds-s
Copy link

edmunds-s commented Jan 5, 2021

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.

@hitobashira
Copy link

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

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

No branches or pull requests

10 participants