export interface DTOUserSettings { userId: number | undefined; setting1: number | undefined; setting2: number | undefined; setting3: number | undefined; setting4: number | undefined; setting5: number | undefined; id: number | undefined; changedDate: Date | undefined; changedBy: number | undefined; createdDate: Date | undefined; createdBy: number | undefined; }
property binding is supported since 2017.3 - see https://youtrack.jetbrains.com/issue/WEB-18730
I'am using WebStorm 2017.3 (Build #WS-173.3727.69, built on November 21, 2017) and it's still not work
Edit: i see, the property binding works only for the variable itself. But not for the autocomplete of the definition
e.g. public user: DTOUser
Can you provide the example where it doesn't work for you? I need files/code snippets plus screenshot
I've edited my answer
well, in you example it's not a property binding, but ngModel value that has to be completed.And it works fine for me:
Please can you provide a full sample? What does the property declaration look like?
it works only after the first letter:
my interface i looking like:
export interface DTOUserSettings {userId: number | undefined;
setting1: number | undefined;
setting2: number | undefined;
setting3: number | undefined;
setting4: number | undefined;
setting5: number | undefined;
id: number | undefined;
changedDate: Date | undefined;
changedBy: number | undefined;
createdDate: Date | undefined;
createdBy: number | undefined;
}
can't see how your interface is linked to your template. I was asking for the complete sample
i've tried to create a sample, but the Problem is in the Sample it works without any Problems. (same angular version same structure) :-/
I can't recreate the issue as well... Must be smth specific to your project, but I have no idea what to look at
Hey so im on the latest RC (downloaded from toolbox), property binding seems to work, however, only the first level works?
example: it can autocomplete: [style]="" , but it cant complete: [style.width]=""
Please provide a complete code sample that can be used to recreate the issue
This dosen't work.
while this does
Any html code would do to recreate the issue, but here:
https://pastebin.com/3RNa4CC7
Please vote for https://youtrack.jetbrains.com/issue/WEB-29900 to be notified on any progress with it
thank you.