Consultor Eletrônico



Kbase P121853: Source code with extensions in capitals .P .I .W .CLS are not handled properly by Architect Editor
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/10/2008
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.1x
Windows

SYMPTOM(s):

Source code with extensions in capitals .P .I .W .CLS are not handled properly by Architect Editor

Files in project have extensions in capitals

Using file names ending with .P, .I, .W, .CLS

Editor perspective does not provide syntax highlighting

Editor perspective does not provide name completion

Outline window is not populated from source code

Cannot see colors in the OpenEdge Architect editor

CAUSE:

Bug# OE00136225

FIX:

Upgrade to OpenEdge 10.1B01

If the upgrade is not possible, the following can be used as a workaround:
1. open the file $DLC/oeide/architect/eclipse/plugins/com.openedge.pdt.text_<version>/plugin.xml
2. search for "documentSetup". In this XML node a list of file extensions can be found.
3. add the capitals to the list so it reads:
<extension point="org.eclipse.core.filebuffers.documentSetup">
<participant class="com.openedge.pdt.text.editor.OEDocumentSetupParticipant" extensions="p,w,i,cls,pgen,html,P,W,I,CLS"/>
</extension>
4. restart OpenEdge Architect with the command-line parameter -clean to take the changes into effect.