首页 文章 精选 留言 我的

精选列表

搜索[eclipse],共2970篇文章
优秀的个人博客,低调大师

eclipse让Html Javascript 自动提示

Javascript 自动提示:JavaScript→Editor→Content Assist 修改Auto Activation triggers for javaScript的值为:zjs 点击apply按钮 Html 自动提示: web→html Files→Editor→Content Assist 修改Prompt when these characters are inserted:的值为:zhtml 点击apply按钮 导出Perferences! 再查找 zjs 然后将其值改为 .abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVW 再查找 zhtml 然后将其值改为 <=.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVW 再把Perferences导进去就OK了

优秀的个人博客,低调大师

eclipse中关联文件设置方法

在前几次的试验中,只是做了处于应用程序最上层的界面设计,其实还不知程序在运行过程中到底调用了哪些函数,这些函数是怎么实现的,由于搭建环境时没有进行文件关联,所以在环境中无法实现ctrl键+左击鼠标的方式及时查看类的编写方法。 究其原因还是一时偷懒,没有仔细上网找android前几个版本的源代码,就自己告诉自己说找不到,影响了后续的学习。 如下为本人实现文件关联的方法: android前几个版本的下载连接方式: android-1.5的下载地址有如下http://rgruet.free.fr/public/android-1.5-cupcake-src.zip(21.6MB) android-1.6的下载地址有如下http://rgruet.free.fr/public/android-1.6_r1-donut-src.zip(23MB) android-2.0的下载地址有如下http://rgruet.free.fr/public/android-2.0-eclair-src.zip(24.4MB) android-2.2的下载地址有如下 http://119.147.106.190/down_group17/M00/49/31/d5NqvkzbO6gAAAAAAhTY9ycTYw89285789/android-2.2-src.zip?k=eAw_hVBYMFOQI2YQLZ5GDQ&t=1320675718&u=113.140.86.66@0@blyw5ch6&file=android-2.2-src.zip下载完这些源文件后,在android-sdk-windows的目录下新建一个文件夹如source,存放这些源文件。 方法一: 此时,尝试在我们的程序中进行ctrl键+左击鼠标,如果出现如下图所示界面: 点击Change Attached Source按钮,出现如下界面: 点击External Files,选中android-sdk-windows目录下source文件夹,选中android-2.2-src.zip文件包,点击确定。 好了回到程序中,实现ctrl键+左击鼠标,看看能不能阅读android的源文件。方法一就完成了。 方法二: 如果当前我们使用的android是2.2版本,解压android-2.2-src.zip,将解压好的文件粘贴至android-sdk-windows目录下的platforms的android-8(2.2版本对用android-8)文件夹下。如下图(我的android-sdk-windows目录下的platforms的android-8文件): 此时,尝试在我们的程序中进行ctrl键+左击鼠标,如果出现如下图所示界面: 点击Change Attached Source按钮,出现如下界面: 点击External Folder,选择我们刚才将解压好的文件存放的位置: 选中android-2.2-src, 点击确定。 好了,关联文件设置完成,再次回到自己的程序中实现ctrl键+左击鼠标,就可以阅读源代码了。如果按照上述步骤应该没有问题了,如有问题可以相互讨教。 当然在上面的解释中使用的是android的2.2版本,如果你是其他版本,关联方法可以套用 本文转自欢醉博客园博客,原文链接http://www.cnblogs.com/zhangs1986/p/3251730.html如需转载请自行联系原作者 欢醉

优秀的个人博客,低调大师

Hadoop on Windows with Eclipse -01- Introduction

Introduction Hadoopis a powerful framework for automatic parallelization of computing tasks. Unfortunately programming for it poses certain challenges. It is really hard to understand and debug Hadoop programs. One way to make it a little easier is to have a simplified version of the Hadoop cluster that runs locally on the developer's machine. This tutorial describes how to set up such a cluster on a computer running Microsoft Windows. It also describes how to integrate this cluster withEclipse, a primeJavadevelopment environment. Organization of the tutorial. Since Hadoop is a very complex environment, this tutorial has been broken down into several small steps. Each step involves setting up some aspect of the system and verifying that it has been set up correctly. For better understanding, each tutorial is accompanied by screenshots and a recorded video of the steps. Questions, Suggestions Comments Please leave questions, suggestions and comments about this tutorialhere.

优秀的个人博客,低调大师

Eclipse中Android单元测试

说说正常的代码吧 1) 1:java测试类 <span style="font-size:14px;">package com.medivh.app; public class Person { public String sub(String username) { String sub = username.substring(3); return sub; } public int add(int a,int b) { return a+b; } }</span> 2: <span style="font-size:14px;">package com.medivh.app; import org.junit.Test; import junit.framework.Assert; importandroid.test.AndroidTestCase; public class PersonTest extends AndroidTestCase { @Test public void testSub() throws Exception { Person p = new Person(); p.sub(null); } public void testAdd() throws Exception { Person p = new Person(); int result = p.add(1, 4); Assert.assertEquals(result, 6); } } </span> 2)AndroidManifest.xml <span style="font-size:14px;"><?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.medivh.app" android:versionCode="1" android:versionName="1.0"> <application android:icon="@drawable/ic_launcher" android:label="@string/app_name"> <activity android:name=".MainActivity" android:label="@string/app_name"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <span style="color:#FF0000;"><uses-library android:name="android.test.runner" /></span> </application> <uses-sdk android:minSdkVersion="8" /> <span style="color:#FF0000;"><instrumentation android:name="android.test.InstrumentationTestRunner" android:targetPackage="com.medivh.app" android:label="Tests for My App" /></span> </manifest> </span> 3)测试 右键项目Run as.. Android Junit Test 就会出结果 开始的时候犯迷糊结果各种出错: No instrumentation runner found for the launch, using android.test.InstrumentationTestRunner First does not specify a android.test.InstrumentationTestRunner instrumentation or does not declare uses-library android.test.runner in its AndroidManifest.xml is not configured correctly for running tests 到网上各种查,发现配置没错啊。最后才发现问题出在我居然眼睛进沙子一般修改了bin下面的AndroidManifest.xml,可能是我前面打开了这个目录,结果就随意打开了它修改了它。希望大家以后小心行事。 最新内容请见作者的GitHub页:http://qaseven.github.io/

资源下载

更多资源
腾讯云软件源

腾讯云软件源

为解决软件依赖安装时官方源访问速度慢的问题,腾讯云为一些软件搭建了缓存服务。您可以通过使用腾讯云软件源站来提升依赖包的安装速度。为了方便用户自由搭建服务架构,目前腾讯云软件源站支持公网访问和内网访问。

Nacos

Nacos

Nacos /nɑ:kəʊs/ 是 Dynamic Naming and Configuration Service 的首字母简称,一个易于构建 AI Agent 应用的动态服务发现、配置管理和AI智能体管理平台。Nacos 致力于帮助您发现、配置和管理微服务及AI智能体应用。Nacos 提供了一组简单易用的特性集,帮助您快速实现动态服务发现、服务配置、服务元数据、流量管理。Nacos 帮助您更敏捷和容易地构建、交付和管理微服务平台。

Rocky Linux

Rocky Linux

Rocky Linux(中文名:洛基)是由Gregory Kurtzer于2020年12月发起的企业级Linux发行版,作为CentOS稳定版停止维护后与RHEL(Red Hat Enterprise Linux)完全兼容的开源替代方案,由社区拥有并管理,支持x86_64、aarch64等架构。其通过重新编译RHEL源代码提供长期稳定性,采用模块化包装和SELinux安全架构,默认包含GNOME桌面环境及XFS文件系统,支持十年生命周期更新。

Sublime Text

Sublime Text

Sublime Text具有漂亮的用户界面和强大的功能,例如代码缩略图,Python的插件,代码段等。还可自定义键绑定,菜单和工具栏。Sublime Text 的主要功能包括:拼写检查,书签,完整的 Python API , Goto 功能,即时项目切换,多选择,多窗口等等。Sublime Text 是一个跨平台的编辑器,同时支持Windows、Linux、Mac OS X等操作系统。

用户登录
用户注册