Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Pasting returns/newlines as spaces in 'Save as' dialog

  • 2 replies
  • 1 has this problem
  • 4 views
  • Last reply by cor-el

more options

A few versions back (somewhere around 35–36) pasting text with carriage returns/newlines into the File name box would cause those returns/newlines to turn into space characters. I prefer this over the current behavior where only the text before the first return/newline is pasted.

It seems that the "editor.singleLine.pasteNewlines" preference (which I have set to "2") isn't being obeyed.

A few versions back (somewhere around 35–36) pasting text with carriage returns/newlines into the File name box would cause those returns/newlines to turn into space characters. I prefer this over the current behavior where only the text before the first return/newline is pasted. It seems that the "editor.singleLine.pasteNewlines" preference (which I have set to "2") isn't being obeyed.

All Replies (2)

more options
more options

editor.singleLine.pasteNewlines only applies to single line input fields on a web page, so that won't help in your case.

I assume that spaces should work although you might end up with %20 in some cases, but I don't know about other whitespace characters. It would normally be best to use underscore characters instead of whitespace characters in file names.