You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added 'class.type.crmscript', and punched in a few of the classes. They are now identified by the "Developer: Inspect TM scopes" command, and have a separate color:
If this is the correct way of doing things, then we need to add more classes in the pattern. If I've misunderstood how this works, then feel free to remove it again.
This is the correct approach if we are to have it on the client side. An alternative would be to return Sematic Highlighting Tokens from the server that the client can use.
This would probably be a better approach as we can dynamically return sematic tokens depending on what the intellisense contains, instead of hardcoding it into the .tmLanguage-file.
Moving logic into the server would also make it easier to implement support for other editors as well
It would be nice if known types, like String, Integer, etc was highlighted in a separate color.
This is a screenshot from C# in Visual Studio:
This is CRMScript in VS.Code:
I wish VS.Code had syntax highlighting on the types.
The text was updated successfully, but these errors were encountered: