Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

WI-9000: Incorrect indent for consecutive case statements.

$
0
0
Reporter Phoenix Zerin (todofixthis) Phoenix Zerin (todofixthis)
Created Dec 14, 2011 10:20:21 PM
Updated Dec 14, 2011 10:20:21 PM
Priority Normal
Type Bug
State Submitted
Assignee Rustam Vishnyakov (rvishnyakov)
Subsystem PHP Formatter
Fix versions No Fix versions
Affected versions 3.0 (111.19)
When I type multiple case statements consecutively in a switch, the indentation is incorrect:

switch( $var )
{
  case 'A':
    case 'B': // Should be re-indented after I type ':' to line up with preceding case statement.
}

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>