Author |
Message |
eldorado
Involved


Joined: Sep 10, 2008
Posts: 424
Location: France,Translator
|
Posted:
Sat Apr 07, 2012 11:52 am |
|
Hello guys , i'm trying to implement some basic code auto-completion for ravennuke for myself.
So far , i've managed to add a lot of usefull functions , variables and paths to the software
I would like to know if people would like my file and what would be good functions , variable or path to be added?
Here's a screenshot of what it does.
Input?
(note:i know some ide's already do that , but i'm looking to do something simple) |
_________________ Only registered users can see links on this board! Get registered or login! (My RN site)- Only registered users can see links on this board! Get registered or login!(cod4 clan) - Only registered users can see links on this board! Get registered or login! |
|
|
 |
spasticdonkey
RavenNuke(tm) Development Team

Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA
|
Posted:
Sat Apr 07, 2012 11:42 pm |
|
I would use something like that, as I'm still splitting my dev time between windows7 and linux mint. As far as suggestions what to add, that might take some thought.. and I've been at the pc too long this evening  |
|
|
|
 |
hicuxunicorniobestbuildpc
The Mouse Is Extension Of Arm

Joined: Aug 13, 2009
Posts: 1123
|
Posted:
Mon Apr 09, 2012 5:52 am |
|
I think it is a very good idea. I would like to test it. |
|
|
|
 |
eldorado

|
Posted:
Mon Apr 16, 2012 10:09 am |
|
Ok , here you go
You need to save this to your /plugins/APIs/ folder
Only registered users can see links on this board! Get registered or login!
there are over 5800 auto-completed functions from both php and ravennuke 2.5.x , I may have inserted some javascript functions in the file because they are used in php files.
This is the first step before creating a powerful IDE dedicated to Ravennuke
Enabling AutoCompletion wrote: |
A quick trip to the Preferences will get you using the new auto-complete feature in no time at all. Go to Settings -> Preferences, and switch to the Backup/Auto-competion tab. At the bottom of that screen you’ll see where you can enable auto-completion, and you can optionally turn on the “show function parameters” feature as well. |
Now , the next step , add some path and variables
Update: ADDED CONSTANTS and language files.
You need to save this to your /plugins/APIs/ folder
Only registered users can see links on this board! Get registered or login! |
|
|
|
 |
spasticdonkey

|
Posted:
Mon Apr 16, 2012 1:09 pm |
|
Cool stuff, I'll give it a try! |
|
|
|
 |
hicuxunicorniobestbuildpc

|
Posted:
Tue Apr 17, 2012 3:44 am |
|
Should I create a folder plugin on root. Please give us more details |
|
|
|
 |
eldorado

|
Posted:
Tue Apr 17, 2012 4:13 am |
|
unicornio wrote: | Should I create a folder plugin on root. Please give us more details |
Sorry , i should have been more specific
This is for windows only
You have to download NP++ here --> http://notepad-plus-plus.org/download/v6.1.html
When installed you have to replace the php.xml which is in C:\Program Files (x86)\Notepad++\plugins\APIs\ or
C:\Program Files\Notepad++\plugins\APIs\ for a 32 bits interface
by my file
then you enable auto-completion and you're done.
This is a development library for Notepad++ dedicated to RN cms and not a module or plugin for ravennuke cms
This autocompletion library, enable you to access quickly to functions or constants such as OpenTable() and _ADMIN  |
|
|
|
 |
hicuxunicorniobestbuildpc

|
Posted:
Tue Apr 17, 2012 4:23 am |
|
Ok, now I got it. I'm always running notepad2. Is it possible to use it with this Notepad2? Let me know. I never had any issue with this free tool and it doesn't need any installation.
http://www.flos-freeware.ch/notepad2.html
Update:
I just installed it and made all modifications. It works really good. Thanks. |
|
|
|
 |
|