Visit the blog, to learn more: http://www.anacodeide.com/blog

Table of content

Keyboard

Symbols panel


The top symbols panel contains all symbols that are necessary for development. Both letter keyboard and action keyboard have their own symbols panel, that enables the user to switch to the non-visible part of the panel without having to scroll. Content of the panel always adapts to the type of file that is currently being open.

HTML/XML

C/C++/PHP

Letters keyboard

The primary input keyboard.

Action keyboard

The secondary input keyboard.

Editig keys

- indent the current line or selection

- move the current line/selection up (CTRL+U)

- move the current line/selection down (CTRL+I)

- copy selected text into the clipboard (CTRL+X)

- copy current line into the clipboard (ALT+L)

- duplicate current line (CTRL+L)

- copy word at the cursor into the clipboard (ALT+W)

- replace word at the cursor with the clipboard content (ALT+R)

- cut selected text into the clipboard (CTRL+X)

- delete current line (CTRL+D)

- revert the last operation (UNDO) (CTRL+Z)

- repeat the last reverted operation (REDO) (CTRL+Y)

Back to top

Edit

Sub menu

Copy - copy selected text into the clipboard (CTRL+X)
Cut - cut selected text into the clipboard (CTRL+X)
Paste - paste the content of the clipboard (CTRL+X)
Move line up - move the current line/selection up (CTRL+U)
Move line down - move the current line/selection down (CTRL+I)
Copy line - copy current line into the clipboard (ALT+L)
Duplicate line - duplicate current line (CTRL+L)
Copy word - copy word at the cursor into the clipboard (ALT+W)
Replace word - replace word at the cursor with the clipboard content (ALT+R)
Delete line - delete current line (CTRL+D)

Back to top

Goto line

Scrolls to specified line.

Back to top

Replace All


Replaces all occurences matching the regex condition with specified text.

Back to top

Tasks


Displays all tasks that have been found in the currently open file. A task can be add by inserting a single line comment starting with the word TODO:
//TODO - handle exception
Click on task line will cause the editor to scroll to the task line.

Back to top

Build Results


Displays last build errors and warnings.

Back to top

Run

HTML files

File will get open by a internal or system browser.

Android project

Anacode does not build or run standalone JAVA applications. It is capable of building an Android project that has the proper folder structure (Eclipse style). You can create a new empty Android project by picking the "New" option from the menu and choosing "Android" in the "Pick file type" dialog. Please use only Latin alphabet letters for the folder name, package name and the project name.

To be able to build an Android project not created using Anacode, the project must have the Eclipse project folder structure, which is as follows:

/ProjectRoot
/assetsfolder that contains all the assets used in the application
/libsfolder that contains all external JAVA libraries (*.jar) and native libraries (*.so)
/resfolder that contains all resources used in the application
/srcfolder that contains all packages and JAVA source files

To build and install an Android application follow these steps:

Anacode will build the project and create an APK. You will be asked whether you want to install the build APK after the build is finished. If you encounter problems during the build, try cleaning the project by deleting the content of the bin folder.

To build a native activity project, please build the native library first by openning the Makefile and hitting run from the menu. In case your Makefile doesn't automatically copy the build library into the appropriate libs folder you have to do so manually prior to the creation of the projects APK.


Java project

To compile java project, just open any source file from the project and hit Run. After the compilation, you will be asked to provide arguments the program should be run with. The program arguments can be changed at any time in the Exec settings menu.

As for projects that where not created by Anacode IDE, the project folder structure must be the one of Eclipse IDE:

/ProjectRoot
/libsfolder that contains all external JAVA libraries (*.jar)
/srcfolder that contains all packages and JAVA source files
/ProjectManifest.xmlthe project manifest file

The ProjectManifest.xml file must contain the following informations:

<?xml version="1.0" encoding="utf-8"?>
<manifest>
<application appname="full package name of the main program class(e.g. com.samples.ReadFile)" ></application>
</manifest>

C/C++

Single C/C++ file

To compile a single C/C++ source file to an executable simply tap on the Run menu item. After the compilation is successfull the result executable will be run. If you would like to change the arguments the program should be run with please navigate to the Exec Settings menu and fill out the name of the executable and run arguments. Exec settings are stored once per folder, therefore please use different folders for different C/C++ projects, otherwise Anacode will always run the last build program.

Makefile file

Building sources using a Makefile is just as simple as building a single source file. Just open the Makefile and hit Run in the menu. After the successful build a dialog popes up asking you to provide the name of the build executable and the arguments to run it with. You can also pick the build target to be a library in which case the build target won't be executed. As for the Exec Settings of the Makefile, the same rules apply as for the single C/C++ file compilation. Settings are stored on a per folder basis, therefore please use separate folder for each project.


The execution settings dialog:

To change the exection settings, please navigate to the Exec settings item in the menu.

Back to top

Export APK

Exports and signs the android aplication with key stored in the configured keystore.

Back to top

FTP upload

Uploads current file to preconfigured server via FTP

Back to top

Settings

Editor

Syntax highlighting

Syntax highlithning settings for all the supported file types.

Text size

Size of the text in the editor.

Background color

Editor background color.

Active line color

Background color of the currently edited line.

Cursor color

Color of the cursor.

Autocomplete

Display the autocomplete suggestion bar.

Autocomplete time

Time to wait after the button press before showing the bar with suggestions.

Android build

Keystore

Sets the keystore and the access password that will be used to sign the APK during export.

Keyboard

HW keyboard key bindings.

FTP

Settings of the FTP servers.

RegEx search

Use regular expressions during search.

Use system browser

Open the HTML files in the predefined system browser after the Run menu click.

Dim display during build

Dim the display light during the android project build to save battery.

Back to top