Wrap lines seems to be broken in the latest build of Sublime Text 3. When I issue the command wrap_lines, lines are wrapped, but the comment slashes (’//’) aren’t taken into account - they aren’t placed neatly at the start of each line as they used to be.
Also, when I press the shortcut for wrap_lines in a PHPDoc block, nothing happens at all.
(This all goes for PHP files).
Examples
// Get existing progress data, as IDs in there may also still need to be converted to // names. $progress_data = $entry->getProgressData(); if (!empty($progress_data['subjects'])) {
becomes
// Get existing progress data, as IDs in there may also still need to be converted to // names. $progress_data = $entry->getProgressData(); if (!empty($progress_data['subjects'])) { $data['subjects'] = $progress_data['subjects'] +
$hospital = reset($hospitals); if ($hospital) { // Only convert ID to name if the subject isn't active.
becomes
$hospital = reset($hospitals); if ($hospital) { // Only convert ID to name if the subject isn't active. // Background info: else we won't be able to recognize to
`/**
- These blocks don’t change at all when the wrap lines command is issued.
*/`