jcaillon / 3P

3P (short for Progress Programmers Pal), is a notepad++ plugin designed to help writing progress 4GL (OpenEdge ABL) code. It transforms notepad++ into a full featured IDE for openedge code editor, providing syntax checking, compilation, auto-completion, tool-tips and much more!
https://jcaillon.github.io/3P/
GNU General Public License v3.0
77 stars 35 forks source link

assemblies #155

Open mkemka001 opened 7 years ago

mkemka001 commented 7 years ago

Hello, is there any way/future plan to add assemblies to the environment(auto-completion)? Normally, there is an option to specify -assemblies(followed by path to an xml file) in your pf file.

the assemblies.xml file has references to the 3rd-party assemblies like <?xml version="1.0" encoding="UTF-8" standalone="no"?>

and then there is a SomeLibrary.dll file somewhere on the propath(like source directory).

It would be a helpful feature if the plugin (like auto-completion) could work with 3rd party assemblies.

Thank you.

jcaillon commented 7 years ago

Hi,

I'm not sure to understand the feature requested here (I think there are words missing :p).

Do you expect 3P to autocomplete the name of a .dll file present in your PROPATH?

mkemka001 commented 7 years ago

Hi, I am just trying to describe the way how you can add external dlls to your project.

https://documentation.progress.com/output/ua/OpenEdge_latest/index.html#page/dpspr/assemblies-(-assemblies).html

In your pf you can specify: -assemblies C:\Application\Source

and add the assemblies.xml file to the specified folder: <?xml version="1.0" encoding="UTF-8" standalone="no"?>

Then you can use the dlls in the code, but it would be great if your plugin could actually "parse" them for auto-completion.

Thanks for your quick response and amazing job.

Marek

2017-03-23 12:51 GMT+01:00 Julien Caillon notifications@github.com:

Hi,

I'm not sure to understand the feature requested here (I think there are words missing :p).

Do you expect 3P to autocomplete the name of a .dll file present in your PROPATH?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jcaillon/3P/issues/155#issuecomment-288694977, or mute the thread https://github.com/notifications/unsubscribe-auth/AZWFEiYiDTuleGSb20a8ZNbKt37ypKmYks5roly9gaJpZM4Mj_Op .

jcaillon commented 7 years ago

I think this is a good idea;

However... Getting the exposed function of .dll (plus considering every type of .dll possible) is no easy task.

While I'm definitely considering this feature, I have to develop the features that would benefit the most people first. I keep the idea but this will not be a priority, don't expect it soon ^^"

Sorry and thanks for the support!

SpaceNinjaApe commented 4 years ago

This is one of two Reasons why i can't use this awesome plugin. If one wants to work with the SmartComponentLibary for Progress there is no way around assemblies. Keep up the good work tho, hope it gets supported soon.