Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Μάθετε περισσότερα

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.