Sha256: ea013f4a934701fb935a87f9150881bfc93453f345d5c40ffc38edeb59501a01

Contents?: true

Size: 692 Bytes

Versions: 16

Compression:

Stored size: 692 Bytes

Contents

Feature: Indents Java code correctly

  Background:
    Given the indentation rules are like Java's
    When I open a new edit tab
    And tabs are soft, 2 spaces
    
  Scenario: It should indent else blocks correctly
    Given the content is:
				"""
				  if(condition) {
				    // stuff goes here...
				  } <c>
				"""
    When I type "e"
    Then the content should be:
				"""
				  if(condition) {
				    // stuff goes here...
				  } e<c>
				"""

  Scenario: It should expand blocks
    Given the content is:
				"""
				  if(condition) {<c>}
				"""
    When I insert "\n" at the cursor
    Then the content should be:
				"""
				  if(condition) {
				    <c>
				  }
				"""


Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
redcar-dev-0.12.17dev plugins/auto_indenter/features/java_style_indentation.feature
redcar-dev-0.12.16dev-java plugins/auto_indenter/features/java_style_indentation.feature
redcar-dev-0.12.15dev-java plugins/auto_indenter/features/java_style_indentation.feature
redcar-dev-0.12.14dev-java plugins/auto_indenter/features/java_style_indentation.feature
redcar-dev-0.12.13dev-java plugins/auto_indenter/features/java_style_indentation.feature
redcar-dev-0.12.12dev-java plugins/auto_indenter/features/java_style_indentation.feature
redcar-dev-0.12.11dev-java plugins/auto_indenter/features/java_style_indentation.feature
redcar-dev-0.12.10dev-java plugins/auto_indenter/features/java_style_indentation.feature
redcar-dev-0.12.9dev-java plugins/auto_indenter/features/java_style_indentation.feature
redcar-dev-0.12.8dev-java plugins/auto_indenter/features/java_style_indentation.feature
redcar-dev-0.12.7dev-java plugins/auto_indenter/features/java_style_indentation.feature
redcar-dev-0.12.6dev-java plugins/auto_indenter/features/java_style_indentation.feature
redcar-dev-0.12.4dev-java plugins/auto_indenter/features/java_style_indentation.feature
redcar-dev-0.12.3dev-java plugins/auto_indenter/features/java_style_indentation.feature
redcar-dev-0.12.1dev-java plugins/auto_indenter/features/java_style_indentation.feature
redcar-dev-0.12.0dev-java plugins/auto_indenter/features/java_style_indentation.feature