cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

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

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

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.

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

SvenR‌ Great i will try atom with your package and maybe contribute

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

Great work.

But what do you feel is better in Atom?

I looked into it, but found a major drawback: The file size it can open is limited. Only a few Mb's.

I also use my text editor to peek into Creo files which are often much larger.

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

well, I don't' think one can say that one is better than the other. Atom allows for much more customizing where Notepad++ is more rock solid and speedy.

For example they both have a 'sort lines' plugin, but the one in Atom takes forever to sort just some thousand lines whereas Notepad++ does it all within a blink of an eye. Atom defaults to UTF8 where as Notepad++ can convert from and to different encodings. And the list goes on...

On the other hand Atom makes git versioning much more accessible and visible to the user, and there are much more bells and whistles possible.

I think its a good and nice to use addition and great for configuration files, but some stuff is better of with notepad++

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

Today I updated the ZIP archive with the UDL files:

  • Added the files for Creo 4.0.
  • Updated the files of Creo 3.0 and 2.0.

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

 I don't seem to be able to set Notepad++ as default editor for creo.

I've installed it and added to my config.pro file:

 

new_relation_ui no
RELATION_FILE_EDITOR "C:\Program Files (x86)\Notepad++\notepad++.exe"

 

But when is view the relation in creo it's marked red. and the normal notepad is opened to edit relations instead of notepad++

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

When I open CP4 in Note++ I only have 65 lines (all unfolded)...temp.jpgand the config options are all next to each other..??

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

Hi FST,

you're right, there are many options next to each other.

But this is how the User Defined Language files in Notepad++ work.

So, don't worry about that.

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

Does anybody have a Notepad++ UDL for Pro/Program??

 

Regards, Steve 

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

Today the ZIP archive with the UDL files has been updated again:

  • Updated the files of Creo 4.0 to the currently latest available datecode M040.
  • Updated the files of Creo 3.0 to the currently latest available datecode M150.

Thank you @ocorten-2 for providing the new lists on your website.