Intelij Ultimate 2019.2 JAXB - intellij-idea

I have read how to generate a schema from a java class but the menu items mention dont exist. Information is given on how to enable the Web Services plug in which it says is built in, but I cant find it. I expect this is why the menu item under tools do not appear when the source file is open in the editor.
I cannot find the any plugin for JAXB.
The instructions I am trying to follow are at https://www.jetbrains.com/help/idea/generating-xml-schema-from-java-code.html
At
https://www.jetbrains.com/help/idea/generate-xml-schema-from-java-using-jaxb-dialog.html
It says "This functionality is provided via the WebServices bundled plugin, which is enabled by default." but I dont see it in the list of installed plugins!
Must be doing something wrong but now out of ideas for what to try next.
Any suggestions?

Related

Getting set up with intelliJ IDEA

Really basic question here but this has always stopped me from using any JetBrains product, but here I am trying once again. I also have the same issues with CLion but that will be for another time and hopefully I can figure it out based on some feedback from this post.
I need to set up my environment in IntelliJ. Nothing special. No build tools. Currently I just run my school projects using
javac Main.java
java Main
This has gotten me so far but I really want to use IntelliJ tools to their full capacity.
I want to be able to set break points and step in and out of my code in their debugger and all the other nice tools that come with running my code through IntelliJ
Every get started tutorial that I have watched on YouTube or from JetBrains themselves already has a basic build configuration set up to run your basic "Hello World" application and that is what I think I need. Just compile my java files into classes and run/debug them.
This is what the run configuration icon in the IDE should look like
And this is what mine currently looks like
I have set many different JDKs to go along with my projects but none of them seem to get the tools I need set up in the IDE. I have even let IntelliJ download one for me and set it up itself to see if maybe I downloaded and installed it wrong and IntelliJ maybe wasn't recognizing it.
This picture below is showing the project structure for an application that I let IntelliJ download a JDK for and set it up itself
So if someone could help me that would be fantastic. Links to videos, blogs are welcome even though I know that isn't the convention on this forum but I think that would be sufficient for my situation. Thanks in advance!
---Update---
I have found that if I create a project in IntelliJ that I get all the default configurations that I need. The problem is when I need to get a project from VCS that I am not getting any of the configurations that I need to run/debug my program in IntelliJ.
The easiest solution here would be to click the green play button next to your main method, on the left where line numbers are displayed.
Intellij will configure a default java run configuration for you. It will be displayed in the menu for later use, like in the screenshot you posted, after your first run.
You can also create one using the to menu: Run > Edit run configuration to add some more options like arguments, environment variables (that only apply for the run config), etc.
A good starting point would be the Intellij help page on that topic. This help pages are always a good start and you find comprehensible instructions there on every topic.
Another good resource is the Intellij by JetBrains YouTube channel. This video about debugging shows both ways I described above. They have lots of quick tutorials about lot of features, like code generation or build tools. Check out the channel's playlists for specific topics.
Update
The problem with the already created project is that the default/ folder is not marked as source folder. You can do that by File > 'Project Structure...' and set the default/ folder as Sources:
The cause for intellij not recognizing this is because you didn't use a folder structure like the one of maven.
For source code:
src/main/java
src/main/resources
and for tests:
src/test/java
src/test/resources
If you set it up that way IntelliJ everything works as expected. I created a pull request to your repo. If you check out the branch, IntelliJ will setup everything correctly automatically.

Is there detailed information about kotlinx.browser?

I'm making Automated Zoom Opener for Zoom online class.
But, I don't know how to open website with Kotlin/Native on Windows PC.
So I searched for Kotlin module which is similar to webbrowser module in python.
I found a module, kotlinx.browser, but I couldn't find any information about it.
Can you find or provide some information and sample code about it?
(Or other ways to open website with Kotlin/Native on Windows PC.)
The package kotlinx.browser is part of kotlin-stdlib. According to (1) it needs Kotlin/JS as prerequisite. See (2) how to set up Kotlin/JS. A small example on the usage of kotlin.browser can be found at (3).

How do I raise a review from intellij 2017 using the gerrit plugin?

I see that the plugin documentation mentions "Publish and delete draft changes" as one of the features. I have installed the plugin and have configured it to work with my corporate gerrit server and I am able to view all changes which have already been raised for review on the server.
However, I am yet to figure out how do I commit new changes locally and raise a review for those using the gerrit plugin from my intelliJ 2017.2.6. I tried Googling around and I did see people mentioning about a "push dialog box" that they were trying to configure but I don't see that option available for me.
I have the Gerrit plugin installed on PyCharm, often the behaviour of the plugins is quite similar across several JetBrains products, so this might be applicable to IntelliJ as well.
In my case the dialog box for the VCS->GIT->Push menu sequence (Ctrl+Shift+K for Windows and ⌘+Shift+K for Mac) was modified by the plugin to look similar to the one displayed in the 2nd screenshot displayed at https://plugins.jetbrains.com/plugin/7272-gerrit:
Hope this helps.

Some doubts about WordPress theme\plugin development IDE, how to obtain the IDE code assistance?

I am pretty new in WordPress theme\plugin development (I came from Java and C#) and I have the following doubt about the IDE and how to correctly handle the WordPress development process.
My main doubt is this one: when I develop in Java I use Eclipse as IDE and using Eclipse I can navigate through classes and methods selecting it with mouse pointer and clicking CTRL on the keyboard (I select a method, I press CTRL and it open me this method implementation).
Also using Eclipse\Visual Studio if I put the mouse pointer on a method call in my code I can obtain some informations about it, as the returned type or the input parameters list.
Now I am using Aptana Studio 3 to develop a WordPress theme. I imported the entire WP installation directory as a project and I am working on my custom theme but I have not all the previous feature.
What can I do to have these feature when I develop a WordPress theme or a plugin?
Tnx
You might try Jetbrains' PHPStorm. Version 8 which is only available via their early access program has Wordpress support. I have not used Aptana very much but PHPStorm has been very helpful. It's got a hefty price tag but there is a 30 day trial.
Helpful link
PHPStorm Wordpress documentation

Joomla good PDF viewer

I'm searching for a good PDF viewer for Joomla, the problem is when there is a module in an article all the PDF viewers I tried so far show: {loadposition myposition} in place of that module.
Does anybody know a PDF viewer that will show the module.
I would also like it to have a header and footer option.
Thx.
I suspect that your extensions 'might' not be the sole source of your troubles.
Have you installed "Modules Anywhere" from nonumber.nl?
I recommend you try that first before assuming that the problem lies in your extensions.
Here is the appropriate link: http://www.nonumber.nl/extensions/modulesanywhere
Install it, and make sure the editor plugin is also installed and enabled (Modules Anywhere may perform these steps upon installation), then open up the content item you wish to inject your module into and use the module selection tool provided to you by the editor plugin.
After you perform this test, you can more reliably assume that your PDF related modules are the culprits.
Good luck!