Menu

#146 Empty content assist proposal is suggested

open
nobody
None
5
2008-04-01
2008-03-31
No

class Test{
public void V()
{

}
}

Put the text cursor inside the V() method. Invoke content assist. Nothing happens, but my editor becomes dirty. Invoke it again, nothing happens, but my editor becomes un-dirty.

From debugging, it seems like one "empty" completion proposal is being created in CSharpCompletionProcessor's searchInTries(String, int, HashMap, HashSet, SourceElementLabelProvider) method.

Discussion

  • Remy Chi Jian Suen

    • summary: Editor is dirty after ctrl+space even if nothing happened --> Empty content assist proposal is suggested
     
  • Remy Chi Jian Suen

    Logged In: YES
    user_id=1299552
    Originator: YES

    I forgot to change the path in AssemblyExtractor which explains why nothing is shown up. Still, a completion proposal with an empty string should not be created/presented to the user.

     

Log in to post a comment.

MongoDB Logo MongoDB