-
Notifications
You must be signed in to change notification settings - Fork 166
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
Add documantation how to add support for a new language #746
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like it in general.
src/main/pages/che-7/hands-on-guidance/proc_adding-support-for-a-new-language.adoc
Outdated
Show resolved
Hide resolved
src/main/pages/che-7/hands-on-guidance/proc_adding-support-for-a-new-language.adoc
Outdated
Show resolved
Hide resolved
src/main/pages/che-7/hands-on-guidance/proc_adding-support-for-a-new-language.adoc
Outdated
Show resolved
Hide resolved
src/main/pages/che-7/hands-on-guidance/proc_adding-support-for-a-new-language.adoc
Outdated
Show resolved
Hide resolved
src/main/pages/che-7/hands-on-guidance/proc_adding-support-for-a-new-language.adoc
Outdated
Show resolved
Hide resolved
src/main/pages/che-7/hands-on-guidance/proc_adding-support-for-a-new-language.adoc
Outdated
Show resolved
Hide resolved
* A bulleted list of conditions that must be satisfied before the user starts following this assembly. | ||
* You can also link to other modules or assemblies the user must follow before starting this assembly. | ||
* Delete the section title and bullets if the assembly has no prerequisites. | ||
* Install the latest Che-Theia plug-in Yeoman generator by running: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should it also explain from where to start? Using with stack for example?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe pointing to: https://github.com/eclipse/che-theia/blob/master/CONTRIBUTING.md
src/main/pages/che-7/hands-on-guidance/proc_adding-support-for-a-new-language.adoc
Outdated
Show resolved
Hide resolved
@slemeur I've added such information into Additional resources |
Thanks @svor. I'd prefer to also get the link in the content directly, this way it will be simpler to the reader and the information will be handy. The reader might not think that the documentation would refered at the end of the page. |
@slemeur I added a reference about how to develop Che-theia plug-in with Yeoman in Prerequisites section. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @svor
* You can also link to other modules or assemblies the user must follow before starting this assembly. | ||
* Delete the section title and bullets if the assembly has no prerequisites. | ||
|
||
* Install the latest Che-Theia plug-in Yeoman generator. To do that you need to follow the documentation about link:extending-che.html#bootstrapping-che-theia-plug-in-development-with-yeoman_developing-che-theia-plug-ins[how to develop Che-Theia plug-in with Yeoman.] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why going through using a theia plugin where few lines bellow we say that the prefered way is with a VSCode ext ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because writing VS Code extensions is well documented, we don't need to repeat this here.
[discrete] | ||
== Procedure | ||
|
||
. Start each step with an active verb. | ||
. Generate a sample by running `yo @theia/plugin`. When prompted, confirm the choices for *Backend plug-in*, *Samples*, and then *Language sample*. This creates a project and a ready-to-use plug-in, which provides support for XML Language Server and can be deployed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we provide a devfile for that ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR. Suggestions added.
src/main/pages/che-7/hands-on-guidance/proc_adding-support-for-a-new-language.adoc
Outdated
Show resolved
Hide resolved
src/main/pages/che-7/hands-on-guidance/proc_adding-support-for-a-new-language.adoc
Outdated
Show resolved
Hide resolved
src/main/pages/che-7/hands-on-guidance/proc_adding-support-for-a-new-language.adoc
Outdated
Show resolved
Hide resolved
src/main/pages/che-7/hands-on-guidance/proc_adding-support-for-a-new-language.adoc
Outdated
Show resolved
Hide resolved
src/main/pages/che-7/hands-on-guidance/proc_adding-support-for-a-new-language.adoc
Outdated
Show resolved
Hide resolved
src/main/pages/che-7/hands-on-guidance/proc_adding-support-for-a-new-language.adoc
Outdated
Show resolved
Hide resolved
src/main/pages/che-7/hands-on-guidance/proc_adding-support-for-a-new-language.adoc
Outdated
Show resolved
Hide resolved
src/main/pages/che-7/hands-on-guidance/proc_adding-support-for-a-new-language.adoc
Outdated
Show resolved
Hide resolved
src/main/pages/che-7/hands-on-guidance/proc_adding-support-for-a-new-language.adoc
Outdated
Show resolved
Hide resolved
src/main/pages/che-7/hands-on-guidance/proc_adding-support-for-a-new-language.adoc
Outdated
Show resolved
Hide resolved
d2d77d3
to
31f022c
Compare
@rkratky Thanks for suggestions. The PR was updated |
Any reason why this is done as a Theia plugin and not a VSCode extension ? |
src/main/pages/che-7/contributor-guide/proc_adding-support-for-a-new-language.adoc
Outdated
Show resolved
Hide resolved
@sunix, I'd suggest opening a separate issue (or sending a message to devtools-che) to discuss the intended strategic direction in this regard. This PR doesn't seem like to the right place to decide the overall Che-Theia plug-in vs. VS Code extension question. |
@rkratky my only point is that, we already had that discussion in April in devtool-che and it was very clear at the time that when we write a extension for the IDE we choose either and in that prefered order if possible:
I don't know why we don't follow that on our doc ... these parts of the documentation should guide the community to help us in growing this plugin registry https://github.com/eclipse/che-plugin-registry/tree/master/v3/plugins. As I see, 100% of our plugin are |
Signed-off-by: Valeriy Svydenko <[email protected]>
src/main/pages/che-7/contributor-guide/proc_adding-support-for-a-new-language.adoc
Show resolved
Hide resolved
Signed-off-by: Valeriy Svydenko <[email protected]>
according to eclipse-che#764 Signed-off-by: Michal Maléř <[email protected]>
@slemeur, could you please weigh in? Should this doc be reoriented? |
another point is that this is explaining how to create a theia plugin and build it ... and then ? how would the user try that in Che ? There are few missing important parts: test it locally or package it as a Che plugin with a sidecar containers how to test on a running Che. At least if we don't want to add all these details in here, it should guide the user and provide links to other parts of the documentation that explain how to do it. To me this documentation is not completed. |
Could we just add a link to it and explain how to package it in this doc ? The goal of this doc is to give a guidance to our user how to add support for a new language IN CHE ... the prefered way ... not the way that is not already documented elsewhere ... |
LGTM and create an issue with clear requirements on improving this doc. |
Signed-off-by: Valeriy Svydenko [email protected]
What does this PR do?
Describes how to add support for a new language into Eclipse Che.
What issues does this PR fix or reference?
https://github.com/eclipse/che-docs/issues/718