Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A ambienttalk
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 28
    • Issues 28
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • AmbientTalkAmbientTalk
  • ambienttalk
  • Wiki
  • Eclipse Plugin

Eclipse Plugin · Changes

Page history
Image links authored Mar 16, 2015 by Dries Harnie's avatar Dries Harnie
Hide whitespace changes
Inline Side-by-side
Eclipse-Plugin.markdown
View page @ ab4163af
......@@ -23,17 +23,17 @@ IdeAT can be directly installed from within Eclipse.
First go to "Help -> Install New Software...->Available Software" and cliclk "Add.." to add a new site.
plugin/availableSoftware.png
![plugin/availableSoftware](plugin/availableSoftware.png)
Enter a name and the following URL on the "Location" field and click "OK" button.
`http://soft.vub.ac.be/eclipse/update-site/`
plugin/addSite.png
![plugin/addSite](plugin/addSite.png)
You should then see "IdeAT" offered for installation. Click on the "Next ..." button and follow the instructions from there.
plugin/install.png
![plugin/install](plugin/install.png)
# Updates
......@@ -57,7 +57,7 @@ IdeAT does not provide a particular item to create an AmbientTalk project. An Am
The following figure shows a simple test project which includes three AmbientTalk files: halloWorld.at, concurrentHalloWorld.at and util.at. The Eclipse console shows the result of the execution of the halloWorld.at file.
plugin/halloWorldExample.png
![plugin/halloWorldExample](plugin/halloWorldExample.png)
Note that the test project is a Java project but the src folder is empty as this example does not contain any Java code.
......@@ -65,15 +65,15 @@ For now, to run an AmbientTalk application you can right click an .at file and "
The following figure shows the contents of the concurrentHalloWorld.at file. The result of its execution is shown in the Eclipse console.
plugin/concurrentHalloWorldExample.png
![plugin/concurrentHalloWorldExample](plugin/concurrentHalloWorldExample.png)
This example implements a "hello World" involving two actors. Note that to import futures one can use / which is bound by default to the atlib included with the plugin. In order to refer to other files on the current ambientTalk project, one can use ~. In this example, concurrentHalloWorld.at imports the util.at file which simply defines a sayHallo() method as shown below.
plugin/utilExample.png
![plugin/utilExample](plugin/utilExample.png)
You can also evaluate a piece of code on the fly in a running IAT or a new one. To do so, select a the piece of code in the editor, right click and select the "Run Snippet On" option. This option lists all running IATs and a default "New..." option to run the snippet in a newly created IAT. The following picture shows you how to run the util.at code using this feature.
plugin/runSnippetOnExample.png
![plugin/runSnippetOnExample](plugin/runSnippetOnExample.png)
Note that each Eclipse Console is named with the run configuration name ( set to the at file if the program was run with Run As.. -> AmbientTalk Application") and an iat identifier. In this example, we previously run halloWorld.at and concurrentHalloWorld.at so, two running IAT processes are available apart from the default "New..." option.
......@@ -83,7 +83,7 @@ The editor also supports auto-completion for AmbientTalk statements by means of
One can also create a Run configuration for an AmbientTalk program. Select the menu item "Run -> Run Configurations.." then double-click "AmbientTalk Application". You must set the "Program" to an at file. In the screenshot we set it to halloWorld.at.
plugin/runConfiguration.png
![plugin/runConfiguration](plugin/runConfiguration.png)
The Arguments tab in "Run configuration.." allows to configure two different kinds of parameters:
1. AmbientTalk VM parameters:
......@@ -93,7 +93,7 @@ The Arguments tab in "Run configuration.." allows to configure two different kin
1. command line parameters to IAT such as -n ([see the command line parameters page for further info](Command-Line-Parameters)).
1. Java VM arguments passed to the Java VM launching IAT.
plugin/argumentTab.png
![plugin/argumentTab](plugin/argumentTab.png)
ArgumentTab shows the default values set for the IdeAT plugin, which are defined in the Preference Page (as explained later). You can select your custom location for a particular file/folder by clicking in the "Other:" radio button which enables the "File System.." and "Workspace..." buttons. The first one allows you to select a file/directory external to the Eclipse workspace, while the latter allows you to browse for a file/folder in the Eclipse workspace. For example, the screenshot above shows that AT_INIT variable is set to the init.at file from the workspace test-2 project.
......@@ -110,7 +110,7 @@ If would like to add a new namespace slot to the default ones, you should set th
To customize the ideAT plugin go to Eclipse->Preferences..->IdeAT
plugin/preferencePage.png
![plugin/preferencePage](plugin/preferencePage.png)
One can customize the default location of the AT_HOME and AT_INIT variables, and atlib directory.
Their value can be set to a file/directory external to the Eclipse workspace (by means of the "File System..." button) or a file/folder in the Eclipse workspace (by means of the "Workspace..." button).
......@@ -119,7 +119,7 @@ Note that changing this values affects **all** run configurations. These values
The ideAT preferences contains a dedicated page for customizing the editor' syntax highlighting as shown below.
plugin/preferancePageColors.png
![plugin/preferancePageColors](plugin/preferancePageColors.png)
Other properties of the editor can be customized using Eclipse's general preferences. For example:
- if you would like to change the font type or size, go to Preferences->General->Appearance->Color and fonts-> Basic an click the "text font" property.
......
Clone repository
  • Ambient Talk By Example
  • Ambient Talk FAQ
  • Ambient Talk Hello World
  • Android Configuration
  • Annotations
  • Change Log Eclipse Plugin
  • Change Log
  • Command Line Parameters
  • Configuring source code projects
  • Create Distribution
  • Debugging using Causeway
  • Debugging using REME D
  • Design Regularities
  • Developing AmbientTalk Android Applications
  • Eclipse Plugin
View All Pages