We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Etsi tuesta

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.

Lue lisää

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

  • 2 vastausta
  • 1 henkilöllä on sama ongelma
  • 4 näyttöä
  • Viimeisin kirjoittaja 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.

Kaikki vastaukset (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.