Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Apply parser to custom file type

    We have some unique file types and I've tried several things to get a certain parser applied to them, but am not successful. Once I have the code open, I have to go into Preferences - LPEX Editor - and under the open file path, select "Parser" and choose it for the file. And of course when I close the file and re-open it, have to go through this again.

   I know there has to be a way to have this done automatically and here are the things that I have tried, none of which have worked; I still have to go through the manual step above.

  The file type in question is "asmsrc" rather than the standard "asm" for Assembler source files. The parser I'm trying to apply to it is "tpfhlasm+"

Auto Comment
Added "Extension Association" of .asmsrc

LPEX Editor - Parsers - Parser Associations
Added ASMSRC as a Document Type with Document Parser of tpfhlasm+

Team - Jazz Source Control - File Properties - Text
Added *.asmsrc as an Assembly Source File
General - Editors -  File Associations
Added *.asmsrc and System z LPEX Editor as default
This got me closer.. got tabs and such, but all text is same color, full parser not in effect

0 votes



One answer

Permanent link
    What wound up working was in the LPEX Editor setting, changing "ASMSRC" to lower-case... Smh...

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,019
× 2
× 1
× 1

Question asked: Dec 17 '14, 9:48 a.m.

Question was seen: 4,472 times

Last updated: Nov 17 '15, 9:38 a.m.

Confirmation Cancel Confirm