danielzhe opened a new pull request, #2296:
URL: https://github.com/apache/incubator-kie-tools/pull/2296

   Closes: https://github.com/apache/incubator-kie-issues/issues/1134
   Closes: https://github.com/apache/incubator-kie-issues/issues/1135
   
   This PR adds autocomplete and color for variables declared in the new 
expressions `for`, `every` and `some` and for the new reserved word `item` in 
the `filter` expression.
   
   Since currently it is not viable in terms of time to introduce type 
inference for those variables, if the user types something after the dot (.) 
when using one of those variables we mark it in grayscale, to show that that 
name is not "valid or invalid".
   
   See the image below for more clear example:
   
![image](https://github.com/apache/incubator-kie-tools/assets/7305741/3ddc8e45-d5b7-487e-851a-5688b40fa584)
   
![image](https://github.com/apache/incubator-kie-tools/assets/7305741/e797e257-e4f8-43c0-a6a6-3cc10578876d)
   
![image](https://github.com/apache/incubator-kie-tools/assets/7305741/38883a46-b463-4014-ad17-7c771cbaf070)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to