Eclipse 语法提示

新建一个txt 拷贝下面的文本,然后保存修改扩展名为.epf

#Sat Nov 29 17:33:44 CST 2014
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.codeComplete.staticFieldPrefixes=
/instance/org.eclipse.ant.ui/problem_properties=ignore
@org.eclipse.debug.ui=3.9.0.v20130516-1713
/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.text.custom_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates/>
@org.eclipse.ui.ide=3.9.2.v20131004-0923
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.codeComplete.argumentSuffixes=
/instance/org.eclipse.jdt.launching/org.eclipse.jdt.launching.PREF_VM_XML=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?>\r\n<vmSettings defaultVM\="57,org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType13,1417252052096">\r\n<vmType id\="org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType">\r\n<vm id\="1417252052096" name\="jre7" path\="D\:\\Software\\Java\\jre7"/>\r\n</vmType>\r\n</vmSettings>\r\n
/instance/org.eclipse.jdt.debug/org.eclipse.jdt.debug.PREF_HCR_WITH_COMPILATION_ERRORS=true
/instance/org.eclipse.jdt.debug/org.eclipse.jdt.debug.default_breakpoint_suspend_policy=2
/instance/org.eclipse.ant.ui/problem_classpath=warning
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.codeComplete.argumentPrefixes=
@org.eclipse.ui.trace=1.0.100.v20130508-1926
/instance/org.eclipse.ui.trace/tracingEntries=org.eclipse.jdt.launching/debug/classpath/jreContainer\=false;org.eclipse.jdt.launching/debug\=false;org.eclipse.debug.core/debug/events\=false;org.eclipse.debug.core/debug/commands\=false;org.eclipse.debug.core/debug\=false;org.eclipse.jdt.debug/debug/jdiEvents\=false;org.eclipse.jdt.debug/debug/astEvaluations/callingThreads\=false;org.eclipse.jdt.debug/debug/jdiRequestTimes\=false;org.eclipse.jdt.debug/debug\=false;org.eclipse.jdt.debug/debug/astEvaluations\=false;org.eclipse.debug.ui/debug/viewers/updateSequence\=false;org.eclipse.debug.ui/debug/memory/dynamicLoading\=false;org.eclipse.debug.ui/debug\=false;org.eclipse.debug.ui/debug/breadcrumb\=false;org.eclipse.debug.ui/debug/contextlaunching\=false;org.eclipse.debug.ui/debug/viewers/presentationId\=;org.eclipse.debug.ui/debug/viewers/deltas\=false;org.eclipse.debug.ui/debug/viewers/breakpointDeltas\=false;org.eclipse.debug.ui/debug/launchhistory\=false;org.eclipse.debug.ui/debug/viewers/viewer\=false;org.eclipse.debug.ui/debug/viewers/stateSaveRestore\=false;org.eclipse.debug.ui/debug/viewers/contentProvider\=false;org.eclipse.debug.ui/debug/viewers/model\=false;org.eclipse.pde.api.tools/debug/classfilevisitor\=false;org.eclipse.pde.api.tools/debug/apiprofile\=false;org.eclipse.pde.api.tools/debug/apianalyzer\=false;org.eclipse.pde.api.tools/debug/profilemanager\=false;org.eclipse.pde.api.tools/debug/descriptor/framework\=false;org.eclipse.pde.api.tools/debug/search\=false;org.eclipse.pde.api.tools/debug/builder\=false;org.eclipse.pde.api.tools/debug/workspacedeltaprocessor\=false;org.eclipse.pde.api.tools/debug/usereportconverter\=false;org.eclipse.pde.api.tools/debug/apidescription\=false;org.eclipse.pde.api.tools/debug/apifilterstore\=false;org.eclipse.pde.api.tools/debug/pluginworkspacecomponent\=false;org.eclipse.pde.api.tools/debug/delta\=false;org.eclipse.pde.api.tools/debug\=false;org.eclipse.pde.api.tools/debug/tagscanner\=false;
/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.text.code_templates_migrated=true
/instance/org.eclipse.ui.views.log/show_filter_text=true
/instance/org.eclipse.ui.ide/PROBLEMS_FILTERS_MIGRATE=true
/instance/org.eclipse.ui.editors/overviewRuler_migration=migrated_3.1
@org.eclipse.jdt.ui=3.9.2.v20131106-1600
/instance/org.eclipse.ui.trace/tracingMaxFileSize=1000
/instance/org.eclipse.core.resources/version=1
@org.eclipse.core.resources=3.8.101.v20130717-0806
/instance/org.eclipse.jdt.junit.core/org.eclipse.jdt.junit.enable_assertions=false
/instance/org.eclipse.ui/showIntro=false
/instance/org.eclipse.ui.trace/tracingEnabled=true
/instance/org.eclipse.jdt.ui/tabWidthPropagated=true
/instance/org.eclipse.ui.views.log/activate=true
/instance/org.eclipse.ui.views.log/orderValue=-1
/instance/org.eclipse.ant.ui/useAnnotationsPrefPage=true
/instance/org.eclipse.jdt.ui/hoverModifiers=org.eclipse.jdt.ui.BestMatchHover;0;org.eclipse.jdt.internal.debug.ui.JavaDebugHover;\!0;org.eclipse.jdt.ui.ProblemHover;\!0;org.eclipse.jdt.ui.NLSStringHover;Ctrl+Alt;org.eclipse.jdt.ui.JavadocHover;Ctrl+Shift;org.eclipse.jdt.ui.AnnotationHover;\!0;org.eclipse.jdt.ui.JavaSourceHover;Shift;
/configuration/org.eclipse.ui.ide/MAX_RECENT_WORKSPACES=5
@org.eclipse.ui.workbench=3.105.2.v20140211-1711
file_export_version=3.0
@org.eclipse.jdt.launching=3.7.1.v20131218-1102
/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.editor.tab.width=
/instance/org.eclipse.pde.api.tools/knownEEFragments=
/instance/org.eclipse.jdt.ui/org.eclipse.jface.textfont=1|Consolas|10.0|0|WINDOWS|1|0|0|0|0|0|0|0|0|1|0|0|0|0|Consolas;
/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.exception.name=e
/instance/org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true
/instance/org.eclipse.team.ui/org.eclipse.team.ui.first_time=false
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
/instance/org.eclipse.jdt.ui/org.eclipse.jdt.quickassist.lightbulb=true
/instance/org.eclipse.ui.ide/platformState=1417251822849
@org.eclipse.core.net=1.2.200.v20130430-1352
\!/=
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.compiler.compliance=1.7
/instance/org.eclipse.ui.views.log/orderType=2
/instance/org.eclipse.jdt.ui/hoverModifierMasks=org.eclipse.jdt.ui.BestMatchHover;0;org.eclipse.jdt.internal.debug.ui.JavaDebugHover;0;org.eclipse.jdt.ui.ProblemHover;0;org.eclipse.jdt.ui.NLSStringHover;327680;org.eclipse.jdt.ui.JavadocHover;393216;org.eclipse.jdt.ui.AnnotationHover;0;org.eclipse.jdt.ui.JavaSourceHover;131072;
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.codeComplete.fieldSuffixes=
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.codeComplete.localSuffixes=
/instance/org.eclipse.jdt.launching/org.eclipse.jdt.launching.PREF_CONNECT_TIMEOUT=20000
@org.eclipse.jdt.junit=3.7.200.v20130514-0733
/instance/org.eclipse.jdt.ui/content_assist_number_of_computers=13
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.codeComplete.fieldPrefixes=
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.codeComplete.localPrefixes=
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.codeComplete.visibilityCheck=enabled
/instance/org.eclipse.ui.views.log/groupBy=0
@org.eclipse.ui.editors=3.8.100.v20130513-1637
/configuration/org.eclipse.ui.ide/RECENT_WORKSPACES=F\:\\JavaWorkSpace
/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.keywordthis=true
/instance/org.eclipse.jdt.ui/smart_opening_brace=true
/instance/org.eclipse.ui.ide/quickStart=false
@org.eclipse.jdt.junit.core=3.7.200.v20130514-1154
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
/instance/org.eclipse.ant.ui/problem_imports=warning
/instance/org.eclipse.debug.ui/org.eclipse.debug.ui.PREF_LAUNCH_PERSPECTIVES=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?>\r\n<launchPerspectives/>\r\n
/instance/org.eclipse.jdt.ui/content_assist_proposals_foreground=0,0,0
/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.formatterprofiles.version=12
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
@org.eclipse.jdt.core=3.9.2.v20140114-1555
@org.eclipse.ui.views.log=1.0.400.v20130515-2009
/instance/org.eclipse.jdt.junit/org.eclipse.jdt.junit.show_in_all_views=false
/instance/org.eclipse.jdt.ui/useAnnotationsPrefPage=true
/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.text.templates_migrated=true
/instance/org.eclipse.jdt.ui/useQuickDiffPrefPage=true
/instance/org.eclipse.ant.ui/problem_security=warning
/instance/org.eclipse.ui.views.log/column4=150
/instance/org.eclipse.ui.views.log/column3=150
/instance/org.eclipse.jdt.ui/smart_semicolon=true
@org.eclipse.jdt.debug=3.8.0.v20130514-0841
/instance/org.eclipse.ui.views.log/column2=300
/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.editor.showSegments=true
/instance/org.eclipse.ant.ui/useQuickDiffPrefPage=true
/instance/org.eclipse.jdt.debug/org.eclipse.jdt.debugdefault_watchpoint_suspend_policy=0
/instance/org.eclipse.ui.ide/tipsAndTricks=true
/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.gettersetter.use.is=true
/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.javadoclocations.migrated=true
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.compiler.source=1.7
/instance/org.eclipse.jdt.ui/content_assist_autoactivation_triggers_java=.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVW
/instance/org.eclipse.ui.trace/tracingMaxFileCount=10
@org.eclipse.team.ui=3.7.1.v20130729-1104
/instance/org.eclipse.jdt.debug/org.eclipse.jdt.debug.suspend_for_breakpoints_during_evaluation=true
/instance/org.eclipse.jdt.ui/content_assist_proposals_background=255,255,255
/instance/org.eclipse.jdt.ui/proposalOrderMigrated=true
/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.overrideannotation=true
/instance/org.eclipse.ant.ui/problem_tasks=ignore
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.codeComplete.staticFinalFieldPrefixes=
/instance/org.eclipse.jdt.ui/sourceHoverBackgroundColor=255,255,225
/configuration/org.eclipse.ui.ide/RECENT_WORKSPACES_PROTOCOL=3
/configuration/org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true
/instance/org.eclipse.ui.trace/tracingFilePath=F\:\\JavaWorkSpace\\.metadata\\trace.log
@org.eclipse.ant.ui=3.5.400.v20140203-1328
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
/instance/org.eclipse.jdt.launching/org.eclipse.jdt.launching.only_include_exported_classpath_entries=false
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.codeComplete.staticFinalFieldSuffixes=
/instance/org.eclipse.ui.workbench/org.eclipse.ui.commands=<?xml version\="1.0" encoding\="UTF-8"?>\r\n<org.eclipse.ui.commands/>
/instance/org.eclipse.debug.ui/preferredTargets=default\:default|
/instance/org.eclipse.jdt.debug/org.eclipse.jdt.debug.PREF_REQUEST_TIMEOUT=3000
/instance/org.eclipse.jdt.ui/fontPropagated=true
@org.eclipse.pde.api.tools=1.0.501.v20130807-1634
/instance/org.eclipse.jdt.ui/content_assist_autoactivation_delay=20
/instance/org.eclipse.jdt.ui/spelling_locale_initialized=true
@org.eclipse.ui=3.105.0.v20130522-1122
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.codeComplete.staticFieldSuffixes=
/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates/>
/configuration/org.eclipse.ui.ide/SHOW_WORKSPACE_SELECTION_DIALOG=false

然后File→Import→Preferences→test.epf,ok,再去编写java程序。

http://www.cnblogs.com/myitm/archive/2010/12/17/1909194.html

时间: 2024-11-10 06:34:20

Eclipse 语法提示的相关文章

Eclipse/MyEclipse配置XML语法提示

在Eclipse/MyEclipse中编写XML文件时,如果有语法提示,则会大大提高效率: 如果能找到定义XML语法的dtd文件,则很容易配置xml文件的语法提示,以struts.xml为例, struts.xml 文件本身已经提供了对应的语法文件的网络地址,如下图: 按照下图的步骤依次添加即可.

myEclipse/Eclipse 自动提示代码?呵呵,来吧!我告诉你

打开Window -> Perferences,并依次展开 Java -> Editor -> Content Assist 找到  auto activation triggers for java   . 会看到只有一个"."存在.表示:只有输入"."之后才会有代码提示,我们要修改的地方就是这里, myEclipse修改方法:把"."改为"abcdefghijklmnopqrstuvwxyz" Eclip

SQL Prompt 7 破解教程,SQL语法提示工具

当我们在写SQL语句的时候,没有语法提示,效率低,今天给大家分享一款软件以及破解方法.看下图,是不是很方便了呢? 下载地址:http://pan.baidu.com/s/1slM2UCH 密码:kor3 注册机会报毒,安装前请先关闭杀毒软件! 下载好附件之后解压,打开SQLPrompt_7.2.0.241.exe按照提示安装完成. 安装完成后断网!打开数据库,会在菜单栏中看到SQL Prompt 点击依次打开Help->Enter Serial Number-如下图: 打开注册机SQL.Prom

Linux Eclipse代码提示功能设置(Java &amp; C/C++)

最近在Linux下开发,由于长期使用Visual Studio 2010,对代码提示功能情有独钟,现在在Linux下,使用Eclipse做开发,当然免不了怀念Visual Studio强悍的代码提示,于是在网上搜索了一些文章,整理出关于Eclipse代码提示功能设置的方法. Java: 增强Eclipse 的代码提示功能,具体怎么样来配置?下面开始说步骤: 1. 打开Eclipse,然后“window”→“Preferences” 2. 选择“java”,展开,“Editor”,选择“Conte

Eclipse无提示的解决办法以及.(点)出提示时间延时的设置

1.Eclipse无提示的解决办法(小括号内的为中文版本菜单名): 解决方法是:Windows(窗口)——>Preferences(首选项)——>Java-->Editor(编辑器)-->Content Asist(内容辅助),在Auto activation triggers for Java(java的自动激活触发器)后面的文本框里只有一个“.”.现在你将其改为”.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ“并确定退

运行eclipse就提示 The Eclipse executable launcher was unable to locate its companion library. 解决方案

你试试把中文路径换掉 不行的话参考 逝去的青春的博客:Eclipse出现“The Eclipse executable launcher was unable to locate its companion shared library”错误的解决方法如下: 一.打开eclipse目录下的配置文件eclipse.ini. 二.将--launcher.library和-startup下面的路径都改为当前的正确路径. 如我的eclipse的存放路径由D:\Program Files\改为D:\,则将

Xcode解决代码高亮、语法提示、错误警告等功能失效的解决方法

在编写xcode的项目的时候出现过代码不高亮的症状,而且所有的warning都不再提示,include的内容也显示symbol not found,非常奇怪,解决方案如下: 方法一: 1.把.pch里的内容全部注释掉 2.clean掉项目里的内容 3.把.pch里的注释去掉,编译. 4.代码高亮,语法提示功能都回来了. 方法二: 1.关闭项目 2.选择Window->Organizer->Projects 3.选择失效的那一个工程,右健,Remove from Organizer 4.打开工程

eclipse 中提示tomcat 的端口被占用了 后的最快捷解决方法

很多时候运行tomcat 的时候总是会提示tomcat 的端口呗占用 但是任务管理器里面还找不到是哪个端口被占用了 因此很多人就重新配置tomcat  或者去修改tomcat的端口号 ,其实这么做太麻烦了 ,小弟在这里告诉你一个非常简单的方法. 1.在开始菜单中选择运行  然后输入cmd  进入DOS界面.显示如下: 2.在Dos窗口中输入netstat   -ano|findstr  8080(注意的 我的透明cat 的断口号 是8080 你的断口号是多少就写多少) 输入完成后回车 会弹出下面

Mac下打开eclipse 始终提示 你需要安装Java SE 6 Runtime

Mac下打开eclipse 始终提示 你需要安装Java SE 6 Runtime        周银辉 我的mac os 版本是10.9.2,  JDK配置得好好的,但打开eclipse时还是提示需要安装JRE 6.解决方法如下: 打开/Library/Java/JavaVirtualMachines/jdkXXXXX.jdk/Contents/Info.plist 按照如下配置,然后重启计算机. <key>JVMCapabilities</key> <array>