Syntax highlighting is only highlighting, and yes I had it installed already. I'm actually referring to the intellisence features, and if you haven't enabled the cpp intellisence and mapped it to MQL files, it's going to blow your freaking mind! It was enough for me to say goodbye to sublime after like 5 seconds of demoing :-p
There will be a warning that pops up to configure your include folder... I run in portable mode so mine was easy... eg. C:\User\Dropbox\MT\MQL4\Include
No, don't do that! If you force the use the "cpp" file mapping you are essentially disabling the MQL extension and disabling the MQL specific "intelliesense".
Leave the defaults as they were and instead simply switch between the different contexts by clicking on the "Language Mode" button and setting it temporarily to the one you want to work with.
EDIT: Or create your own MQL extension where you merge the two functionalities of each context.
Pierre Rougier: Do you compile in Visual Studio Code or outside with MetaEditor ?
I usually compile in MetaEditor for convenience, because I can just double-click on the warnings and errors and go directly to the offending lines.
However, you can also setup it up to compile from within VSCode, using MetaEditor's command line parameters and have the compilation log open up in VSCode automatically.
Compilation from the Command Line
A MetaEditor executable file can be
used as the compiler when working with a source code in external
editors. The compiler is started from the command line, specifying the
path and name of the file you want to compile:
metaeditor.exe /compile:"<full path to the source file>"
metaeditor64.exe /compile:"<full path to the source file>"
Specify the additional /log key for
more information about the compilation process. In this case,
<source file name>.log compilation log file is created in the
folder containing the source file.
However, your question is off-topic and no longer MQL4/5 related, so please consult the Visual Studio website and documentation. There is a Search feature and if you still can't find it you can address your questions to the Community there.
It is easy to configure Visual Studio Code to your liking through its various settings. Nearly every part of VS Code's editor, user interface, and functional behavior has options you can modify. VS Code provides two different scopes for settings: User Settings - Settings that apply globally to any instance of VS Code you open. Workspace...
However, your question is off-topic and no longer MQL4/5 related, so please consult the Visual Studio website and documentation. There is a Search feature and if you still can't find it you can address your questions to the Community there.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Syntax highlighting is only highlighting, and yes I had it installed already. I'm actually referring to the intellisence features, and if you haven't enabled the cpp intellisence and mapped it to MQL files, it's going to blow your freaking mind! It was enough for me to say goodbye to sublime after like 5 seconds of demoing :-p
Save this in your user settings
Install the c++ intellisence package
There will be a warning that pops up to configure your include folder... I run in portable mode so mine was easy... eg. C:\User\Dropbox\MT\MQL4\Include
No, don't do that! If you force the use the "cpp" file mapping you are essentially disabling the MQL extension and disabling the MQL specific "intelliesense".
Leave the defaults as they were and instead simply switch between the different contexts by clicking on the "Language Mode" button and setting it temporarily to the one you want to work with.
EDIT: Or create your own MQL extension where you merge the two functionalities of each context.
EDIT: Or create your own MQL extension where you merge the two functionalities of each context.
Done
I cannot speak for others, but I personally use both MetaEditor as well as Microsoft Visual Studio Code (free and open-source) with the MQL4/5 Syntax Highlight extension.
Hello Fernando Carreiro,
Have this editor compile or can compile (with extension) from mql to ex ?
Regards.
Already answered at post #15 ...
Already answered at post #15 ...
Thank you.
Already answered at post #15 ...
Hello,
Just starting with first hand on VisualStudio.
It's ok now to work with it.
Is it possible to change the Font and Size Font of document ?
I canot find where it can be done...
Is it possible to change the Font and Size Font of document? I canot find where it can be done...
Yes, in the User and Workspace Settings!
However, your question is off-topic and no longer MQL4/5 related, so please consult the Visual Studio website and documentation. There is a Search feature and if you still can't find it you can address your questions to the Community there.
Yes, in the User and Workspace Settings!
However, your question is off-topic and no longer MQL4/5 related, so please consult the Visual Studio website and documentation. There is a Search feature and if you still can't find it you can address your questions to the Community there.
Thank you for all.