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
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。