Home > Editor and debugger


Any language if not very good debug tools are not very good promotion, because the complicated procedure, we can not let programmers can only see the final results of it. In the process of running any details should be able to access, control, in order to provide a good development environment.

Integrated development environment (known as IDE) is the editor, compiler, debugger, the operating environment, as well as some auxiliary functions integrated software development environment, such as the VC of the integrated development environment. Integrated development environment can be good for developers to provide the maximum assistance, VC is popular, very important reason is its integrated development environment is very good.



ScriptDev editor support a variety of script editors, feature relatively strong, the main function is as follows:

Editor interface is as follows:

Commissioning the attention of the relevant menu is open only in Tcl, Python, Ruby, Perl, Lua script, and so on, and the installation of the corresponding script development kits circumstances can use the system settings of the extension configuration interface can be configured editor of a number of parameters, Are as follows:

General setup

One explanation is a very important, the default is TclInterp_ScriptNET, and that the default explanation for the console are the same, that is the editor and console default under an interpretation is shared, so the Editor Commissioning of the script, you can see the console in real-time changes in order to achieve the various high-level debug. If the two modules do not want to interfere with each other, you can modify interpreter, and the two places is different.

As the console window does not close normally, so the interpreter console is a long-standing, while the editor of the interpreter instance exists only in the running, running exhausted self-destruct, and then run the script if the next time, may be because of the same name led to the presence of console interpreter interpreter had not been destroyed, the last run result will be retained, resulting in under the influence of time of operation, in order to avoid this effect, you can choose "auto reset terminal's interpreter before run script"option, so that each time you run or debug a script will be put before the console interpreter instances of the same name, reset time, remove the last of the running results.

New document

used to setup a new document the default encoding and line terminator type.

Language style setup

Set the global editor color, font settings, and each language's colors, font settings.

Debug window

In the script debugging process will appear in variables, objects, functions, stack window, select the menu in debugging "Watch breakpoints" option, will be in the lower right leg in the debug window breakpoint list window.

Window Name window Helper window Examples
Variables Can view the global variables, local variables, an array of types of variables after double-click can start to see all the elements of the array, variable double-click on the pop-up dialog can show details.
Objects Can display the current definition of space in all classes and all instances objects, can display object's methods, show class \ object \ methods with three levels, double-click on the method of object can execute the method.
Function Can be used to display all the procudes or functions, in the functions can double-click on the row to view all the parameters.
Stack Can view real-time operation in the process of stack space, in accordance with the hierarchical structure to display, from the current stack has been traced back to the whole stack space, can display the incoming parameters. Some scripts can display the corresponding code line number stack, and can double-click jump to the corresponding row.

Also can be configure the output redirects when run and debug script:

Redirect means that the script output to the standard output in the output ScriptDev to what in the end, ScriptDev can now be exported to the platform to support the output window of a script or standard output (referring to the standard explanation result). Note: Whether here to set up output to the platform in which the window, in the process of script debugging output to a temporary platform will be the standard debugging window (ID 2), the only run the script (rather than debugging) will be the case this output Department designated the window.


Search and replace

Editor support Visual Studio like Find and Replace function, Support the current open file in the search for replacement, as well as for the directory and search for specified types of files to replace, click the search button, the following dialog box will appear:

In the editor, select a text, then click the Find button to open the Find Replace dialog box, find the location shows the currently selected text, location, some have more than one option, if you select "Current Document", said the search for the currently open the contents of the document, you can also select a directory, this directory to find the file type drop-down list complies with the requirements listed in the type of file suffix, file type list box to select an existing type, you can also enter your own wish to find type. According to the case of a directory lookup, find and replace text can also support regular expressions, select the "support regular expressions" option, some common regular expression matching operators can also find, replace, enter box to the right of the drop-down menu options.

Click the "Find All" button, find the following line will appear to the search results window, double-click a line you can jump to the corresponding editor position:



Click left mouse button at margin area of editor to the current row can be added, deleted breakpoint mark, the editor in the debug menu or the toolbar select the "Watch breakpoints" will appear breakpoint list window:

Double-click a line breakpoint in the list can jump to the appropriate breakpoint line. Breakpoint marker is displayed in the editor as shown below:



By the editor in the context menu or the Edit menu in the bookmarks file operations, you can add, delete bookmarks, view the bookmark list, Here is list of bookmarks list window:

Double-click the bookmark list, a line can jump to the appropriate bookmark line. Bookmark tags in the editor's display as shown below:


Autocomplate and word help

ScriptDev provides auto-complete, function arguments tips, code snippets, word help, etc. such as auxiliary to help develop capabilities, the following instructions respectively.

Auto complate

Auto complate means enter the word or keyword is the first few characters, you can automatically from a list of matching words or keywords to find the closest some of them, now users can choose from a list or press the TAB key to automatically enter the The remaining characters, auto-complete feature is divided into words auto-completion and auto-complete keywords, you can open from the system set up this feature, the word auto-completion of the current document refers to automatically search all the words to match the keyword from the auto-complete is the key to character in the search for matches by default, is included in the word search and keyword search, that is, the word search and keyword search results are presented for selection, auto-complete interface is as follows:

Users can also right-click menu in the menu the following functions automatically auto-completion and word auto-completion of two menu items on the current word string editing and keywords auto-complete auto-complete matching in two ways.

Keyword auto-complete the corresponding keyword information stored in ScriptDev the plugins\org.owm.scite\APIs directory, each type of file has a corresponding xml file, if you want to add new keywords, can be directly the corresponding increase in the document.

Function arguments tips

The role of function arguments prompt the user to enter a function name, enter the left parenthesis, there will be a prompt message, suggesting that all of the parameters of this function, the type of interface is as follows:

This feature is currently only provide support for php and a few other languages. Function parameter prompt information is also stored in the file, and and automatic completion of keywords stored in the same file, you can add themselves, but the auto-complete feature is limited to the function in brackets behind the language.

Code snippets

Code snippets is stored in some common code segment, from the context menu of the auto-complete menu, select the menu snippet of code you can see the current language fragment list, you can choose to copy the corresponding code segment to the current cursor position, code snippets select list is as follows:

Code snippets corresponding to snippets information is stored in ScriptDev the plugins\org.owm.scite\snippets directory, each type of file has a suffix that corresponds to snip the file, if you want to add a new code snippets can be directly the corresponding increase in the document.

Word help

Word help is on the cursor in a word, when, according to F1 key, you can automatically search in the document library if there is such a word in the corresponding help files, if any, will open the corresponding html help file, if there are multiple Help files , will automatically appear a selection box which allows users to choose to view Help files, select the box interface is as follows:

Word help function is supported only installed the corresponding language interpreter type, because the help files and help indexing libraries are installed when the corresponding script development package installed.

Word to help can be displayed in the main window of the start page window can also be displayed in the sidebar of the "dynamic help" docked window, the default is displayed in a docked window, you can in the editor to modify the settings in the " Dynamic Help "window displays the interface is as follows:

Word and variable tooltip

Move the mouse to a word in the editor, if they can find to this word prompt message will appear the word Tooltip prompt window.

If the debug mode, the mouse moved to a variable name above, will appear Tooltip window displays variable information, as follows:


Line change mark

Editor could mark the left in the editor area in different color-coded lines has been modified and whether modifications have been saved, as shown below, pink tag line that has been modified unsaved lines, light blue tag line that has been modified rows have been saved:


Print page setup

Through the File menu Print Setup menu in the Print Page Setup menu item can print the page editor set the interface is as follows:

Headers and footers can contain user-defined text, and can header / footer at the use of the file name and page number and other additional special characters. These special characters are:

Symbol Meaning
&L Used to follow the "&L" behind the text-align to the header / footer on the left of the scope of
&C Used to follow the "&C" behind the text-align to the header / footer in the middle position of the scope of
&R Used to follow the "&R" behind the text-align to the header / footer scope of the right side
&P In the header or footer using page replacement
&H In the header or footer using the file path to replace
&F In the header or footer using the full file name with path replacement
&N In the header or footer using the full file name without path to replace
&A In the header or footer using the file name without the suffix replacement
&E In the header or footer using the file suffix replacement
&S In the header or footer using the short format of date replacement
&D In the header or footer using the long format date to replace
&T In the header or footer using the current time to replace

Note: The arrangement of characters is not essential items, some or all of them are able to use a single header or footer. However, if you use more than one of these characters, then they follow the following order - "&L" must be "&C" before, "&C" must be "&R" before.