![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I just added about 50 new snippets to the MQL snippets extension and pushed it to the market. See readme.
"timeout 3;" -- this 3 seconds is still not 100% working so I have increased to 5 seconds then it is working. I guess because I have over 3000 lines of code. 5 seconds via VS Code seems too long for me. It took 97ms via Metaeditor. Thanks.
I switched the default terminal back to windows power shell and changed the script a bit; haven't had any issues with this setup. Also you can click the link in the terminal and it will automatically take you to the exact file and location of the problem by Ctrl+Click.
Hello,
What are the advantages of Visual Studio Code over Visual Studio 2017 Community Edition, in general, and to make MQL5 in particular?
Regards,
Pierre
Hello,
What are the advantages of Visual Studio Code over Visual Studio 2017 Community Edition, in general, and to make MQL5 in particular?
Regards,
Pierre
Pierre,
VS is a full stack IDE and vscode is an open source text editor. The major difference is how they work behind the scenes. Since vscode is an open source text editor it is lightweight out of the box and very fast. It is also very extendable and can go from a plain text editor to pretty much much full blown IDE with the use of extensions. Python is a great example because with the python extensions you can get almost all of the functionality of a full stack IDE without having to wait years for the program to load up.
So your question was about MQL... Vscode makes it easy to author extensions using JS and JSON, which is exactly what I've begun to do. If you download vscode and install the MQL extension pack and follow the setup instructions, you'll get not only MQL syntax highlighting, but also context aware intellisence (uses microsoft c++ engine) and access to a whole library of MQL snippets (MQL built-in functions with descriptions and auto-complete).
Pierre,
VS is a full stack IDE and vscode is an open source text editor. The major difference is how they work behind the scenes. Since vscode is an open source text editor it is lightweight out of the box and very fast. It is also very extendable and can go from a plain text editor to pretty much much full blown IDE with the use of extensions. Python is a great example because with the python extensions you can get almost all of the functionality of a full stack IDE without having to wait years for the program to load up.
So your question was about MQL... Vscode makes it easy to author extensions using JS and JSON, which is exactly what I've begun to do. If you download vscode and install the MQL extension pack and follow the setup instructions, you'll get not only MQL syntax highlighting, but also context aware intellisence (uses microsoft c++ engine) and access to a whole library of MQL snippets (MQL built-in functions with descriptions and auto-complete).
awesome :-)
Hello,
My question is not about MQL5 but about C ++.
I want to learn C ++, to use my knowledge with MQL5.
Visual Studio Code comes without C++ compiler, I am right?
Which C++ compiler to choose?
How to setup Visual Studio Code C++, to compile C++ code?
Thank you in advance,
Pierre
Hello,
My question is not about MQL5 but about C ++.
I want to learn C ++, to use my knowledge with MQL5.
Visual Studio Code comes without C++ compiler, I am right?
Which C++ compiler to choose?
How to setup Visual Studio Code C++, to compile C++ code?
Thank you in advance,
Pierre
This thread is specifically for mql development in vscode. I would suggest posting your question in a relevant thread or perhaps starting a new one. Good luck :)
May I start a new thread about this question in the MQL5 forum ?
May I start a new thread about this question in the MQL5 forum ?
No. This is not a forum about C++.
A few more snippets.
Is it possible to disable red squiggles only for MQL functions and constants?