Macros names surrounded by ' (single quotation mark) doesn't work
Create a new module, new_file.erl, and cut&paste the following into the file to recreate:
-module(new_file).
-define('Macro', macro).
test() ->
?Macro, %% Hover, syntax high-lighting and open declaration work here, but...
?'Macro'. %% ...here it does not work
-module(new_file).
-define('Macro', macro).
test() ->
?Macro, %% Hover, syntax high-lighting and open declaration work here, but...
?'Macro'. %% ...here it does not work
Leave a comment