标签: plugins

Eclipse插件:检查编辑器中的文件是否已保存?

我正在构建一个Eclipse插件,我想检查编辑器中的当前文件是否有未保存的更改.有谁知道如何做到这一点?我试过环顾四周,我认为它与之有关:

 PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
Run Code Online (Sandbox Code Playgroud)

eclipse plugins editor

0
推荐指数
1
解决办法
360
查看次数

Jekyll不处理服务器上的插件

Jekyll正在我的本地机器上处理我的_plugins文件夹(OS X 10.7.4,ruby 1.9.3),但它没有在服务器上处理它们(Ubuntu 12.04,ruby 1.9.3).两者都安装了相同版本的Jekyll(0.11.2).

我试图用generate_sitemap插件,在这里.

我正在通过git和post-receive钩子进行部署,如下所示:

#!/bin/bash -l

GIT_REPO=/my_repo.git
TMP_GIT_CLONE=/my_temp_folder/
PUBLIC_WWW=/my_public_folder/

git clone $GIT_REPO $TMP_GIT_CLONE
jekyll --no-auto $TMP_GIT_CLONE $PUBLIC_WWW
rm -Rf $TMP_GIT_CLONE
exit
Run Code Online (Sandbox Code Playgroud)

我部署时看到此错误:

remote: /home/ed/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use String#encode instead.
Run Code Online (Sandbox Code Playgroud)

但是,据我所知,这是一个Maruku警告,与插件无关.

我有什么想法可以解决这个问题吗?我有点失落.

plugins jekyll

0
推荐指数
1
解决办法
800
查看次数

Clang在使用插件时不会创建目标文件

我正在尝试使用clang ++而不是g ++来创建稍后将由gnu链接器链接的目标文件.

我能够使用原生clang ++成功地做到这一点,但是当我使用clang ++和插件时,我收到一个链接错误:

clang:错误:链接器命令失败,退出代码为1(使用-v查看调用)

没关系!我只需要对象文件!但是,当我指定-S或-c时,我没有得到任何目标文件,即使我使用.o来显式指定输出文件.

即使使用clang的示例插件,我也无法做到这一点.

如何让clang给出一个目标文件?

非常感谢!

plugins file object hyperlink clang

0
推荐指数
1
解决办法
801
查看次数

jQuery或JavaScript Sticky Elements的一个很好的教程

我试图找到一个体面的教程或代码示例,了解如何实现我在网络上看到的共同效果.基本上它有一个元素在滚动时遇到元素时将自身附加到窗口的顶部.坦率地说,我不知道该怎么称呼这个功能,或者如何去寻找实现它的具体细节.

这是一个例子,来自Twitter Bootstrap Docs.标题和子标题下的栏会在滚动过去时附加到窗口以帮助您浏览页面.

另一个例子是Android开发者页面.左侧导航元素将在滚动时将其自身附加到窗口.

非常感谢任何协助.

在此先感谢和欢呼!

javascript css jquery plugins

0
推荐指数
1
解决办法
2894
查看次数

产品图片放大zen购物车?

我需要帮助 how can i zoom image of the product in zen cart ?

我试试jqzoom插件但没有显示任何效果也没有找到任何选项admin->configuration->jqzoom

我用的zen cart version 1.5.0. 是jqzoom兼容zen cart 1.5.0版?

或建议任何其他兼容zen cart版本1.5.0的插件

提前致谢..

php plugins jquery-plugins zen zen-cart

0
推荐指数
1
解决办法
787
查看次数

Javascript多选和自动完成插件

我正在为选择框寻找一个js/jquery插件.

要求如下:

  1. 允许多项选择,理想情况下不重复(删除已经选择的项目)
  2. 自动完成,就像在jquery自动完成选择
  3. 应允许用户输入初始选择中不存在的值.
  4. 它应该能够快速研磨大量选项.金额约为3至1万.
  5. 它应该能够处理自动完成的unicode字符.

我用选择面前,它适合于大部分的需求,除了4和5.

这样的东西存在吗?或者至少有一些关闭和可用于分叉的东西?

javascript jquery plugins html-select

0
推荐指数
1
解决办法
4626
查看次数

jQuery命名空间并使用"this"

我的对象/功能范围和对某些事物的一般理解有问题.我正在调用doc中的jQuery函数,如下所示:

$("#interactiveQA .actionTile").on('click',function(){
    $(this).activeTiles("init");
});
Run Code Online (Sandbox Code Playgroud)

然后我在这里创建脚本:

(function($) {

    var methods = {
        init: function() {
            var tileClicked = $(this).attr('id');
        }
    };

    $.fn.activeTiles = function(method) {

        // Method calling logic
        if (methods[method]) {
            return methods[method].apply(this, Array.prototype.slice.call(arguments, 1));
        } else if (typeof method === 'object' || !method) {
            return methods.init.apply(this, arguments);
        } else {
            $.error('Method ' + method + ' does not exist on jQuery.slider');
        }
    };

})(jQuery);
Run Code Online (Sandbox Code Playgroud)

这是我想要找到的.尽可能在技术上,你能解释为什么var tileClicked = $(this)attr('id')在当前位置不起作用吗?您能否请详细解释您将采取哪些不同的做法或最佳做法等?

javascript jquery plugins

0
推荐指数
1
解决办法
58
查看次数

如何在我的插件 - CRM 2011上使用OrganizationServiceProxy?

我需要在CRM插件中使用fetch xml,我在这里找到了一个如何做到这一点的示例:

string groupby1 = @" 
    <fetch distinct='false' mapping='logical' aggregate='true'> 
     <entity name='opportunity'>
      <attribute name='name' alias='opportunity_count' aggregate='countcolumn' />  
      <attribute name='ownerid' alias='ownerid' groupby='true' />
      <attribute name='createdon' alias='createdon' /> 
      <attribute name='customerid' alias='customerid' /> 
     </entity> 
    </fetch>";

    EntityCollection groupby1_result = orgProxy.RetrieveMultiple(new FetchExpression(groupby1));
Run Code Online (Sandbox Code Playgroud)

但是还有一些我不知道如何使用的东西,或者它在哪里使用......它的部分内容如下:

orgProxy.RetrieveMultiple(new FetchExpression(groupby1));
Run Code Online (Sandbox Code Playgroud)

我知道它是OrganizationServiceProxy的一个对象,但它在插件类中的位置是什么?我找不到.

plugins fetchxml dynamics-crm-2011

0
推荐指数
1
解决办法
673
查看次数

Eclipse中的JCDE插件不起作用,java卡

我复制eclipse-jcde-0.2到eclipse'plugin文件夹,但eclipse中的插件不起作用,我还缺少必要的东西,如FEATURES文件夹,我怎样才能获得这些功能?

OS:windows
Eclipse version :3.2.
Run Code Online (Sandbox Code Playgroud)

eclipse plugins javacard

0
推荐指数
1
解决办法
2123
查看次数

我的pom中没有surefire插件 - 它如何显示surefire输出?

我的pom中没有surefire插件.但是当我使用命令运行时,我得到了确保插件错误:

 mvn test -Dtest=TEstClass
Run Code Online (Sandbox Code Playgroud)

错误:

 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-
 test) on project my-projection: No tests were executed!  (Set -DfailIfNoTests=false to ignore 
 this error.) -> [Help 1]
Run Code Online (Sandbox Code Playgroud)

它来自哪里?

java testing plugins testng maven

0
推荐指数
1
解决办法
104
查看次数