Skip to content

Commit

Permalink
GH-2603: As a smith I want to migrate some Xtend files to Java (part …
Browse files Browse the repository at this point in the history
…8) (#2605)

* some migrations

* migrate formatter

* more migrations

* migrate migrate

* migrate migrate

* some fixes

* fix recursion

* fix recursion

* fix wrong cast

* migrate migrate

* migrate migrate

* fix

* migrate migrate

* migrate migrate

* migrate migrate

* migrate migrate

* migrate migrate

* migrate

* fix

* migrate N4JSScopeProvider

* migrate migrate

* migrate MemberScopingHelper

* migrate migrate

* migrate migrate

* fix

* migrate more

* migrate

* fix

* migrate

* migrate

* migrate

* migrate

* my great migrate

* migrate

* migrate the migratable

* migrate

* migrate

* migrate
  • Loading branch information
mmews-n4 authored Mar 7, 2024
1 parent f2b2ce1 commit 9ba8677
Show file tree
Hide file tree
Showing 138 changed files with 18,443 additions and 15,564 deletions.

Large diffs are not rendered by default.

This file was deleted.

2,379 changes: 2,379 additions & 0 deletions plugins/org.eclipse.n4js/src/org/eclipse/n4js/formatting2/N4JSFormatter.java

Large diffs are not rendered by default.

1,441 changes: 0 additions & 1,441 deletions plugins/org.eclipse.n4js/src/org/eclipse/n4js/formatting2/N4JSFormatter.xtend

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/**
* Copyright (c) 2016 NumberFour AG.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* NumberFour AG - Initial API and implementation
*/
package org.eclipse.n4js.formatting2;

import org.eclipse.xtext.formatting2.FormatterPreferenceKeys;
import org.eclipse.xtext.preferences.BooleanKey;
import org.eclipse.xtext.preferences.IntegerKey;

/**
*
*/
public class N4JSFormatterPreferenceKeys extends FormatterPreferenceKeys {
/***/
public static BooleanKey FORMAT_PARENTHESIS = new BooleanKey("format.parenthesis", false);
/***/
public static BooleanKey FORMAT_SURROUND_PAREN_CONTENT_WITH_SPACE = new BooleanKey(
"format.surround_paren_content_with_space", false);
/***/
public static IntegerKey FORMAT_MAX_CONSECUTIVE_NEWLINES = new IntegerKey("format.max_consecutive_newlines", 2);
/***/
public static BooleanKey FORMAT_SWITCH_CASES_HAVE_SPACE_IN_FRONT_OF_COLON = new BooleanKey(
"format.switch_cases_have_space_in_front_of_colon", false);
/***/
public static BooleanKey FORMAT_AUTO_WRAP_IN_FRONT_OF_LOGICAL_OPERATOR = new BooleanKey(
"format.auto_wrap_in_front_of_logical_operator", true);
/**
* Considering the code <code>import a, {b,c,d} from "xy";</code> a value of <code>true</code> will render an
* additional space after "{" and one before the closing bracket "}" Default value is <code>false</code> and the
* line will be rendered as above.
*/
public static BooleanKey FORMAT_SURROUND_IMPORT_LIST_WITH_SPACE = new BooleanKey(
"format.surround_import_list_with_space", false);

}

This file was deleted.

Loading

0 comments on commit 9ba8677

Please sign in to comment.