Comments (4)
I believe the answer is already given here:
#7617 (comment)
from al.
unfortunately not.
In my issue, there are some highlight bugs.
- Literal Names (action names, fields, etc.) Have only the Double quote colored, the rest still in plain text.
- The ":" are in red. (normally the red color indicates an error)
- Properties are the same color as their value.
Then yes, there is one thing that is similar to the issue you reference:
Can we use the same syntax Highlighter as the one in VsCode?
But the real problem here are the point 1-3
from al.
On point 1 - "Literal Names (action names, fields, etc.) Have only the Double quote colored, the rest still in plain text.":
This was a deliberate design decision. As double quoted names are not strings, it felt inconsistent to highlight them as single quoted strings are. However, highlighting just the quotes at least calls awareness to when you are using a quoted name. This decision was made on the back of internal feedback pulling in either direction. As we've only had this one issue logged on this behaviour, we will not be addressing it at this time.
On point 2 - "The ":" are in red. (normally the red color indicates an error)":
Yep, that's an actual issue. It's the reason why I am marking this issue as accepted.
On point 3 - "Properties are the same color as their value.":
Our answer is the same as what NKarolak mentioned: The syntax highlighting in VSCode also highlights property names and values the same. As an example, take this throwaway report snippet I made in VSCode using syntax highlighting:
from al.
The fix for this issue has been checked in to the master branch. It will be available in the bcinsider.azurecr.io/bcsandbox-master Docker image starting from platform build number 24.0.16028.0 and VS Code Extension Version 13.0.938391.
If you donβt have access to these images you need to become part of the Ready2Go program: aka.ms/readytogo
For more details on code branches and docker images please read:
https://blogs.msdn.microsoft.com/nav/2018/05/03/al-developer-previews-multiple-releases-and-github/
https://freddysblog.com/2020/06/25/working-with-artifacts/
from al.
Related Issues (20)
- [AL Language Syntax Highlights Devops] Missing Keyword Highltighing for protected modifier on procedures
- how to copy values from a flow field (Amount) to a custom field (Amt). HOT 1
- Unable to access standard report date item from report extension data item HOT 3
- [BC 24] `Publish-NAVApp` hangs forever on compilation errors HOT 5
- [Copilot] AW0005 should not be shown for PromptGuide actions
- ToolTips added to a TableExtension field are not displayed if they have Locked = true (runtime 13.0) HOT 2
- Event Subscription MissingTypeSymbol issue HOT 2
- Function GetRecord working incorrectly when in factbox we have more then 15 records HOT 1
- AA0232 The FlowField XXX of "TableName" should be added to the SIFT key
- OnAfterGetRecord trigger ignores IsolationLevel specified onOpenPage trigger HOT 1
- IN operator not working in OdataV4 BC SaaS HOT 1
- Always an .alpackages/.snapshots folder
- Command 'AL: Go!' resulted in an error (command 'al.go' not found) HOT 1
- Intellisense in Query- Objects
- Out Of Memory (OOM) Error Opening AL Project Folder HOT 1
- RUNTIME of Visual Code is not compatible with Server RunTime HOT 2
- ToolTipsToTableFieldCodeFixProvider.GetControlAndField crashes HOT 1
- aldoc.exe: wrong procedure argument separator
- The AL Server crashed 5 times in the last 3 minutes HOT 1
- Attaching to the next WebServiceClient fails with "Invalid debug adapter"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from al.