[Qt-creator] Gala QtCreator plugin evaluation

Typz thetypz at gmail.com
Wed May 21 15:59:54 CEST 2014


This looks great! As for the name, what about "QtCreator-JsScripting-Plugin"
or "QtCreator-JsExtensitions-Plugin" ?


On Wed, May 21, 2014 at 12:29 PM, lexxmark <lexxmark.dev at gmail.com> wrote:

> Hi Eric!
> What about renaming it to something more linked to QtCreator, like QCJS
>> aka "QtCreatorJavaScript", QCP (QtCreatorPlugin), QCPJS, ... ?
>> (with my excuses in advance to your wife of course ;)
> No problems. I like "QtCreator-JS-Plugin" (like
> https://github.com/MichaelSp/QtCreator-Jenkins-Plugin).
> But I think it can be misunderstanded. Is this plugin to enrich QtCreator
> to work with JS code or it's binding of JS to QtCreator plugin framework
> (as it is)?
> What do you think?
>> l> I have to differentiate regullar *.js files and *.gala files, because
>> l> *.gala file (as usual JS code) can import another *.js file. But in
>> plugin
>> l> I should load only *.gala files and not all *.js files.
>> l> If all JavaScript files will be with *.js extention I cannot recognize
>> l> which should be loaded as scripts to GalaPlugin and which are just
>> l> sub-modules.
>> l> I hope tha idea is clear.
>> Sure, I see your point. I however think that files looking like JavaScript
>> should always stick with a .js extension . Just some examples: it allows
>> to
>> open these with correct syntax highlighting in any editor, use specialized
>> JavaScript tools to generate/manipulate it, ...
>> What about using some easy convention, like for any plugin in "DIRECTORY",
>> if a "DIRECTORY/DIRECTORY.js" file exists, assume it is a plugin ?
> Yes, I see. I agree we should use .js extention. But in your solution you
> force user to place js sub-modules
> in different place, not close to script plugin itself.
> We can use weak rule: try to load each .js file and look for
> "plugin_initialize" function within
> ("plugin_initialize" is more unique name than just "initialize" as it's
> now).
>> Eric
>> --
>> Eric Landuyt, Developer - mailto:eric at datarescue.be
>> DataRescue sa/nv - http://www.datarescue.com
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20140521/7a25f839/attachment.html>

More information about the Qt-creator mailing list