stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Just made an IDE for MQL4
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=627
Page 6 of 32
Author:  w633 [ Fri Jun 22, 2012 12:40 pm ]
Post subject:  Re: Just made an IDE for MQL4

thank you all for the testing and compliment, from now on the release pace will get slower so you don't have to download another version every day. however slower but progress will still be made.

if you have any feature request or even want to join the development feel free to contact me, together we'll show how lousy metaquote did on their metaeditor.
Author:  SteveHopwood [ Fri Jun 22, 2012 1:48 pm ]
Post subject:  Re: Just made an IDE for MQL4

O wow. Guys, wait till you try this:
  • - go into your Empty4 base folder.
    - rename MetaEditor.exe as MetaEditor.exe.old or some-such to hide it (or even delete it).
    - unzip scite-mql-1.3.2.zip to this folder.
    - rename SciTE.exe MetaEditor.exe
    - unzip a second copy just of SciTE.exe to the folder, so that you have two identical .exe files but with different names
Hey presto. From the platform, open a file for editing, press the MetaEditor icon or the F4 key, and your file opens in ScITE. The only thing we haven't got is the transfer from SciTE back to the platform via the F4 key. Perhaps you could add this the next time you do an update, w633?

Fantastic, or what?

:D
Author:  NeoTrader [ Fri Jun 22, 2012 2:41 pm ]
Post subject:  Re: Just made an IDE for MQL4

Hi w633,
w633 wrote:i also tried the eclipse plugin, however i feel it's a half completed project and the orignal author is not willing to release source code to let others improve on it, that's why i finally decided to make this IDE.
Yes, i know it wasn't optimal... but everything is better than MetaEditor... ;)
w633 wrote:regarding to the features, this will be the next ones i'll work on
Thats great... ;) I already found something regarding my second request..
NeoTrader wrote:second thing would be a feature that i really like in notepad++ if you mark a word it automatically highlights all occurrences of this word in the source....this helps enormous to go fast across the code in search of where eg. a variable is used. I know i can also use the search feature...but it would be fine.. ;)
This should do the trick : http://lua-users.org/wiki/SciteMarkWord

I already tested it and it comes close to what I'm looking for...you can start it from the Tools Menu or with hotkey...It underlines the words it finds...it would be fine if it can highlight the words with a different background color...and also it would be fine when it could run the whole time... but I think you will find a good solution...
w633 wrote:and thanks for the compliment!
you're welcome...we have to thank you for the work you put in here...

Do you by any chance can provide a list of parameters we can use to change the colors and fonts of your settings....no offense but the colors are ugly.. ;) I already played a little in the SciTEGlobal.properties....but you are more into this code...and maybe could find them faster or already have a list on your hand... ;)


happy trading

NeoTrader
Author:  NeoTrader [ Fri Jun 22, 2012 2:56 pm ]
Post subject:  Re: Just made an IDE for MQL4

Hi Steve,
SteveHopwood wrote:O wow. Guys, wait till you try this:
  • - go into your Empty4 base folder.
    - rename MetaEditor.exe as MetaEditor.exe.old or some-such to hide it (or even delete it).
    - unzip scite-mql-1.3.2.zip to this folder.
    - rename SciTE.exe MetaEditor.exe
    - unzip a second copy just of SciTE.exe to the folder, so that you have two identical .exe files but with different names
Hey presto. From the platform, open a file for editing, press the MetaEditor icon or the F4 key, and your file opens in ScITE. The only thing we haven't got is the transfer from SciTE back to the platform via the F4 key. Perhaps you could add this the next time you do an update, w633?

Fantastic, or what?

:D
Awesome...I also wanted to do this...but still was in the evaluation of this IDE...but I'm hooked...
I like the concept of scite .... and it seems to be very flexible...

I already did your mod...and it works flawless... i don't need that back button to MTcrap ...since i only minimize the window or click on the MTcrap Icon on the taskbar...or use Alt-Tab to switch between windows.

happy trading,

NeoTrader
Author:  NeoTrader [ Fri Jun 22, 2012 3:37 pm ]
Post subject:  Make SciTE standardeditor for MQ4 Files

Hi all,

I have also one little gimmick...nothing great but if someone didn't know...
This should work on win7 and on XP.
  • Right click on any mq4 file
  • select open with.
  • select standard program
  • click on search and go to the directory where scite is saved
  • select scite.exe with double click
  • select "always open filetype with this Program"
  • click OK
  • Finito
SciTE should now open every time you double click a mq4 file.. ;)

happy trading,

NeoTrader
Author:  SteveHopwood [ Fri Jun 22, 2012 4:57 pm ]
Post subject:  Re: Just made an IDE for MQL4

That's neat.

:D
Author:  w633 [ Sat Jun 23, 2012 7:43 am ]
Post subject:  Re: Just made an IDE for MQL4

NeoTrader wrote: Do you by any chance can provide a list of parameters we can use to change the colors and fonts of your settings....no offense but the colors are ugly.. ;) I already played a little in the SciTEGlobal.properties....but you are more into this code...and maybe could find them faster or already have a list on your hand... ;)
I don't have any artistic sense so nontaken. For the colors and font, I'll find a time to separate it out to another file so people can post their best themes.
As for the highlight thing it seems this version of SciTE already got something built in, but I will tweak it a little.

Currently there's no GUI to configure SciTE so everything has to be done editing setup files, but SciTE is really flexible and it's source code is not terribly hard to customize it as well.
Author:  w633 [ Sat Jun 23, 2012 7:49 am ]
Post subject:  Re: Just made an IDE for MQL4

SteveHopwood wrote:O wow. Guys, wait till you try this:
Hey presto. From the platform, open a file for editing, press the MetaEditor icon or the F4 key, and your file opens in ScITE. The only thing we haven't got is the transfer from SciTE back to the platform via the F4 key. Perhaps you could add this the next time you do an update, w633?

Fantastic, or what?

:D
It'll be quite hard to switch back to Empty4, because these 2 programs are not really "connected" like Empty4 and metaeditor. At this time I would suggest to use windows default "Alt + Tab" to switch between windows.
Author:  SteveHopwood [ Sat Jun 23, 2012 10:31 am ]
Post subject:  Re: Just made an IDE for MQL4

w633 wrote:
SteveHopwood wrote:O wow. Guys, wait till you try this:
Hey presto. From the platform, open a file for editing, press the MetaEditor icon or the F4 key, and your file opens in ScITE. The only thing we haven't got is the transfer from SciTE back to the platform via the F4 key. Perhaps you could add this the next time you do an update, w633?

Fantastic, or what?

:D
It'll be quite hard to switch back to Empty4, because these 2 programs are not really "connected" like Empty4 and metaeditor. At this time I would suggest to use windows default "Alt + Tab" to switch between windows.
Will do. Don't give it another thought. Sometimes, the seemingly simple thingies are the most impossible to code.

:D
Author:  NeoTrader [ Sat Jun 23, 2012 10:50 am ]
Post subject:  Re: Just made an IDE for MQL4

hi w633,
w633 wrote:I don't have any artistic sense so nontaken. For the colors and font, I'll find a time to separate it out to another file so people can post their best themes.
As for the highlight thing it seems this version of SciTE already got something built in, but I will tweak it a little.
Ah...ok...didn't see anything in the docs...but the mod I posted before works fine so far...only with hotkey activation...and only as underline for now...but will do till you come up with the new version.. ;)
w633 wrote:Currently there's no GUI to configure SciTE so everything has to be done editing setup files, but SciTE is really flexible and it's source code is not terribly hard to customize it as well.
yep...this non gui thing is not really good from usability aspects...but i am used to thumble around in ini and config files..;) just need a little more time to look a little closer in the docs and in lua in general...

happy weekend,

NeoTrader

-
All times are UTC Page 6 of 32