OK. I indeed can see the autocomplete inside scripteditor. Thanks. So is this scripteditor THE tool most people are using for coding in GH? If not, just tell me what should I do!
I try to copy some code into the scripteditor. Me.Close() but when I type in me, there is no autocomplete things coming out. please see the attached picture. Did I do anything wrong? http://grasshopper3d.googlegroups.com/web/rhinoVB.NET_01.JPG?hl=en&gsc=ZMKnQRYAAAAeeCLCEQIy059e4ANetIEmOkh0iBmraMEV23BitRBh_w On Mar 12, 7:38 am, David Rutten <[email protected]> wrote: > Hi cmrhm, > > autocompletion /should/ work inside the Grasshopper VB editor. Though > there's a problem with that editor since it doesn't understand generic > list syntax, so if an input parameter is a list, it will get confused > and stop providing autocompletion information. > > The compiler I'm talking about doesn't have a frontend. It's just a > class somewhere deep inside the DotNET framework. I send it a string > containing source code and it gives me a compiled dll in return. The > only interaction you'll personally get with the compiler is if you > make a mistake in the source code. In that case the compiler will > provide me with a list of errors and warnings, which I in turn hand > over to you by adding them to the component. > > -- > David Rutten > [email protected] > Robert McNeel & Associates > > On Mar 12, 4:38 am, CMRHM <[email protected]> wrote: > > > > So, if you wish to write a Rhino DotNET Plugin, you need to get a > > > DotNET IDE (Integrated Development Environment) such as Microsoft > > > Visual Studio and also our plugin wizards which will help you set up a > > > proper plugin with just a few clicks. > > > > If, on the other hand, you wish to use the DotNET functionality inside > > > Grasshopper, all you have to do (assuming you already have grasshopper > > > installed and running) is make a new VB component, double click it and > > > start typing. > > > Hi, David: > > > Thanks for this thorough explanation. I gained more than I asked. By > > far, I just want to use .NET Functionality inside the grasshopper. My > > Q is regarding the compiler for VB.net code. You know, inside GH, > > that scripteditor is a very basic one. If I type sth in the beginning, > > there is no many related classes shown up( no autocomplete function). > > I need a source code compiler to help me to debug the code. > > > You said The DotNET framework already comes with a compiler for VB and > > C#. Could you please tell me how to bring up this compiler inside GH? > > > cmrhm
