diff --git a/eclipse/index.html b/eclipse/index.html index c598d0a8f..60b4fe52c 100644 --- a/eclipse/index.html +++ b/eclipse/index.html @@ -1,9 +1,9 @@
John J. Camilleri
-Updated: 8 Feb 2012
The research leading to these results has received funding from the European Union’s Seventh Framework Programme (FP7/2007-2013) under grant agreement n° FP7-ICT-247914.
+The research leading to these results has received funding from the European Union’s Seventh Framework Programme (FP7/2007-2013) under grant agreement no. FP7-ICT-247914.
This documentation is also available at the MOLTO Project Wiki.
@@ -27,12 +27,10 @@ Updated: 8 Feb 2012PATH environment variable(External) you can safely delete this via the Eclipse Project Explorer. It is no longer used in GFEP >= 1.2.3gfep.log then you can safely delete it from your system. As of version 1.2.4, GFEP uses Eclipse’s standard log file at .metadata/.log(External) you can safely delete this via the Eclipse Project Explorer. It is no longer used in GFEP ≥ 1.2.3gfep.log then you can safely delete it from your system. As of version 1.2.4, GFEP uses Eclipse’s standard log file at <workspace>/.metadata/.logSome steps you can follow to get a feel of of the plugin’s features.
-

Use the GF Module wizard from File → New → Other → GF Module:

If asked whether you want to add the Xtext nature to your project, you can safely say No (this prompt has been removed in newer versions).
+You can find some small examples at http://www.grammaticalframework.org/eclipse/examples/. Download the +files and manually add them to your Eclipse workspace to experiment with some of the plugin features.
-You can find some small examples at http://www.grammaticalframework.org/eclipse/examples/. Download the -files and manually add them to your Eclipse workspace to experiment with some of the plugin features.
You can change your syntax colouring styles as you wish from Window → Preferences → Grammatical Framework → Syntax Coloring
You can change your syntax colouring styles as you wish from Window → Preferences → Grammatical Framework → Syntax Coloring

Use Eclipes’ own features to drag and drop your editor tabs to suit your needs.

cat definition for example will produce warnings and/or errors in other the modules.The Outline view in the bottom-right offers a quite overview of your module structure. Clicking any of the terms will make your cursor jump to that point in the file.
+ +Notice how changing a cat definition for example will produce warnings and/or errors in other the modules.

Use the built-in code formatter to tidy your code automatically. Right-click in the editor and choose Format or use the keyboard shortcut Ctrl+Shift+F.

Set up a launch configuration from Run → Run Configurations… → Grammatical Framework. You will see the dialog below with some fields automatically filled in for you.

Run the launch config and you will see the output from the GF compiler in the console view within Eclipse.

Using the Run → Run As → Compile with GF shortcut will take the current selection or active editor and do one of two things:
+ +The plugin provides its own console view named GFEP Log, which shows log messages based on the Log Level preference (Window → Preferences → Grammatical Framework).
-Additionally, everytime a grammar is Run a new console is opened to display the output. This console may also serve as the interactive GF Shell, depending on the Interactive Mode checkbox in your Run Configuration.
+Additionally, every time a grammar is Run a new console is opened to display the output. This console may also serve as the interactive GF Shell, depending on the Interactive Mode checkbox in your Run Configuration.
Eclipse does not make it obvious when multiple console windows open; click on the Display Selected Console button to switch between open consoles:
![]()
If the process associated with a console window has terminated, it will be indicated in the upper-left corner as below. Such console windows can then be closed using the gray cross button:
+ +
The Eclipse console implementation does not support command history (up arrow) or auto-completion (tab).
-The GFEP writes to the Eclipse platform log. This can be accessed in two ways:
+ +<workspace>/.metadata/.logYou can set the log verbosity from Window → Preferences → Grammatical Framework.
-For validation to work correctly, the project’s Build Automatically option should be turned on.
@@ -268,7 +264,7 @@ files and manually add them to your Eclipse workspace to experiment with some ofSometimes you may get an entire file marked with errors, even though in fact there is only a single error which is causing the internal builder to fail. In such cases referring to the Problems view should help you locate the cause. This issue is particularly relevant when changes made to one module may induce errors in its descendants (e.g. renaming a parameter in a resource module). This behaviour will hopefully be improved in future versions.
-The GFEP writes to the Eclipse platform log. This can be accessed in two ways:
- -workspace/.metadata/.log