Skip to content

Expose internal API marked as internal#114

Closed
dgolovin wants to merge 1 commit intoangelozerr:masterfrom
dgolovin:internal-packages-available
Closed

Expose internal API marked as internal#114
dgolovin wants to merge 1 commit intoangelozerr:masterfrom
dgolovin:internal-packages-available

Conversation

@dgolovin
Copy link
Copy Markdown
Contributor

Expose internal API and mark it as x-internal so any use of such API is maked
with warning in eclipse PDE. This is approach eclipse uses as well, so devs
still can use internal API on theyr own risk.

In our case we'd like to expose Tern/Modules project properties under different
category.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you add TernModulesPropertyPage inside tern.eclipse.ide.jsdt? This page is already added inside tern.eclipse.ide.ui ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, that is my mistake. PR was all about adding internal packages and mark them as x-internal:=true

@angelozerr
Copy link
Copy Markdown
Owner

I don't like very welll using x-internal I find it breaks OSGi concept.

But I'm very opened to change TernModulesPropertyPage in a non internal package.

What do you think about that?

Expose internal API and mark it as x-internal so any use of such API is
maked with warning in eclipse PDE
@dgolovin
Copy link
Copy Markdown
Contributor Author

I'd love that, thanks. I did some tests and have PR #115 ready for you.

@angelozerr
Copy link
Copy Markdown
Owner

@dgolovin can you close this PR please since #115 was done?

@dgolovin
Copy link
Copy Markdown
Contributor Author

This PR was rejected and replaced with #115

@dgolovin dgolovin closed this Aug 27, 2014
@dgolovin dgolovin deleted the internal-packages-available branch January 23, 2015 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants