Options – Environment
This chapter describes the environment options you can change to enhance your experience using Nexacro Studio.
From the [Tools – Options] Menu, you can configure the Nexacro Studio development environment.
General
Sets up the general options for Nexacro Studio.
Properties | Description | |
---|---|---|
1 | Working Folder | Designates the folder where new projects will be saved |
2 | items shown in Recently used File | Controls the number of files displayed in the [File – Recent Files] menu |
3 | items shown in Recently used Project File | Controls the number of recently used project items displayed in the [File – Recent Files] menu |
Build
Sets the path for generated output, the order of creating components, and determine whether to use the Auto Generate feature.
Properties | Description | |
---|---|---|
1 | Generate Path | Designates the path to where created files are saved when building projects |
2 | Base Lib Path | Designates the path to default libraries used by the project
|
3 | Z-Order | Generates components according to their Z-order (Default) |
4 | Tab Order | Generates components according to their tab order (the values of the taborderproperty) |
5 | Auto Generate | - Checks the "Auto generate when file saved" option: Auto Generate will be conducted when files are saved. (Default) - Unchecks the "Auto generate when file saved" option: Auto Generate will not be conducted when files are saved. |
6 | Message | - Checks the "Show detail message" option: prints all the messages related to generation - Unchecks the "Show detail message": only prints the messages related to beginning, errors, results and ending of generation (Default) |
7 | Merge | Sets whether to create one JavaScript file by combining the JavaScript files specified in the JSON file. |
Compress
Sets up compression-related options, which apply when you execute the menu [Build > Deploy].
Properties | Description | |
---|---|---|
1 | Compress JS file | Compresses JS files by removing whitespaces and comments |
2 | Code Obfuscation | Obfuscates variable names |
3 | Obfuscate JS file regardless of eval function | Conducts obfuscation regardless of eval function |
4 | Ignore compress files | Specifies a list of files that will be excluded from compression. The list will be stored in the .ignorecompress file, which is located along with the relevant .xprj file. |
5 | Compile File | Encrypts JS files. This option is available only in the Runtime environment. |
With the [Obfuscate JS file regardless of eval function] option checked, Nexacro Studio will obfuscate the variables in JS files while not obfuscating strings within eval functions. Accordingly, applying this option can cause an error in the process of executing the application.
var test = this.Dataset00; trace(eval("te" + "st")); // [object Dataset] #### Obfuscate JS file #### var _d = this.Dataset00; trace(eval("te" + "st")); // ReferenceError: test is not defined
Startup
Controls the behavior of Nexacro Studio when it is started.
Properties | Description | |
---|---|---|
1 | Reopen last open project on Startup | When checked, Nexacro Studio will re-open the last project worked on when it is started |
Auto Recover
Sets up the auto recovery options.
Properties | Description | |
---|---|---|
1 | "Save AutoRecover info every" (checkbox) | When checked, enables the AutoRecover function |
2 | minutes | Defines how often recovery information is saved |
3 | "Make backup (.bak) file" (checkbox) | Sets up whether to create backup files of editing files |
Font and Color
Sets up the font and font color that are used in each Nexacro Studio window.
Properties | Description |
---|---|
Display items | Selects the items whose display font and color are being changed |
Set General | Sets the general value |
Font | Select font |
Font Style | Sets font style |
Size | Sets font size |
Script | Sets the language scripts that can be used in the selected font |
Foreground | Sets the font color |
Background | Sets the font background color |
Strike Out | If checked, causes text to be displayed in "strike through" |
Underline | If checked, causes text to be underlined |
Tab Size | Sets the tab size |
Indent Size | Sets the indent size |
Insert Spaces | When selected, causes tabs to be converted to spaces |
Keep Tabs | When selected, causes tabs to be maintained as tabs |
View Indentation Guide | When selected, caused the indentation guide to be displayed |
Auto Indent | When selected, enables automatic indenting |
Preview | Displays sample text formatted as specified by the options selected |
Project Explorer
Sets options for the Project Explorer window.
Properties | Description | |
---|---|---|
1 | FDL Parsing (project open) | Displays the contents of FDL after analysis when opening a project: • None (only filename): Do not display FDL contents • All: Display all FDL contents • Services: Display the FDL contents of selected services only |
2 | Show Title | Controls whether to display title text: • At Project Explorer: Displays the title text information in FDL on Project Explorer • At Child Tab : Displays the title text information in FDL on the tab of the editing screen |
Script
Sets up the options used in script editing screen.
Properties | Description | |
---|---|---|
1 | Remove function body when set empty string to event property (checkbox) | Sets up whether to delete function when event is deleted in properties |
2 | IntelliSense items | Sets up the number of items displayed in the IntelliSense list |
Launch
Option used when launching a Nexacro Studio project.
Properties | Description | |
---|---|---|
Does not display the popup menu at Launch Nexacro Platform (checkbox) | Sets up whether to display the popup menu related to source in the launched Nexacro Platform (Runtime) |
The context menu appearing when executing Nexacro Platform Runtime Quick View is as follows. It is not supported when executing through a web browser.
Menu | Feature |
---|---|
Reload | Refresh the current screen. You can view revised content on Nexacro Studio on a screen where Quick View is not turned on. |
View Source | Source code of the executed Nexacro Platform applications is shown in Nexacro Studio. You can use it when manipulating several forms with a menu. |
Always on Top | The application being executed is fixed at the highest-level area of Windows |
Business Service
Sets the options related to business services.
Menu | Description | |
---|---|---|
1 | Load business service layout information on Startup | Determines whether to load business services when opening a project. |
2 | Use user-defined metadata | This option is targeted for the "metadata" service type. It determines whether metadata is used to specify the value of the id and text property. |
Options – Debugging
Sets up options related to debugging.
General
Configure general options related to debugging
Properties | Description | |
---|---|---|
1 | Show message of error (checkbox) | Displays the error context on the output window |
2 | Show message of warning (checkbox) | Displays the warning context on the output window |
Options – Form Design
Sets up options related to the Design Window.
General
Configures general options for Form Design.
Properties | Description |
---|---|
Max Undo | The maximum number of changes than can be undone |
Default Width | The default width when creating a new form |
Default Height | The default height when creating a new form |
Dot Grid Size | The dot grid size to be displayed on the canvas of the Design window |
Display Dot Grid | When checked, the dot grid will be displayed on the canvas of the Design window |
Snap to dots when move Control | When checked, the magnetic function will be enabled and will align controls with dots when moving them on the canvas |
Snap to other components when move control | When checked, the magnetic function will be enabled and will align controls with other components when moving controls on the canvas |
Display Ruler | When checked, the ruler will be displayed on the Design window canvas |
Display Guide Lines | When checked, guidelines will be displayed on the Design window canvas |
Display current mouse position | When checked, the coordinates of the mouse pointer will be displayed on the Design window canvas |
When you select a component and move the component using an arrow key, the movement will be made as far as the pixel number specified in the Dot Grid Size property. For example, if you set Dot Grid Size at 8, you will move a component 8 pixels every time you press an arrow button. You can make an 1-pixel movement if you hit an arrow key with the Ctrl key pressed.
Paste Special
Configures the availability of options under "Paste Special" in Form Design.
Properties | Description |
---|---|
Property (Normal) | Paste general properties |
Property (Style) | Paste style properties |
User Property | Paste user properties |
Event | Paste event(s) |
Bind Item | Paste bind item(s) |
Init Value | Paste InitValue information |
Layout Manager
Sets up options for the Layout Manager.
Properties | Description | |
---|---|---|
1 | Layout Tab Style | Specifies location of the Layout tab control |
2 | Display Edit Step | Displays the edit step of the current editing task |
Position Unit
Set up the units for measuring the position when generating a component in a form. The values designated in Options serve as defaults when generating a form.
Options - External Tools
Designate options that allow external applications to execute directly. Registered programs can be executed directly from the toolbar or menu.
The following illustrates launching Notepad directly from the toolbar.
Options – Source Control
Set up source control options. This option is displayed only when available source control software is installed on user’s computer. What source control systems are supported?
Properties | Description |
---|---|
Source Control Management Type | Selects which of the source control applications installed on the user’s computer will be applied to projects |
Options | Sets which source control options will be applied (based on the selected source control application) |