TabularEditor / TabularEditor3

Bug reports, feature requests, discussion and documentation for Tabular Editor 3 (commercial version).
64 stars 7 forks source link

ObjectType Enum duplicates the existing code #1327

Open SharmaAntriksh opened 3 months ago

SharmaAntriksh commented 3 months ago

Description

Intellisense shows 2 ObjectType enums and one of them works while the other one just duplicates the code, I am sure I saw this behaviour with some other enum as well don't remember though.

Tabular Editor 3 Version

3.16.2

Screenshots

https://github.com/TabularEditor/TabularEditor3/assets/73054674/1e3e01fb-ade3-4c3b-b4a9-54f46b7d32b1

Steps to Reproduce

var manySideCalculatedColumns = 
        Model
        .AllColumns
        .Where(
            c => c.UsedInRelationships.Any(r => r.FromColumn == c)
                && c.ObjectTypeName == "Calculated Column"
        );
manySideCalculatedColumns .Output();

Expected behavior

Pressing tab on enum shouldn't duplicate the code infact duplicated enum shouldn't be show in the intellisense

Crash Report

No response

Windows Version

Windows 10

otykier commented 3 months ago

Hi @SharmaAntriksh Thanks for reporting this. We have confirmed this behavior as a bug (it can also happens with other types of autocompletes - not just enums).