Scilab Home Page | Wiki | Bug Tracker | Forge | Mailing List Archives | Scilab Online Help | ATOMS
File : Details
Login with GitLab

Scilab Style for Notepad++ (user defined language syntax highlighting)

Scilab Style for Notepad++ (user defined language syntax highlighting)
(6201 downloads for this version - 16775 downloads for all versions)
Details
Version
1.0
A more recent valid version with binaries for Scilab exists: 2.0
Author
adrien vogt-schilb
Maintainer
adrien vogt-schilb
Categories
License
Supported Scilab Version
5.3
Creation Date
February 4, 2011
Description
            Please note there is a newer version, which is 2.0. It can be accessed at the
top of this page description.

Scilab 5.2 Style for Notepad++ (new function names might be absent)

This is for notepad++, which can be found at http://notepad-plus-plus.org/

Download my userDefineLang.xml to your desktop or any temp dir.

Then open n++, open the User Language Panel (it's a button with a lightning on
it), then use import, search for the userDefineLang.xml you just downloaded, and
that's it.

When the operation works, you should have a "Scilab" entry in the
"Language Menu"
(anyway, n++ should auto-detect scilab files with their extension) 


PS: if my explanation is not clear, search for "import" in this page
:
http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=User_Defined_Languages            
Files (3)
[78.68 kB]
Screenshot

[28.52 kB]
Miscellaneous file
With this alternative syntax highlighting file, notepad++ will not highlight
strings made with 'single quotes' (use "double quotes" instead), but the
parenthesizes (or brackets) will work perfectly.

Works the same way the other: use "import" from the user-defined language menu
[14.93 kB]
Miscellaneous file
This is the "classic" scilab style for npp. 
News (0)
Comments (5)     Leave a comment 
Comment from Rafael Guerra -- February 5, 2011, 02:02:00 PM    
Copied the 'userDefineLang.xml' file to C:\program files\Notepad++\
opened one Scilab *.sce script with Notepad++ v5.7 (in Windows XP), selected in the
Language Menu, Language = User-Defined, but the text was not formatted in Scilab 5.2
Style.
Please advise.
Comment from adrien vogt-schilb -- February 5, 2011, 02:21:36 PM    
In reply to comment #1:

Ok then try this way:

Download my userDefineLang.xml to your desktop or any temp dir.

Then open n++, open the User Language Panel (it's a button with a lightning on it), then
use import, search for userDefineLang.xml you just downloaded, and that's it.

When the operation works, you should have a "Scilab" entry in the "Language Menu"

Please let me know if this works, so i update this file description.


PS: if my explanation is not clear, search for "import" in this page :
http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=User_Defined_Languages
Comment from Rafael Guerra -- February 5, 2011, 04:21:48 PM    
Copied the 'userDefineLang.xml' file to C:\program files\Notepad++\
opened one Scilab *.sce script with Notepad++ v5.7 (in Windows XP), selected in the
Language Menu, Language = User-Defined, but the text was not formatted in Scilab 5.2
Style.
Please advise.
Comment from Rafael Guerra -- February 5, 2011, 04:53:55 PM    
Dear Adrien,
Followed your advice and the code worked perfectly on Notepad++ this time.
Thank you for this useful application.
Rgds, RG
Comment -- April 1, 2011, 02:46:58 PM    
Hi,

It works great, thank you! I added tst as an extra file extension to manage unit test 
files.

Regards,

Michaël
Leave a comment
You must register and log in before leaving a comment.
Login with GitLab
Email notifications
Send me email when this toolbox has changes, new files or a new release.
You must register and log in before setting up notifications.