Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No colors on .cal file #4

Closed
warlof opened this issue Jul 27, 2017 · 1 comment
Closed

No colors on .cal file #4

warlof opened this issue Jul 27, 2017 · 1 comment
Assignees
Labels

Comments

@warlof
Copy link

warlof commented Jul 27, 2017

Hello,

I'm expecting an issue with this extension which is not coloring my c/al code.
I think i've miss something somewhere but in your readme you didn't write any specific setup instructions :(

I've just installed the extension in visual code and create a simple file called codeunit50000.cal with this content :

OBJECT Codeunit 50000 EDIFACT Order
{
  OBJECT-PROPERTIES
  {
    Date=27/07/17;
    Time=20:11:44;
    Modified=Yes;
    Version List=Test;
  }
  PROPERTIES
  {
    OnRun=BEGIN
    END;
  }
  CODE
  {
    LOCAL PROCEDURE formatFile@1000000003(VAR buffer@1000000000 : Text);
    VAR
      CR@1000000001 : Char;
      LF@1000000002 : Char;
    BEGIN
      CR := 13;
      LF := 10;

      buffer := DELCHR(buffer, '=', FORMAT(CR));
      buffer := DELCHR(buffer, '=', FORMAT(LF));
    END;

    BEGIN
    {
        // Test
    }
    END.
  }
}
@zodiacfireworks
Copy link
Owner

zodiacfireworks commented Jul 31, 2017

Hello @warlof!

Thanks for report.

This is strange but this was due a comment in c-al-tmLanguage.json file. I deleted such comment and the colors came back.

Please update the extension in your vscode.

screenshot from 2017-07-31 06-58-51

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants