SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

CSharpCodeCompletion sample to support multiple TextControls

Last post 06-15-2008 1:48 PM by taras_b. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 06-15-2008 6:22 AM

    CSharpCodeCompletion sample to support multiple TextControls

    Hi,

    I would greatly appreciate if someone give me any suggestion on how to rewrite CSharpCodeCompletion sample to support multiple TextControls containing the code which belongs to the single codebase.

    Thanks

      

     

    Taras
  • 06-15-2008 10:37 AM In reply to

    Re: CSharpCodeCompletion sample to support multiple TextControls

    The ParseStep would need to access the active text editor control. You would also need to attach the CodeCompletionProvider and ToolTipProvider to all the text editors. You would also need to use a different filename for each text editor.

    Alternatively you could look at the snippet compiler sample that was recently added to SharpDevelop 3.0. This has support for multiple text editors and debugging. If you don't want support for debugging then it is probably easier to modify the CSharpCodeCompletion sample to support multiple text editors. 

  • 06-15-2008 12:28 PM In reply to

    Re: CSharpCodeCompletion sample to support multiple TextControls

    Hi Matt,

    Thank you for your suggestion. I am dying to see that "snippet compiler sample". However when I downloaded #Develop v3.0 src I do not see this sample. Some other yes but not that one. Where exactly is it available?

     

     

    Taras
  • 06-15-2008 1:15 PM In reply to

    Re: CSharpCodeCompletion sample to support multiple TextControls

    It's in the samples\SharpSnippetCompiler folder. I just checked the latest source code release 3105 from the build server and the sample is there in the zip file. The sample was added in revision 3096 so if you have at least that version it should be there.
  • 06-15-2008 1:48 PM In reply to

    Re: CSharpCodeCompletion sample to support multiple TextControls

    Fantastic!
     
    I was downloading not from the build server but rather from SharpDevelop 3.0 Download page where release 2970 was only available. It all makes sense now... :o)
     
    Thanks a lot

     

    Taras
Page 1 of 1 (5 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.