ahgood / set-syntax

A VS Code extension to change language mode from command palette.
2 stars 0 forks source link

Adding Syntax configurations #1

Open buzzwick opened 3 years ago

buzzwick commented 3 years ago

Hi, How would I go about adding the Business Central AL language syntax to the ones that Set-Syntax understands?

ahgood commented 3 years ago

I didn't know AL language before you tell me, and then found there is a VS Code extension AL Lauange which has 158K download but VS code didn't support AL language by default.

I will try to add AL language option in this extension - but AL lanuage extension might still required to get syntax highlight.

Or if you alredy know how to add AL language option in this extension, PR is welcome.

Thanks,

buzzwick commented 3 years ago

Hi,

I would not know how to add the AL syntax rules to your extension, but I did finally get the AL Language extension to work in my files—I had to figure out how to turn it on, and found also that if the file is large, the highlighting only works for the first portion of the file. Someday I might find out how to fix that.

Thanks,

David

From: Guojun @.> Sent: Tuesday, September 28, 2021 2:24 PM To: ahgood/set-syntax @.> Cc: David Baldwin @.>; Author @.> Subject: Re: [ahgood/set-syntax] Adding Syntax configurations (#1)

**CAUTION: This email originated from outside of CAI Software, LLC. Do not click links or open attachments unless you recognize the sender and are expecting the attachment or link.

I didn't know AL language before you tell me, and then found there is a VS Code extension AL Lauange which has 158K download but VS code didn't support AL language by default.

I will try to add AL language option in this extension - but AL lanuage extension might still required to get syntax highlight.

Or if you alredy know how to add AL language option in this extension, PR is welcome.

Thanks,

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/ahgood/set-syntax/issues/1#issuecomment-929512643, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJTBZIQPTTI7N35VXT4QV5TUEIB4FANCNFSM5E6ASWZA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.