Skip to main content
DomenicLaritz
16-Pearl
November 5, 2015
Question

Notepad++ User Defined Language files for Creo Parametric and Pro/ENGINEER

  • November 5, 2015
  • 50 replies
  • 88352 views

The ZIP archive contains Notepad++ UDL files for config.pro and drawing setup (dtl) options.

I've created them for following CAD versions:

  • WF4 (= Pro/E Wildfire 4)
  • CEP5 (= Creo Elements/Pro 5, formerly Pro/E Wildfire 5)
  • CP2 (= Creo Parametric 2)
  • CP3 (= Creo Parametric 3)
  • CP4 (= Creo Parametric 4)

Basis for the options were the lists of Olaf Corten (thanks for them) http://proesite.com/UTIL/view_config.html and http://proesite.com/UTIL/view_setup.html.

 

General config.pro options get shown dark blue and bold.

Hidden config.pro options get shown in a lighter blue, bold and italic.

Comments get shown brown and can be folded, if they consist of several lines.

Drawing setup (dtl) options alse get shown dark blue and bold.

 

To add a UDL file to Notepad++, choose "Language" and then "Define your language" in the menu.

In the dialog which is opened then, choose the button "Import" and then the appropriate XML file.

 

https://github.com/DonChunior/Creo-Configuration-Files

50 replies

12-Amethyst
November 6, 2015

Nice. Great work. Below an example:

ProE_Configs_Creo2_config.pro - Notepad++.jpg

21-Topaz II
November 6, 2015

The syntax highlighting is very handy, thanks for doing this.

Why different files for different versions?  We run CEP5, CP2 & CP3 here, depending on the client.

Also, I've attached a copy of the CP3 file for use with a config.sup.

I wanted to attach it, but it looks like you cannot attach a file to a comment on a document.  it's not hard to make, create a copy of the CP3 file for the config.pro and change this line:

    <UserLang name="config.pro CP3" ext="pro" udlVersion="2.1">

To this:

<UserLang name="config.sup CP3" ext="sup" udlVersion="2.1">

DomenicLaritz
16-Pearl
November 7, 2015

Hi Doug,

I used different files for different versions, because i.e. some hidden options in WF4 became general options in CEP5.

Some other only exist in WF4, but not in CP2 and so on.

If I use only one file for all options, these facts can't be represented.

21-Topaz II
November 9, 2015

Ah, yes, that makes sense.  If a distinction between hidden options and not wasn't desired, a single file would be easy to make.  That distinction is valuable, however, and not easy to account for in one file.

15-Moonstone
November 24, 2015

Hi guys

Good job Domenic Laritzโ€Œ , i like your color scheme. I have do the same things ( VonOx/npp-pro ยท GitHub ) and discuss them on Edit Creo Relations with Notepad++ instead of the default editor

Datas come from the great proesite.com also.

Maybe you can push your work on github ? Per creo version scheme is good idea.

Feel free to contribute.

18-Opal
November 24, 2015

Very nice!!

I use Notepad++ all the time, this addition makes it even more valuable.

-marc

DomenicLaritz
16-Pearl
November 25, 2015

Hi Vincent KULAK,

thanks for your information!

At the moment I don't see the need to host my UDL files on GitHub. I hope, I don't have to modify them every week ...

15-Moonstone
November 25, 2015

Yes agree with you, not every week , but a good place to share.

Can I use your files as a base to work and link this post as reference ?

Thanks

DomenicLaritz
16-Pearl
November 25, 2015

Feel free to use or modify my files, as you like!

14-Alexandrite
February 10, 2016

Hi,

I also often use Notepad++ but recently switched to the Atom editor - I feel more mighty there  

So I also went to Olaf Cortens site and scraped the config options in order to make a package for this. Many thanks for providing these! I also included Modelcheck config files syntax since that's also a topic prone to errors and syntax highlighting helps there.

If you want to take a test drive you can try Atom Editor and look for the package language-ptc-pro (start Atom, then Settings -> install)

It's still at the early steps, so feel free to comment.

One thing that is quite nice is that mapkeys are now foldable - but still only when using the short syntax like in the preview image.