Just made an IDE for MQL4

Post Reply
garyfritz

Re: Just made an IDE for MQL4

Post by garyfritz »

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.
User avatar
mobthehop
Trader
Posts: 362
Joined: Wed Nov 16, 2011 12:16 am

Re: Just made an IDE for MQL4

Post by mobthehop »

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....
User avatar
NeoTrader
Trader
Posts: 436
Joined: Wed Apr 04, 2012 2:52 pm
Location: small Village at Lake Chiemsee, Bavaria, Germany

Re: Just made an IDE for MQL4

Post by NeoTrader »

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

-
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: Just made an IDE for MQL4

Post by SteveHopwood »

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.
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
garyfritz

Re: Just made an IDE for MQL4

Post by garyfritz »

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.
w633
Trader
Posts: 82
Joined: Sat Mar 10, 2012 1:49 pm

Re: Just made an IDE for MQL4

Post by w633 »

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.
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: Just made an IDE for MQL4

Post by SteveHopwood »

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
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
w633
Trader
Posts: 82
Joined: Sat Mar 10, 2012 1:49 pm

Re: Just made an IDE for MQL4

Post by w633 »

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?
User avatar
NeoTrader
Trader
Posts: 436
Joined: Wed Apr 04, 2012 2:52 pm
Location: small Village at Lake Chiemsee, Bavaria, Germany

Re: Just made an IDE for MQL4

Post by NeoTrader »

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

-
garyfritz

Re: Just made an IDE for MQL4

Post by garyfritz »

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?
Post Reply

Return to “Coders Hangout”