Darkyenus / glsl4idea

A GLSL language plugin for IntelliJ IDEA
GNU Lesser General Public License v3.0
101 stars 30 forks source link

Function macro support #144

Closed devlato closed 2 years ago

devlato commented 5 years ago

Hey,

we have a saturate macro defined in the code. But IDE complains about the macro (see attachments), seems like it doesn't recognize it at all. Does the plugin provide IDE with macro support?

Screen Shot 2019-04-02 at 10 47 24 Screen Shot 2019-04-02 at 10 47 33

IDE: Webstorm 2018.3.5 build #WS-183.5912.23 from Feb 27, 2019 OS: macOS Mojave 10.14.3 Plugin version: 1.17

devlato commented 5 years ago

A small update: the issue reproduces with the latest software:

IDE: Webstorm 2019.1 build #WS191.6183.63 from March 21, 2019 OS: macOS Mojave 10.14.3 Plugin version: 1.18

Darkyenus commented 5 years ago

Function macros are unfortunately not supported yet.

NickCody commented 4 years ago

+1

cielsys commented 4 years ago

+1 for macro functions, please. This plugin is so helpful! Thank you!