Skip to content
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

Liberty tools deep dive #2965

Merged
merged 15 commits into from
Mar 8, 2023
Merged

Liberty tools deep dive #2965

merged 15 commits into from
Mar 8, 2023

Conversation

awisniew90
Copy link
Contributor

For Issue #2958

awisniew90 and others added 4 commits February 21, 2023 23:26
Signed-off-by: Adam Wisniewski <awisniew@us.ibm.com>
Minor edits for liberty-tools-eclipse-deep-dive
Signed-off-by: Adam Wisniewski <awisniew@us.ibm.com>
@awisniew90
Copy link
Contributor Author

Draft PR #2963

Draft site: https://blogs-draft-openlibertyio.mqj6zf7jocq.us-south.codeengine.appdomain.cloud/blog/2023/02/20/liberty-tools-eclipse-deep-dive.html

@awisniew90
Copy link
Contributor Author

@GraceJansen

The youtube link does not seem to be rendering.... the asciidoc syntax looks fine on my end, so not sure if it's just a connection issue.

Copy link
Member

@dmuelle dmuelle left a comment

Choose a reason for hiding this comment

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

ID review

Check out the following video for a deep dive walkthrough:

++++
<iframe width="560" height="315" align="center" src="https://www.youtube.com/watch?v=OcgR_4BL12o" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
<iframe width="560" height="315" align="center" src="https://www.youtube.com/watch?v=OcgR_4BL12o" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
video::OcgR_4BL12o[youtube, width="560", height="315", align="center"]

try the video macro instead

= Upgrade your cloud-native Java development experience with Liberty Tools for Eclipse IDE
Adam Wisniewski <https://github.com/awisniew90>

Liberty Tools for Eclipse IDE provides a simplified yet powerful development experience. With capabilities like dev mode, Liberty config editing, and Jakarta EE and MicroProfile code assistance, you can code and manage your application without having to leave your IDE.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Liberty Tools for Eclipse IDE provides a simplified yet powerful development experience. With capabilities like dev mode, Liberty config editing, and Jakarta EE and MicroProfile code assistance, you can code and manage your application without having to leave your IDE.
Liberty Tools for Eclipse IDE provide a simplified yet powerful development experience. With capabilities like dev mode, Liberty config editing, and Jakarta EE and MicroProfile code assistance, you can code and manage your application without leaving your IDE.

per previous discussions, we are treating "Liberty Tools" as plural.


Try it out today by installing from the link:https://marketplace.eclipse.org/content/liberty-tools[Eclipse Marketplace].

Check out the following video for a deep dive walkthrough:
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Check out the following video for a deep dive walkthrough:
Check out the following video for a deep dive walk-through of Liberty Tools for Eclipse IDE:

posts/2023-02-20-liberty-tools-eclipse-deep-dive.adoc Outdated Show resolved Hide resolved

Liberty Tools is the next generation IDE tooling for developing cloud-native Java applications with Liberty. It takes an app-centric approach, leveraging the capabilities of the Liberty Maven and Liberty Gradle plugins, so you no longer have to spend time creating and managing Liberty instances. By running dev mode behind the scenes, the Liberty runtime is automatically downloaded and started, and your app is built, packaged and deployed to it. To save even more time, listeners detect any changes you make, and your app is automatically rebuilt and redeployed without having to restart the runtime.

Keeping in line with the app-centric design, Liberty Tools provides code assistance for both Jakarta EE and MicroProfile APIs. Code completion, hover descriptions, diagnostics and quick-fixes save time, reduce errors, and keep you focused on your code. Liberty Tools accomplishes this by integrating with the link:https://github.com/eclipse/lsp4jakarta[Language Server for Jakarta EE] and the link:https://github.com/eclipse/lsp4mp[Language Server for MicroProfile], both open source projects which are continually adding new features and support.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Keeping in line with the app-centric design, Liberty Tools provides code assistance for both Jakarta EE and MicroProfile APIs. Code completion, hover descriptions, diagnostics and quick-fixes save time, reduce errors, and keep you focused on your code. Liberty Tools accomplishes this by integrating with the link:https://github.com/eclipse/lsp4jakarta[Language Server for Jakarta EE] and the link:https://github.com/eclipse/lsp4mp[Language Server for MicroProfile], both open source projects which are continually adding new features and support.
Keeping in line with the app-centric design, Liberty Tools provide code assistance for both Jakarta EE and MicroProfile APIs. Code completion, hover descriptions, diagnostics and quick-fixes save time, reduce errors, and keep you focused on your code. Liberty Tools accomplish this by integrating with the link:https://github.com/eclipse/lsp4jakarta[Language Server for Jakarta EE] and the link:https://github.com/eclipse/lsp4mp[Language Server for MicroProfile], both open source projects that are continually adding new features and support.


=== Debugging your app

The Liberty runtime is configured with port 7777 for debugging by default. However, this requires that port to be available on your system and for you to manually attach a debugger. With Liberty Tools, you can start your app using the "Debug" action which will find an available port and automatically attach the Eclipse debugger to it.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
The Liberty runtime is configured with port 7777 for debugging by default. However, this requires that port to be available on your system and for you to manually attach a debugger. With Liberty Tools, you can start your app using the "Debug" action which will find an available port and automatically attach the Eclipse debugger to it.
By default, the Liberty runtime is configured with port 7777 for debugging. However, this configuration requires that port to be available on your system and for you to manually attach a debugger. With Liberty Tools, you can start your app using the "Debug" action, which finds an available port and automatically attaches the Eclipse debugger to it.


=== Jakarta EE

Code completion for Jakarta EE makes it easy to add classes and methods to your app. Just type `CTRL` + `Space` from within any Java file to see a list of available code snippets to choose from. Additionally, diagnostics flag errors and suggest quick-fixes to implement on the spot.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Code completion for Jakarta EE makes it easy to add classes and methods to your app. Just type `CTRL` + `Space` from within any Java file to see a list of available code snippets to choose from. Additionally, diagnostics flag errors and suggest quick-fixes to implement on the spot.
Code completion for Jakarta EE makes it easy to add classes and methods to your app. Just type **CTRL** + **Space** from within any Java file to choose from a list of available code snippets. Additionally, diagnostics flag errors and suggest quick-fixes to implement on the spot.


=== MicroProfile

Similar code completion is available for MicroProfile as well as type-ahead suggestions and hover descriptions for MicroProfile config properties. You can easily see what values are set for injected properties directly from your code and get lists of available variables and values to add to your configuration.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Similar code completion is available for MicroProfile as well as type-ahead suggestions and hover descriptions for MicroProfile config properties. You can easily see what values are set for injected properties directly from your code and get lists of available variables and values to add to your configuration.
Similar code completion is available for MicroProfile, as well as type-ahead suggestions and hover descriptions for MicroProfile config properties. You can easily see what values are set for injected properties directly from your code and get lists of available variables and values to add to your configuration.


=== Liberty config editing

Liberty Tools streamlines the process of configuring the Liberty runtime through config completion for `server.xml`, `bootstrap.properties` and `server.env` files. Type `CTRL` + `Space` from within these files to get lists of suggested configuration elements, properties, and values to add.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Liberty Tools streamlines the process of configuring the Liberty runtime through config completion for `server.xml`, `bootstrap.properties` and `server.env` files. Type `CTRL` + `Space` from within these files to get lists of suggested configuration elements, properties, and values to add.
Liberty Tools streamlines the process of configuring the Liberty runtime through config completion for `server.xml`, `bootstrap.properties` and `server.env` files. Type **CTRL** + **Space** from within these files to get lists of suggested configuration elements, properties, and values.


== Share your feedback

Like what you see? Need support? Find us on link:https://app.gitter.im/#/room/#OpenLiberty_developer-experience:gitter.im[gitter], or open an issue or enhancement link:https://github.com/OpenLiberty/liberty-tools-eclipse/issues[here].
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Like what you see? Need support? Find us on link:https://app.gitter.im/#/room/#OpenLiberty_developer-experience:gitter.im[gitter], or open an issue or enhancement link:https://github.com/OpenLiberty/liberty-tools-eclipse/issues[here].
Like what you see? Need support? Find us on link:https://app.gitter.im/#/room/#OpenLiberty_developer-experience:gitter.im[gitter], or open an issue or enhancement link:https://github.com/OpenLiberty/liberty-tools-eclipse/issues[on GitHub].

Signed-off-by: Adam Wisniewski <awisniew@us.ibm.com>
Signed-off-by: Adam Wisniewski <awisniew@us.ibm.com>
@awisniew90 awisniew90 force-pushed the liberty_tools_deep_dive branch 2 times, most recently from e39624a to 68656ae Compare March 8, 2023 01:53
Signed-off-by: Adam Wisniewski <awisniew@us.ibm.com>

=== Running tests

Tests are important for any application. Liberty Tools makes it easy to run your unit and integration tests by either selecting the `Run tests` action, or simply clicking `Enter` in the terminal. You can even view the results of your latest run by selecting `View test reports`.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Tests are important for any application. Liberty Tools makes it easy to run your unit and integration tests by either selecting the `Run tests` action, or simply clicking `Enter` in the terminal. You can even view the results of your latest run by selecting `View test reports`.
Tests are important for any application. Liberty Tools makes it easy to run your unit and integration tests by either selecting the **Run tests** action, or simply clicking **Enter** in the terminal. You can even view the results of your latest run by selecting **View test reports**.

Copy link
Member

@dmuelle dmuelle left a comment

Choose a reason for hiding this comment

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

LGTM thanks

@dmuelle dmuelle merged commit 1329fbe into staging Mar 8, 2023
@mbroz2 mbroz2 deleted the liberty_tools_deep_dive branch July 11, 2023 15:42
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.

3 participants