Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry BLIND2018-02-22 12:16:49 +0000
committerThierry BLIND2018-02-22 12:16:49 +0000
commite4d2e076bfc349926e73ce51c86887e642709e3d (patch)
tree8769228c7e7bcb88f54a976c4f813e7f97a4217a
parentbf3e43cb3b649bb7015b054c1709468a82e2952a (diff)
downloadorg.eclipse.pdt-e4d2e076bfc349926e73ce51c86887e642709e3d.tar.gz
org.eclipse.pdt-e4d2e076bfc349926e73ce51c86887e642709e3d.tar.xz
org.eclipse.pdt-e4d2e076bfc349926e73ce51c86887e642709e3d.zip
No bug - code formatter: wrong value for the "insert space after postfix
operators" rule Signed-off-by: Thierry BLIND <thierryblind@msn.com>
-rw-r--r--plugins/org.eclipse.php.formatter.core/src/org/eclipse/php/formatter/core/CodeFormatterVisitor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.php.formatter.core/src/org/eclipse/php/formatter/core/CodeFormatterVisitor.java b/plugins/org.eclipse.php.formatter.core/src/org/eclipse/php/formatter/core/CodeFormatterVisitor.java
index f21765a96..b2f6ae30a 100644
--- a/plugins/org.eclipse.php.formatter.core/src/org/eclipse/php/formatter/core/CodeFormatterVisitor.java
+++ b/plugins/org.eclipse.php.formatter.core/src/org/eclipse/php/formatter/core/CodeFormatterVisitor.java
@@ -4501,7 +4501,7 @@ public class CodeFormatterVisitor extends AbstractVisitor implements ICodeFormat
insertSpace();
}
appendToBuffer(PostfixExpression.getOperator(postfixExpressions.getOperator()));
- if (this.preferences.insert_space_before_prefix_expression) {
+ if (this.preferences.insert_space_after_postfix_expression) {
insertSpace();
}
// handle the chars between the variable to the value

Back to the top