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 14 of 32
Author:  garyfritz [ Thu Jul 19, 2012 1:00 am ]
Post subject:  Re: Just made an IDE for MQL4

SteveHopwood wrote:When I type in a line of code, I hit the compile button to ensure I have not done anything monumentally stupid. The furthest I will go without hitting the compile button is setting up an empty conditional or loop construct ...
Good lord, Steve, do you still use training wheels on your bike, too??? :lol: :lol: :lol:

Or, more apropos, when writing a forum post or an email, do you stop and run a spell checker after you type every few words?

May I gently suggest that this habit has probably been formed by rushing a bit too much and making too many careless typos and brainless mistakes? And that many of your copy/paste bloops probably hail from the same provenance?

Slow down there, bucko. I'm sure your mind is going a zillion kph and you're frustrated that your fingers can't keep up, but rushing just causes mistakes. And lots of them don't get caught by the compiler. Those are the ones that really eat your time (and your brain). Avoid one or two of those and you'll more than make up for the extra typing -- and **THINKING** -- time. A few minutes' care in coding will save you hours of debugging.

I'll bet you don't rush a sonata faster than you can play it, and you don't let your students do it either. You know what happens if they do. Don't do it with (/to) your coding and I can just about guarantee you'll become a more productive and less frustrated programmer.
Author:  mobthehop [ Thu Jul 19, 2012 1:54 am ]
Post subject:  Re: Just made an IDE for MQL4

Gary, you are tempting fate here...lol... I can see an auto-ban button in the near future....

Only two downloads so far of this excellent piece of software - what a shame....
Author:  NeoTrader [ Thu Jul 19, 2012 4:50 am ]
Post subject:  Re: Just made an IDE for MQL4

hi w633,
w633 wrote:I've put up the 1.4.1 version, which not only resolves the issue Gary reported, but also added some coloring enhancement to the editor.
Thanks for your hard work...love your visual enhancements..
w633 wrote:As for the Russian support... currently the editor defaults its encoding to UTF-8, which is the universal encoding and Russian characters can be correctly shown and saved as long as it's encoded in UTF-8 (it can also accommodate Chinese, Japanese, Arabic.... etc). I guess a lot of EAs are written in metaeditor so it's using the 1251 encoding. If incorporating Russian encoding is really a popular request then I'll work on it.
I use the Russian support primarily to be able to translate the comments via google to understand the coding of our Russian colleagues better. If it is to time consuming to implement I could live without it...I can still use notepad++ for this rare occasions.

Thanks again for all your hard work on the IDE... I love it and use it every day...


happy trading,

NeoTrader

-
Author:  SteveHopwood [ Thu Jul 19, 2012 8:08 am ]
Post subject:  Re: Just made an IDE for MQL4

garyfritz wrote:
SteveHopwood wrote:When I type in a line of code, I hit the compile button to ensure I have not done anything monumentally stupid. The furthest I will go without hitting the compile button is setting up an empty conditional or loop construct ...
Good lord, Steve, do you still use training wheels on your bike, too??? :lol: :lol: :lol:

Or, more apropos, when writing a forum post or an email, do you stop and run a spell checker after you type every few words?

May I gently suggest that this habit has probably been formed by rushing a bit too much and making too many careless typos and brainless mistakes? And that many of your copy/paste bloops probably hail from the same provenance?

Slow down there, bucko. I'm sure your mind is going a zillion kph and you're frustrated that your fingers can't keep up, but rushing just causes mistakes. And lots of them don't get caught by the compiler. Those are the ones that really eat your time (and your brain). Avoid one or two of those and you'll more than make up for the extra typing -- and **THINKING** -- time. A few minutes' care in coding will save you hours of debugging.

I'll bet you don't rush a sonata faster than you can play it, and you don't let your students do it either. You know what happens if they do. Don't do it with (/to) your coding and I can just about guarantee you'll become a more productive and less frustrated programmer.
Gary, I am not entirely sure which bit of 'I am not a professional coder' you seem so unable to grasp. Just because the way I do things is not the way you do things does not mean that I can suddenly change.

I know what happens if I type more than a few lines of code without checking them. I make a syntax error that can take an age to track down. I work they way I do because it works for me and I do not give a hoot whether you like it or not.
Author:  garyfritz [ Thu Jul 19, 2012 9:28 am ]
Post subject:  Re: Just made an IDE for MQL4

Your students aren't professional musicians, yet you wouldn't let them build bad habits of sloppy playing. I doubt you'd let them tell you "that's the way I do it and I can't suddenly change."

Would it help if I gave you a choc? :D

*shrug* It's not about whether *I* like it or not. I think you'd like the results if you chose to change your habits, but you're a big boy. You make your own choices. I'm just tryin' ta help.
Author:  w633 [ Thu Jul 19, 2012 10:00 pm ]
Post subject:  Re: Just made an IDE for MQL4

SteveHopwood wrote:Fabulous. Thanks.

I tell you what; if effectively getting booted off FF and starting my own forum had resulted in nothing other than you presenting the ide, I would have been one happy bunny.

This makes my life soooo much easier. I cannot thank you enough.
You make great EAs and I made this tiny editor, sounds very fair to me ;)
SteveHopwood wrote: The first is probably quite tough; I would really love the ide to 'remember' the state in which I left it - wrap enabled, Func tab selected etc
Yes I'll work on it as the next feature, it'll be a quite useful one.
SteveHopwood wrote: The second is the biggy, and it is a huge biggy. I would really, really, really love to be able to banish the compilation report pane by hitting the Esc key a la metaeditor.
Tell you what Steve, you can press "F8" to make the output pane go away. If "Esc" is really needed I'll modify it so.
Author:  SteveHopwood [ Thu Jul 19, 2012 10:16 pm ]
Post subject:  Re: Just made an IDE for MQL4

w633 wrote:Tell you what Steve, you can press "F8" to make the output pane go away. If "Esc" is really needed I'll modify it so.
Nope. F8 is fantastic. Works a treat. Thanks. I just hadn't found it.

:D
Author:  w633 [ Thu Jul 19, 2012 10:19 pm ]
Post subject:  Re: Just made an IDE for MQL4

NeoTrader wrote:hi w633,
I use the Russian support primarily to be able to translate the comments via google to understand the coding of our Russian colleagues better. If it is to time consuming to implement I could live without it...I can still use notepad++ for this rare occasions.
Have you tried uploading the whole document to google translate?
Author:  NeoTrader [ Fri Jul 20, 2012 4:58 am ]
Post subject:  Re: Just made an IDE for MQL4

hi w633,
w633 wrote:Have you tried uploading the whole document to google translate?
Most times I get an application/octet-stream error and that this page/document could not be translated.
When I open the source in notepad++ and change the coding to 1251 and then copy and paste the whole code with the Russian comments in google translate it works...

But this isn't really a Problem for me ... since I still have notepad++ I've an easy workaround for that...and if you don't implement it our Russian colleagues would be forced to comment in a language code that everyone could read or translate...;)


happy trading,

NeoTrader

-
Author:  garyfritz [ Sat Jul 21, 2012 2:31 am ]
Post subject:  Re: Just made an IDE for MQL4

Minor annoyance: Alt-F opens the File menu. I use this all the time. But when you use Ctrl-F to search, Alt-F turns into "search again." The search dialog also grabs other menu Alt-keys, such as Alt-E, Alt-V, etc.

Alt-F is "File" in almost every Windows application, and we already have F3 defined to "search again." Could we remove the "search dialog steals Alt keys" behavior?
All times are UTC Page 14 of 32