CreateNewOverrideCompletionData does not get called #520

Open
opened 2016-09-02 06:41:38 -05:00 by JellyfishRomance · 0 comments
JellyfishRomance commented 2016-09-02 06:41:38 -05:00 (Migrated from github.com)

Hello,

I implemented the "ICompletionDataFactory" interface to realize IntelliSense-features in my projects. But I get wrong completion data for overridable method names. I noticed that the method "CreateNewOverrideCompletionData" only gets called when the input string is something like

public override $

(without a type!) where $ is the cursor position.
But when the input string is something like

public override string $

(which is more correct) then "CreateNewOverrideCompletionData" is NOT called. Instead I get completion data containing all kinds of types but not a single overridable method name.

Hello, I implemented the "ICompletionDataFactory" interface to realize IntelliSense-features in my projects. But I get wrong completion data for overridable method names. I noticed that the method "CreateNewOverrideCompletionData" only gets called when the input string is something like `public override $` (without a type!) where $ is the cursor position. But when the input string is something like `public override string $` (which is more correct) then "CreateNewOverrideCompletionData" is NOT called. Instead I get completion data containing all kinds of types but not a single overridable method name.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-icsharpcode/NRefactory#520
No description provided.