 |
|
|
07-11-2014, 11:34 AM
|
#1
|
Human being with feelings
Join Date: Aug 2012
Location: Finland
Posts: 2,668
|
EEL language file for Notepad++ (syntax highlighting)
Breeder recently made ReaSyntax: Sublime Text Syntax for JS/EEL/WALTER http://forum.cockos.com/showthread.php?t=141221 (thanks Breeder)
Here's a language file for those who use Notepad++ (this is for EEL scripts). All the current ReaScript API functions (REAPER v4.7) are added to the keyword list.
Download link:
https://stash.reaper.fm/21185/EEL2%20...epad%2B%2B.zip
EEL2 language file for Notepad++ (I'm using "Deep Black" theme)
It's based on Tale's "JSFX dark" language file for NP++" http://forum.cockos.com/showpost.php...72&postcount=7
Instructions
- Selecting theme and importing the language file:
- Registering eel extension in NP++ (don't know if it's necessary, but I did it anyway):
Last edited by spk77; 07-17-2014 at 10:50 PM.
Reason: added a better screenshot
|
|
|
01-05-2015, 06:15 AM
|
#2
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,567
|
How could I missed that ! I also made some synthax highlight config file for REAPER (walter) !
Thanks for sharing
|
|
|
01-05-2015, 07:22 AM
|
#3
|
Human being with feelings
Join Date: May 2006
Location: Surrey, UK
Posts: 19,646
|
Is this, http://notepad-plus-plus.org/ , the right site for downloading Notepad++?
__________________
DarkStar ... interesting, if true. . . . Inspired by ...
|
|
|
01-05-2015, 07:25 AM
|
#4
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,567
|
Yep
|
|
|
01-05-2015, 08:40 AM
|
#5
|
Human being with feelings
Join Date: Dec 2011
Posts: 402
|
I wonder if there are any plans to include autocompletion in reaper IDE.
|
|
|
01-05-2015, 08:44 AM
|
#6
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,567
|
It would be nice, but there is other basic functions I missed in the REAPER 5.0pre3 IDE,
such as line number, search and replace...
But sure, it is very handy to be able to do such thing inside of reaper, for quick editing !
|
|
|
04-07-2015, 11:38 PM
|
#7
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,567
|
Monokai and Autocompletion
If anyone is interested, I made a Monokai version of spk77 EEL, and a Lua version of my Monokai EEL. I also added reaper functions basic autocompletion (keyword based), based on breeder's work too.
Infos and archive on Stash:
Notepad++ ReaScript Monokai
|
|
|
04-08-2015, 12:47 AM
|
#8
|
Human being with feelings
Join Date: Jun 2012
Location: Spain
Posts: 7,151
|
@X-Raym. Thanks. I tried to import the xml in the User defined language window but it says "Fail to import". I don't know what I am doing wrong.
|
|
|
04-08-2015, 01:02 AM
|
#9
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,567
|
@heda
OK my bad !
eel.xml and lua.xml are for autocompletion.
The EEL UDL is eel_udl. I forgot to add .xml :P (notepad export doesn't add it)
EDIT: readme and archive updated.
Last edited by X-Raym; 04-08-2015 at 01:10 AM.
|
|
|
04-08-2015, 01:38 AM
|
#10
|
Human being with feelings
Join Date: Jun 2012
Location: Spain
Posts: 7,151
|
ahhhh.. ok.. my bad too...
I was interested in the Lua one. I already have EEL configured, but I wanted just to add the REAPER Lua functions highlighting.
But I'm not sure if I need to replace lua.xml in plugins\APIs.. I already have one there and it is 225 KB, while yours is only 38KB?
|
|
|
04-08-2015, 02:28 AM
|
#11
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,567
|
@heda
I changed some Lua color directly on the Monokai theme (as it is not a user defined language). Lua.xml is for autocompletion. (I dont know why yours is bigger ^^).
REAPER Lua functions highlighting is made by adding functions froms the functions list inside the Monokai/Lua preferences into Functions/User.
Tell me if it works for you
|
|
|
04-08-2015, 02:47 AM
|
#12
|
Human being with feelings
Join Date: Jun 2012
Location: Spain
Posts: 7,151
|
yes it works perfectly.
I was doing all wrong, trying to do a custom language as in EEL.
Also I remember now I think I downloaded a lua.xml from somewhere when I was starting with Lua. but maybe it was not needed since Notepad++ already supported Lua... anyway... all good
|
|
|
04-08-2015, 03:31 AM
|
#13
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,567
|
@heda
Perfect 
Can't wait to see what you will do with it :P
I saw there is way to make more advanced auto-completion with variable help/infos for each functions but I would take so much time to do it, and it may be not very useful, as we still will have to have the API doc open somewhere (is that proper english ? hm...).
|
|
|
04-10-2015, 03:59 PM
|
#14
|
Human being with feelings
Join Date: Jun 2012
Location: Spain
Posts: 7,151
|
hi... I've just seen that there are some missing functions in the list for color highlight syntax.
you can add also these:
Code:
reaper.atexit
gfx.circle
gfx.getpixel
gfx.printf
gfx.setpixel
.copy
reaper.defer
gfx.deltablit
gfx.gradrect
gfx.quit
gfx.showmenu
.fft
reaper.get_action_context
gfx.dock
gfx.init
gfx.rect
gfx.transformblit
.get_alloc
gfx.r
gfx.g
gfx.b
gfx.a
gfx.w
gfx.h
gfx.x
gfx.y
gfx.mode
gfx.clear
gfx.dest
gfx.texth
gfx.ext_retina
gfx.mouse_x
gfx.mouse_y
gfx.mouse_wheel
gfx.mouse_hwheel
gfx.mouse_cap
gfx.drawchar
gfx.line
gfx.rectto
gfx.triangle
.ifft
gfx.arc
gfx.drawnumber
gfx.lineto
gfx.roundrect
gfx.update
.multiply
gfx.blit
gfx.drawstr
gfx.loadimg
gfx.set
new_array
.resize
gfx.blit
gfx.getchar
gfx.measurechar
gfx.setcursor
runloop
.table
gfx.blitext
gfx.getfont
gfx.measurestr
gfx.setfont
.clear
gfx.blurto
gfx.getimgdim
gfx.muladdrect
gfx.setimgdim
.convolve
Last edited by heda; 04-10-2015 at 06:14 PM.
|
|
|
04-10-2015, 04:08 PM
|
#15
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,567
|
@heda
Juts updated my pack with better background colors for EEL, font consitency fix, and of course, your functions !
|
|
|
10-23-2017, 01:44 AM
|
#16
|
Human being with feelings
Join Date: Dec 2007
Location: Germany
Posts: 253
|
Notepad++ Auto-Completion not working?
Hi Heda, Hi X-Raym.
I followed your steps (I'm on Win 10 64 and / or Win 7 64), but it looks like, the Auto-completion (as I understand it) doesn't work on my machine.
Is it meant to be working for *.lua as well, or did I misinterpret?
Whenever I try to type in "reaper.c" to get an auto-completion of e.g. "reaper.CountTakes" it will give me some random "reaper.API.." something entries in that list....maybe there is a way to clean up Noteptad++' cache?!
Did I miss something important?!
Apart of that:
I can not find a folder: C:\Program Files (x86)\Notepad++\themes
BUt I used C:\Users\AppData\Roaming\Notepad++\themes instead
Thanks upfront.
HoJo
|
|
|
10-23-2017, 03:10 AM
|
#17
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,567
|
@Hojo
Hi !
I dont remember exactly how it works,
I used Atom editor now,
with this for autocompletion :
https://forum.cockos.com/showthread.php?t=173434
Atom is easier to customize and is cross platform.
|
|
|
10-23-2017, 05:33 AM
|
#18
|
Human being with feelings
Join Date: Dec 2007
Location: Germany
Posts: 253
|
Can not get it towk in Atom
Hi X-Raym.
Thanks for the hint, but I can not get it to work in Atom.
But meanwhile I was able to get it to work with Sublime.
Thats a start. Nevertheless, If you have some steps for the dumb, I'd be glad to try them out to make it work in Atom as well :-)
BR,
HoJo
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 04:43 PM.
|