Skip to content
This repository has been archived by the owner on Apr 3, 2018. It is now read-only.

Commit

Permalink
Headers and some minor templated name fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
bruno-medeiros committed Feb 3, 2015
1 parent 5b040e4 commit 319e436
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 15 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -12,9 +12,9 @@ See project page ( LANG_IDE_SITE ) for user information.
#### Running the tests in Eclipse:

#### Automated Building and Testing:
Using Maven (and Tycho), it is possible to automatically build DDT, create an update site, and run all the tests. Download [Maven](http://maven.apache.org/) (minimum version 3.0), and run the following commands on the root folder of the repository:
* Run `mvn package` to build the DDT feature into a p2 repository (which is a local update site). It will be placed at `bin-maven/features.repository/repository`
* Run `mvn integration-test` to build DDT as above and also run the test suites. You can do `mvn integration-test -P TestsLiteMode` to run the test suites in "Lite Mode" (skip certain long-running tests).
Using Maven (and Tycho), it is possible to automatically build LANG_IDE_NAME, create an update site, and run all the tests. Download [Maven](http://maven.apache.org/) (minimum version 3.0), and run the following commands on the root folder of the repository:
* Run `mvn package` to build the LANG_IDE_NAME feature into a p2 repository (which is a local update site). It will be placed at `bin-maven/features.repository/repository`
* Run `mvn integration-test` to build LANG_IDE_NAME as above and also run the test suites. You can do `mvn integration-test -P TestsLiteMode` to run the test suites in "Lite Mode" (skip certain long-running tests).

#### Creating and deploying a new release:
A release is a web site with an Eclipse p2 update site. The website may contain no web pages at all, rather it can be just the p2 site. To create and deploy a new release:
Expand Down
@@ -1,3 +1,13 @@
/*******************************************************************************
* Copyright (c) 2014, 2015 Bruno Medeiros and other Contributors.
* 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:
* Bruno Medeiros - initial API and implementation
*******************************************************************************/
package LANG_PROJECT_ID.ide.ui.text;

import java.util.ArrayList;
Expand All @@ -20,7 +30,6 @@ public class LANGUAGE_CodeScanner extends AbstractLangScanner {
LANGUAGE_ColorPreferences.DEFAULT.key,
LANGUAGE_ColorPreferences.KEYWORDS.key,
LANGUAGE_ColorPreferences.KEYWORDS_VALUES.key,
LANGUAGE_ColorPreferences.OPERATORS.key
};

public LANGUAGE_CodeScanner(ITokenStoreFactory factory) {
Expand All @@ -34,7 +43,6 @@ protected List<IRule> createRules() {
IToken tkOther = getToken(LANGUAGE_ColorPreferences.DEFAULT.key);
IToken tkKeywords = getToken(LANGUAGE_ColorPreferences.KEYWORDS.key);
IToken tkKeywordValues = getToken(LANGUAGE_ColorPreferences.KEYWORDS_VALUES.key);
IToken tkOperators = getToken(LANGUAGE_ColorPreferences.OPERATORS.key);

// Add generic whitespace rule.
rules.add(new WhitespaceRule(new LangWhitespaceDetector()));
Expand All @@ -48,9 +56,6 @@ protected List<IRule> createRules() {
wordRule.addWord("false", tkKeywordValues);


wordRule.addWord("==", tkOperators);
wordRule.addWord("!=", tkOperators);

rules.add(wordRule);

setDefaultReturnToken(tkOther);
Expand Down
@@ -1,3 +1,13 @@
/*******************************************************************************
* Copyright (c) 2014, 2015 Bruno Medeiros and other Contributors.
* 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:
* Bruno Medeiros - initial API and implementation
*******************************************************************************/
package LANG_PROJECT_ID.ide.ui.text;
import org.eclipse.swt.graphics.RGB;

Expand All @@ -13,8 +23,6 @@ public interface LANGUAGE_ColorPreferences {
true, new RGB(0, 0, 127), true, false, false);
ColoringItemPreference KEYWORDS_VALUES = new ColoringItemPreference(PREFIX + "keyword_literals",
true, new RGB(0, 0, 127), false, false, false);
ColoringItemPreference OPERATORS = new ColoringItemPreference(PREFIX + "operators",
true, new RGB(120, 0, 127), false, false, false);

ColoringItemPreference STRINGS = new ColoringItemPreference(PREFIX + "string",
true, new RGB(130, 60, 0), false, false, false);
Expand Down
@@ -1,12 +1,12 @@
/*******************************************************************************
* Copyright (c) 2011, 2014 IBM Corporation and others.
* Copyright (c) 2014, 2015 Bruno Medeiros and other Contributors.
* 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:
* Bruno Medeiros - initial API and implementation
*******************************************************************************/
package LANG_PROJECT_ID.ide.ui.text;

Expand Down
@@ -1,3 +1,13 @@
/*******************************************************************************
* Copyright (c) 2014, 2015 Bruno Medeiros and other Contributors.
* 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:
* Bruno Medeiros - initial API and implementation
*******************************************************************************/
package LANG_PROJECT_ID.ide.ui.text;

import melnorme.lang.ide.ui.TextSettings_Actual.LangPartitionTypes;
Expand Down
Expand Up @@ -4,13 +4,13 @@
public abstract class LangUIMessages_Actual {

public static String InitializeAfterLoadJob_starter_job_name
= "Starting D UI Plugin initialization";
= "Starting LANGUAGE UI Plugin initialization";
public static String LangPlugin_initializing_ui
= "Initializing D UI Plugin";
= "Initializing LANGUAGE UI Plugin";

public static String error_selectProject
= "Select a project.";
public static String error_notAValidProject
= "Not a valid D project.";
= "Not a valid LANGUAGE project.";

}

0 comments on commit 319e436

Please sign in to comment.