Mozilla サポートの検索

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.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

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

  • 2 件の返信
  • 1 人がこの問題に困っています
  • 4 回表示
  • 最後の返信者: 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.

すべての返信 (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.