plugins

Intellij idea plugin development - hot reload?

生来就可爱ヽ(ⅴ<●) 提交于 2021-02-05 04:47:27
问题 I'm creating some plugin to intellij idea. Each time I'm changing code I need to re run app. Is there something like hot reload or similar thing? Or more efficient way? 回答1: I believe you are looking for the Run -> Reload Changed Classes It usually works well with small changes. 回答2: New versions of IntelliJ products support "Dynamic Plugins", which means restarting the development instance unnecessary. From https://www.jetbrains.org/intellij/sdk/docs/basics/plugin_structure/dynamic_plugins

cannot import cobertura-maven-plugin in intelliji

。_饼干妹妹 提交于 2021-01-29 17:28:06
问题 I use Intelliji IDEA 2019.3 and I try to use cobertura-maven-plugin this way <reporting> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> <version>${cobertura.version}</version> <configuration> <formats> <format>html</format> <format>xml</format> </formats> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId> <version>2.5</version> <configuration> <targetJdk>1.6<

Returning a value from Cordova File Plugin when called from a function

空扰寡人 提交于 2021-01-29 15:09:38
问题 I have seen someone has posted a similar question but it doesn't really fit what I'am looking for: Here is my code: $(document).ready(function(){ $("#btnTest").bind("click", function(){ a = createFile(); alert(">> "+a); // Displayed returned value; }); function createFile(){ var type = window.TEMPORARY; var size = 5*1024*1024; window.requestFileSystem(type, size, successCallback, errorCallback) function successCallback(fs) { fs.root.getFile('log.txt', {create: true, exclusive: true}, function

Wordpress issue importing .xml (Load Balanced website)

匆匆过客 提交于 2021-01-29 09:10:05
问题 I am moving posts from an old blog to my 'newer' blog and have used the standard Wordpress Import & Export tools for the exporting from the old blog then importing into the new blog. When I import the xml file into my new blog and assign the authors I get the following error: Sorry, there has been an error. The file does not exist, please try again. Not sure if this makes a difference but our website is currently hosted on Rackspace with a load balancer with 2 indentical instances of the

Require shopware 6 plugin via composer

痞子三分冷 提交于 2021-01-29 07:08:38
问题 I am developing a custom plugin for Shopware 6. It will not be sitting in Shopware Store but our own company repo on github. How can I make it get installed into custom/plugins instead of vendor when I run composer require plugin/name ? I tried setting up in plugin's composer "type": "shopware-plugin" and "type": "shopware-platform-plugin" but it still puts it into vendor . There is this: https://getcomposer.org/doc/faqs/how-do-i-install-a-package-to-a-custom-path-for-my-framework.md - I

Wordpress - How to make plugin's short code usable in text widget

一个人想着一个人 提交于 2021-01-29 07:06:46
问题 i've written a plugin which shortcodes can easily be used in every post and page. As this plugin can be useful in a sidebar as well i want to make the text widget usable for my shortcodes. When i googled this i found out that i can use the add_filter() function to ensure that, but this is only possible if i have access to the theme's functions.php. But as i am the creator of the plugin and not of the theme, this is not usable for me. Does anybody know how i can make a shortcode which is

How to create a password and confirm password on register page on WooCommerce

点点圈 提交于 2021-01-29 06:14:03
问题 I am learning WooCommerce development. I am on the register page and after entering the email and click on the button the I am getting the password on email. Now my issue is, I don't want an email for a password. I have created the register page with the password and confirm the password field. I want can enter their own there instead of getting the email on this password. function woocom_extra_register_fields() { ?> <p class="form-row form-row-wide mb-4"> <label for="reg_billing_password"

Cordova OneSignal Plugin won't getIds properly

▼魔方 西西 提交于 2021-01-28 22:59:02
问题 I got a small problem with the onesignal plugin for cordova. When I'm running the app for the first time on wifi it won't get user's ids if I switch on mobile data it works just fine, after this works on wifi too. This is the error i get on onesignal debugger: Index.html: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui"> <meta name="apple-mobile-web-app

Cordova OneSignal Plugin won't getIds properly

我的梦境 提交于 2021-01-28 22:31:24
问题 I got a small problem with the onesignal plugin for cordova. When I'm running the app for the first time on wifi it won't get user's ids if I switch on mobile data it works just fine, after this works on wifi too. This is the error i get on onesignal debugger: Index.html: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui"> <meta name="apple-mobile-web-app

.Net Plugin Architecture Not Working with Nuget

徘徊边缘 提交于 2021-01-28 18:59:28
问题 I have a .Net Core 3.1 console application that loads plugins. One of my plugins connects to Sqlite and so it has a Nuget dependency on Microsoft.Data.Sqlite. However, I'm getting a missing DLL exception from the console app when loading/running the plugin because the following path doesn't exist: MyConsoleApp\bin\x86\Debug\netcoreapp3.1\runtimes\win-x86\native\e_sqlite3.dll I also have an MsTest project which tests this Sqlite plugin project. It does not have the same problem. Apparently the