5
 Followers
34
 Likes

Syntax Completion for Static Entities

Backend
New

In this case, we know the FrequencyId is a Static Entity of PaymentScheduleFrequency, therefore, the Syntax completer could, at the SPACE after the = sign, automatically type for me "Entities.PaymentScheduleFrequency." and let me choose which of those static entities I want in this case.

Created on 14 Sep 2018
Comments (9)

You could be setting it equal to a local value or something else.

But I *would* like to see the right one at the top of the list.

J.Ja

Changed the category to Backend


Automatically putting the "right one" at the top would great!

Merged this idea with 'Suggested static entity when comparing StaticEntityId with Entities.StaticEntity.Record' (created on 08 Jul 2019 10:52:21 by Xavier Reis)

Imagine that I have the static entity BuildingType with records Villa, Office and ParkingLot. If I have an entity with attribute BuildingTypeId, when comparing like:


MyEntity.BuildingTypeId = Entities.StaticEntity.Record


the suggestion default should be BuildingType instead of all other static entities like MenuItem, MenuSubItem, etc.



This comment was:
- originally posted on idea 'Suggested static entity when comparing StaticEntityId with Entities.StaticEntity.Record' (created on 08 Jul 2019 by Xavier Reis)
- merged to idea 'Syntax Completion for Static Entities' on 23 Jul 2019 07:12:07 by Kilian Hekhuis

Must have!



This comment was:
- originally posted on idea 'Suggested static entity when comparing StaticEntityId with Entities.StaticEntity.Record' (created on 08 Jul 2019 by Xavier Reis)
- merged to idea 'Syntax Completion for Static Entities' on 23 Jul 2019 07:12:07 by Kilian Hekhuis

Makes sense that the IDE should be able to predict this



This comment was:
- originally posted on idea 'Suggested static entity when comparing StaticEntityId with Entities.StaticEntity.Record' (created on 08 Jul 2019 by Xavier Reis)
- merged to idea 'Syntax Completion for Static Entities' on 23 Jul 2019 07:12:07 by Kilian Hekhuis

Yes, a common annoyance. With strong typing, this is a no-brainer.



This comment was:
- originally posted on idea 'Suggested static entity when comparing StaticEntityId with Entities.StaticEntity.Record' (created on 08 Jul 2019 by Xavier Reis)
- merged to idea 'Syntax Completion for Static Entities' on 23 Jul 2019 07:12:07 by Kilian Hekhuis

This has annoyed me many times, but i never considered this idea before. Funny!


Must have.

views
437
Followers
5