L-I-V / MQL-Tools

42 stars 15 forks source link

Getting "invalid preprocessing directive" on #property #65

Closed tachyon-ops closed 1 month ago

tachyon-ops commented 1 month ago

Intellisense works pretty well, and I can go through the function definitions and check out for instance Alert() signature from /Users/[USER]/.vscode/extensions/l-i-v.mql-tools-2.1.0/data/mql4_en.mqh.

~I don't understand what might be the issue tbh~. I'm on MacOS Sonoma 14.4.1.

Screenshot 2024-05-14 at 21 30 52 Screenshot 2024-05-14 at 21 35 07

Edit: I believe some c++ linting is not finding the Includes from l-i-v.mql-tools-2.1.0/data/mql4_en.mqh or the workspace Includes folder.

tachyon-ops commented 1 month ago

Solved. Don't use extension "C/C++ Clang Command Adapter"