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!

Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Ďalšie informácie

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

  • 2 odpovede
  • 1 má tento problém
  • 4 zobrazenia
  • Posledná odpoveď od 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.

Všetky odpovede (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.