Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [Dltk-dev] How to integrate code generator into DLTK framework?


  i haven't done any work on trying to get a formatter to work, so i'm going to have to defer that question.

  as for the builders, did you check to make sure that you actually have builders enabled? i created an IScriptBuilder implementation to start investigating automatically compiling the code on saves, but it wasn't firing. for some reason, the 'Builders' property page wasn't showing up for the project's properties.

  could you check to see if this is the case for you? if so, you're missing some plugins that your pde runtime needs for that page to display and the builders to work - but unfortunately, i'm not 100% sure what exactly is missing. i can mail you a copy of my launch config so you can check it out to compare if that is your issue.

  if not, i just committed some of the work i did for the builder, but it is not enabled in the plugin.xml, however it should be enough to double check your work against.

  let me know if you've got questions.

On Nov 10, 2007 4:14 PM, Gerald Rosenberg <gerald@xxxxxxxxxx> wrote:
Editor is running well on the new DLTK 1.0M3 codebase.

Having trouble understanding how to do a few things the "DLTK" way:

1) Formatters: I have implemented SourceViewerConfigurations# getContentFormatter(), but do not see what more needs to be done to make the formatters available/functional in the editor.  A quick list of the essential steps needed to integrate a custom content formatter into the DLTK framework would be appreciated.

2) Builders:  my editor is setup to edit a grammar specification that needs to be fed to an existing code generator.  I have tried creating an implementation of ScriptBuilder, but it is not being called in response to any editor actions/operations.  Again, a quick list of essential steps needed to enable an incremental builder would be appreciated.

I have gone through the Ruby, Lua, and Perlipse code bases, but evidently missing how they do these two thing.

Thanks,
Gerald


----
Gerald B. Rosenberg
Certiv Analytics

www.certiv.net

_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev




--
-jae

Back to the top