前几天在学习P/L SQl时,为了找到一个好的编辑器而烦恼,SQL*PLUS太麻烦了,记事本又太落后了,有些开发工具实在时杀鸡使用牛刀,后来还是选择了UltraEdit来编写PL SQL代码,可是该编辑器又没有默认高亮度显示PL SQL关键字的功能,不过幸好,还是在网上找到了配置的方法。
平时一直在写些Struts代码,除了使用Jb这样的大型工具以外,其他的工具根本就是不提工struts类库,那些类名高亮度显示的功能 ,不过后来按照配置PL SQL的方法还是配置好了。但是这个工具相对JCreator来说编写Java,特别时JSP,Servlet,Struts代码时还是很不方便的,心里想着,JCreator能不能想UltraEdit一样,也可以扩展某些关键字啊,结构还是找到了,方法如下:
1。文件 java.syn
该文件在D:\Program Files\Xinox Software\JCreatorV3\Syntax目录下。(根据你的安装目录不同,不一样);
2。打开该文件(建议用ULtraEdit编辑器打开,有很多好处的)。
3。在文件中找到<keyword_list3/>、<keyword_list4/>等(用编辑工具提供的查找,要不然你要找得好辛苦的)。
4。吧<keyword_list3/>改为
<keyword_list3>
《在这里添加Struts等你所需的关键字》
</keyword_list3>
5。一下是我编辑好的Struts关键字,只要自己添加进去就可以了,如果你不能使用,请你发EMAIL给我,我这里有一份弄好的文件,只要你替换原来的文件就可以的,cxh3905@163.com来信请说明,你要java.SYN文件。
<word>AddTagParent</word> <word>AppException</word>
<word>ApplicationConfig</word> <word>AttributeDefinition</word>
<word>AttributeToScopeTag</word> <word>BaseFieldTag</word>
<word>BaseHandlerTag</word> <word>BaseInputTag</word>
<word>BaseTag</word> <word>BufferedMultipartInputStream</word>
<word>ButtonTag</word> <word>CancelTag</word> <word>CheckboxTag</word>
<word>CommonsMultipartRequestHandler</word>
<word>CommonsFormFile</word> <word>CompareTagBase</word>
<word>ComponentConstants</word> <word>ComponentContext</word>
<word>ComponentDefinition</word>
<word>ComponentDefinitionsFactory</word>
<word>ComponentDefinitionsFactoryWrapper</word>
<word>ConditionalTagBase</word> <word>ConfigHelper</word>
<word>ConfigHelperInterface</word> <word>ConfigRuleSet</word>
<word>Constants</word> <word>Content</word>
<word>ContentLengthExceededException</word> <word>ContentMap</word>
<word>ContentMapStack</word> <word>Controller</word>
<word>ControllerConfig</word> <word>ControllerSupport</word>
<word>CookieTag</word> <word>CookieTei</word>
<word>DataSourceConfig</word> <word>DefaultModuleConfigFactory</word>
<word>DefineTag</word> <word>DefineTei</word>
<word>DefinitionAttribute</word>
<word>DefinitionDispatcherAction</word>
<word>DefinitionNameAttribute</word> <word>DefinitionsFactory</word>
<word>DefinitionsFactory</word> <word>DefinitionsFactoryConfig</word>
<word>DefinitionsFactoryException</word> <word>DefinitionsUtil</word>
<word>ServletPropertiesMap</word> <word>DefinitionTag</word>
<word>DefinitionTagSupport</word> <word>DirectStringAttribute</word>
<word>DiskFile</word> <word>DiskMultipartRequestHandler</word>
<word>DispatchAction</word> <word>DynaActionForm</word>
<word>DynaActionFormClass</word> <word>DynaValidatorActionForm</word>
<word>DynaValidatorForm</word> <word>EmptyIterator</word>
<word>EmptyTag</word> <word>EqualTag</word> <word>ErrorMessages</word>
<word>ErrorsTag</word> <word>ExceptionConfig</word>
<word>ExceptionHandler</word> <word>FactoryNotFoundException</word>
<word>FactorySet</word> <word>FieldChecks</word> <word>FileTag</word>
<word>FormBeanConfig</word> <word>FormFile</word>
<word>FormPropertyConfig</word> <word>FormTag</word>
<word>ForwardAction</word> <word>ForwardConfig</word>
<word>ForwardingActionForward</word> <word>ForwardTag</word>
<word>FrameTag</word> <word>GenericDataSource</word>
<word>GetAttributeTag</word> <word>GetTag</word> <word>GetTag</word>
<word>Globals</word> <word>GreaterEqualTag</word>
<word>GreaterThanTag</word> <word>HeaderTag</word>
<word>HeaderTei</word> <word>HiddenTag</word> <word>HtmlTag</word>
<word>I18nFactorySet</word> <word>ImageButtonBean</word>
<word>ImageTag</word> <word>ImgTag</word>
<word>ImportAttributeTag</word> <word>IncludeAction</word>
<word>IncludeTag</word> <word>IncludeTei</word>
<word>InitDefinitionsTag</word> <word>InsertTag</word>
<word>InsertTag</word> <word>TagHandler</word> <word>IterateTag</word>
<word>IterateTei</word> <word>IteratorAdapter</word>
<word>JavascriptValidatorTag</word> <word>LabelValueBean</word>
<word>LessEqualTag</word> <word>LessThanTag</word>
<word>LinkTag</word> <word>LookupDispatchAction</word>
<word>MatchTag</word> <word>MaxLengthExceededException</word>
<word>MenuItem</word> <word>MessageResources</word>
<word>MessageResourcesConfig</word>
<word>MessageResourcesFactory</word>
<word>MessagesNotPresentTag</word> <word>MessagesPresentTag</word>
<word>MessagesTag</word> <word>MessagesTei</word>
<word>MessageTag</word> <word>ModuleConfig</word>
<word>ModuleConfigFactory</word> <word>ModuleConfigImpl</word>
<word>ModuleConfigVerifier</word> <word>ModuleException</word>
<word>MultiboxTag</word> <word>MultipartBoundaryInputStream</word>
<word>MultipartElement</word> <word>MultipartIterator</word>
<word>MultipartRequestHandler</word>
<word>MultipartRequestWrapper</word> <word>MultipartValueStream</word>
<word>NestedCheckboxTag</word> <word>NestedDefineTag</word>
<word>NestedEmptyTag</word> <word>NestedEqualTag</word>
<word>NestedErrorsTag</word> <word>NestedFileTag</word>
<word>NestedFormTag</word> <word>NestedGreaterEqualTag</word>
<word>NestedGreaterThanTag</word> <word>NestedHiddenTag</word>
<word>NestedImageTag</word> <word>NestedImgTag</word>
<word>NestedIterateTag</word> <word>NestedIterateTei</word>
<word>NestedLessEqualTag</word> <word>NestedLessThanTag</word>
<word>NestedLinkTag</word> <word>NestedMatchTag</word>
<word>NestedMessagesNotPresentTag</word>
<word>NestedMessagesPresentTag</word> <word>NestedMessagesTag</word>
<word>NestedMessageTag</word> <word>NestedMultiboxTag</word>
<word>NestedNameSupport</word> <word>NestedNotEmptyTag</word>
<word>NestedNotEqualTag</word> <word>NestedNotMatchTag</word>
<word>NestedNotPresentTag</word>
<word>NestedOptionsCollectionTag</word> <word>NestedOptionsTag</word>
<word>NestedParentSupport</word> <word>NestedPasswordTag</word>
<word>NestedPresentTag</word> <word>NestedPropertyHelper</word>
<word>NestedPropertySupport</word> <word>estedPropertyTag</word>
<word>NestedRadioTag</word> <word>NestedReference</word>
<word>NestedRootTag</word> <word>NestedSelectTag</word>
<word>NestedSizeTag</word> <word>NestedSubmitTag</word>
<word>NestedTagSupport</word> <word>NestedTextareaTag</word>
<word>NestedTextTag</word> <word>NestedWriteNestingTag</word>
<word>NestedWriteTag</word> <word>NoOpAction</word>
<word>NoSuchDefinitionException</word> <word>NotEmptyTag</word>
<word>NotEqualTag</word> <word>NotMatchTag</word>
<word>NotPresentTag</word> <word>OptionsCollectionTag</word>
<word>OptionsTag</word> <word>OptionTag</word> <word>PageTag</word>
<word>PageTei</word> <word>ParameterTag</word>
<word>ParameterTei</word> <word>PasswordTag</word>
<word>PathAttribute</word> <word>PlugIn</word>
<word>PlugInConfig</word> <word>PlugInSetPropertyRule</word>
<word>PresentTag</word> <word>PropertyMessageResources</word>
<word>PropertyMessageResourcesFactory</word> <word>PutListTag</word>
<word>PutListTagParent</word> <word>PutTag</word> <word>PutTag</word>
<word>PutTagParent</word> <word>RadioTag</word>
<word>RedirectingActionForward</word> <word>RedirectTag</word>
<word>ReloadableDefinitionsFactory</word><word>ReloadDefinitionsAction
</word> <word>RequestActionMapping</word><word>RequestProcessor</word>
<word>RequestUtils</word><word>ResetTag</word> <word>Resources</word>
<word>ResourceTag</word><word>ResourceTei</word>
<word>ResponseUtils</word><word>RewriteTag</word>
<word>SelectTag</word><word>ServletContextWriter</word>
<word>SessionActionMapping</word><word>SetActionMappingClassRule</word
> <word>SimpleMenuItem</word><word>SizeTag</word> <word>SizeTei</word>
<word>StrutsTag</word><word>StrutsTei</word>
<word>StrutsValidator</word><word>StrutsValidatorUtil</word>
<word>SubmitTag</word><word>SwitchAction</word>
<word>TagUtils</word><word>TextareaTag</word> <word>TextTag</word>
<word>TextTag</word><word>TilesAction</word>
<word>TilesException</word><word>TilesPlugin</word>
<word>TilesRequestProcessor</word><word>TilesServlet</word>
<word>TilesUtil</word><word>TilesUtilImpl</word>
<word>TilesUtilStrutsImpl</word><word>TilesUtilStrutsModulesImpl</word
> <word>UntyppedAttribute</word><word>UrlController</word>
<word>UseAttributeTag</word><word>UseAttributeTei</word>
<word>ValidatorActionForm</word><word>ValidatorForm</word>
<word>ValidatorPlugIn</word><word>ViewDefinitionsAction</word>
<word>WriteTag</word><word>XhtmlTag</word>
<word>XmlAttribute</word><word>XmlDefinition</word>
<word>XmlDefinitionsSet</word><word>XmlListAttribute</word>
<word>XmlParser</word>