junichi11 / netbeans-wordpress-plugin

Support for WordPress
http://plugins.netbeans.org/plugin/46542/php-wordpress-blog-cms
Other
91 stars 35 forks source link

[request] Plugin, Theme minimum requirement option #24

Closed ve3 closed 1 year ago

ve3 commented 11 years ago

Hello,

This may be feature request. Many time developers make themes or plugins and they have to manually check minimum requirement for each functions they used.

For example: some functions require WordPress 3.4 which means minimum requirement is WP 3.4 or some functions require WordPress 3.5 which means minimum requirement is WP 3.5

It would be very good feature for developers and designers to check their requirement before publish their plugins or themes.

junichi11 commented 11 years ago

Hello,

I'm not sure whether I can implement this feature, but I'll try it :)

Thanks for your request.

junichi11 commented 10 years ago

This feature needs PHP Annotation API. So, I have to ask NB team to add this module to api friend. I have not done that yet. Perhaps, It's available when patches are provided for NetBeans 8.0 stable since It's too late. Thus, I'll not provide this feature yet. (Probably, I can implement it, but this module depends on NetBeans build version if we use implementation version of PHP Annotation API. I want to avoid that.)

junichi11 commented 10 years ago

Where do we have to check places?

more?

If call_user_func* is used, we have to check it manually.

First, I have added checking for functions. nb-wp-search-minimum-requirement2

nb-wp-search-minimum-requirement3 nb-wp-search-minimum-requirement4

cfoellmann commented 10 years ago

Have a look at this http://wpseek.com/pluginfilecheck/ service - provide a full zip file and it lists you the minimum version and all functions used. Maybe you can hook into that service. Talked to the guy providing the service in the past. He is a good guy and you will definitely get a reply.

@junichi11 - I know this not the right place but since I do not have any other way to contact you: What do you think about a nb plugin to add the syntax highlighting for sh [Shell Script (text/sh)] from the C/C++ plugin. I am a WP dev and activate the C/C++ only for sh syntax highlighting. I suspect it would only take you little work to extract the code from the C/C++ plugin and create a plugin. I would do it myself but Java is a mystery to me.

junichi11 commented 10 years ago

@cfoellmann

Have a look at this http://wpseek.com/pluginfilecheck/ service

Thanks for telling me about that :)

I know this not the right place but since I do not have any other way to contact you:

twitter : junichi_11, email : exists in commit log

What do you think about a nb plugin to add the syntax highlighting for sh [Shell Script (text/sh)] from the C/C++ plugin. I am a WP dev and activate the C/C++ only for sh syntax highlighting.

I also do it only sh syntax highlighting.

I suspect it would only take you little work to extract the code from the C/C++ plugin and create a plugin.

Perhaps, I think that we can do that. But you should try to request to separate the shell language support from C/C++ plugin in NetBeans bugzilla[1] with your reason once. Because we have to maintain the source codes if they are changed in NetBeans side. (This is not good. I think that we should avoid to separate it by third party because it may incur some problems.)

[1] https://netbeans.org/community/issues.html

Thanks.

Chris2011 commented 6 years ago

Maybe the yenta hack can help here: https://bitbucket.org/jglick/yenta