8000 open external project & reload file without content & tss env vars by lgrignon · Pull Request #236 · angelozerr/typescript.java · GitHub
[go: up one dir, main page]

Skip to content

open external project & reload file without content & tss env vars #236

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 8, 2018

Conversation

lgrignon
Copy link
Contributor
@lgrignon lgrignon commented Feb 8, 2018

No description provided.

GetEditsForRefactor("getEditsForRefactor", "2.4.0");
GetEditsForRefactor("getEditsForRefactor", "2.4.0"),

OpenExternalProject("openExternalProject");
Copy link
Owner

Choose a reason for hiding this comment

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

Do you know since which version of TypeScript this command is available?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry, didn't find it yesterday. It seems old because protocol.d.ts includes it since the first commit
https://github.com/Microsoft/TypeScript/commits/master/lib/protocol.d.ts

But the history starts at 2016/10 so it's hard to tell

@angelozerr
Copy link
Owner

@lgrignon could you add a description what this PR provides please? It seems that you provide 2 features (logs and openExternalProject) But I don't understand openExternalProject how it is consumed?

Please add description. Thanks!

@lgrignon
Copy link
Contributor Author
lgrignon commented Feb 8, 2018

Where do you want the description?
OpenExternalProject is defined in the tsserver and was missing in your TypeScriptServiceClient bridge. I now realize it may be on purpose that you didn't include it.

Anyway I will try to explain my use case a little bit. I intend to use your project as a Java Client API to tsserver without all the Eclipse part. For that matter I will need to add a Maven dependency to your core and it seems that you didn't deploy your core as a Maven artifact, am I right? I wanted to discuss this with you, it seems now is the good time for it :)

So basically I will compile some TS files without having necessarily a project directory, or a tssconfig file, and I need to maintain by myself the sources list. That is exactly what external projects allow to do (https://github.com/Microsoft/TypeScript/wiki/Standalone-Server-(tsserver)#external-project)

For the log part, it allows the developer to change the tsserver logger's verbosity or output file. I don't think there is much to explain here :)

Please tell me if it is ok for you and what are your thoughts about Maven deployment.

Thank you for your time.

P.S. I need your API for the following open source project:
https://github.com/cincheo/jsweet

@angelozerr angelozerr merged commit 9873f2c into angelozerr:master Feb 8, 2018
@angelozerr
Copy link
Owner

Ok thanks @lgrignon for your clarification. For the maven feature, please create an issue for that, but I'm afraid that I will have no time to do that. Any help are welcome!

@lgrignon
Copy link
Contributor Author

Thanks, I may file a PR later about this.

@angelo
85A0
zerr
Copy link
Owner

Thanks, I may file a PR later about this.

Thanks, I'm very busy today with CodeMining support for Eclipse Photon.

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
0