Scilab Home Page | Wiki | Bug Tracker | Forge | Mailing List Archives | Scilab Online Help | ATOMS
File : Details
Please login or create an account

Notepad++ for Scilab : Functions and args completion + Syntax highlighting

Completion of functions & arguments list + syntax colorization with Notepad++ for Scilab
(2568 downloads for this version - 30697 downloads for all versions)
A more recent valid version with binaries for Scilab exists: 6.1
Samuel Gougeon
Samuel Gougeon
Supported Scilab Version
Creation Date
July 22, 2011
            UPDATED for Scilab 5.3.3    .sce .sci .tst .start files supported

The free high level Notepad++ external editor can propose an advanced feature
(unavailable in the embedded Scilab editor): All calling sequences of a function
can be displayed when typing the opening "(". This feature is enabled
by the scilab.xml file. It greatly helps in reminding on-the-fly the expected
lists of arguments.

scilab.xml also enables completion of function names through the <em>full
list</em> of Scilab's functions.
Other Notepad++ features such as syntax colorization, folding / unfolding of
block of statements, parentheses or brackets or braces matching, etc.. are
defined and proposed for Scilab through the UserDefineLang.xml file.
The two main subsets of reserved Scilab keywords (built-in functions, and
macros) are extensively given for syntax highlightment, including undocumented
utility functions.

REMARKS about syntax parsing rules
* "/" cannot be declared as an operator because Notepad++ couldn't
distinguish it from "//" for comments.
* The keywords "then", "else", "elseif",
"case", or "catch" are highlighted like other ones, but
Notepad++ does not allow to fold / unfold sub-blocks opened with them, because
they have no specific ending words. 
* The single quote _'_ cannot be declared as an alternative string delimiter.
Otherwise, Notepad++ would parse the ' transposition operator as the opening of
a string, making a big part of the following code wrongly parsed.
Files (3)
[15.04 kB]
Miscellaneous file
Samples of Notepad++'s screenshots illustrating the completion, display of
simple or multiple calling sequences, syntax highlightment, and blocks folding
for Scilab.
[487.83 kB]
Miscellaneous file
scilab.xml enables the completion of Scilab functions and the display of their
calling sequences (when typing the opening parenthesis).
scilab.xml must be stored in the ~\plugins\APIs\scilab.xml Notepad++
installation directory (most often in C:\Program files\Notepad++\plugins\APIs)
scilab.xml is built with the synopses extracted from the Scilab official help
The extensive set of ~2900 Scilab calling sequences is proposed.
For each completed function, all allowed calling sequences are displayed.

[30.55 kB]
Miscellaneous file
UserDefineLang.xml : File defining extended sets of all reserved Scilab keywords
(for Scilab 5.3.3), rules and styles for Scilab syntax highlighting.
UserDefineLang.xml must be stored at the root of the Notepad++ installation
directory (for all Notepadd++ users), or in the user profile (often C:\Documents
and settings\your_login\Application Data\Notepad++\UserDefineLang.xml).
Your own UserDefineLang.xml file may contain rules for customized languages
other than Scilab. This is why it is preferable to properly import this release
for Scilab with the Import command (Menu Settings => Import), or to edit it and
copy/paste the  block for Scilab in it.
News (0)
Comments (1)     Leave a comment 
[get_person] Le compte avec l'identifiant 2125 n'existe pas