I was following create a new JavaFX project help topic, but I cannot find JavaFx in the left menu as shown in the help topic. I am using IntelliJ Community edition (2020.3.1).
According to JetBrains website both community and ultimate editions support JavaFx.
In the linked help topic there is a info bubble just below the "Create a new project" section saying following
If you cannot find JavaFX in the New Project wizard, make sure that
the bundled JavaFX plugin is enabled in Settings/Preferences |
Plugins.
So you have to enable JavaFx plugin in order to see JavaFx option in the new projects left menu.
Related
I wanted to play a little bit with the dart language and since recently I'm trying to switch from eclipse to IntelliJ IDEA I wanted to use that IDE. Unfortunately I can't figure out how I can create new dart project.
I've installed the dart plugin and installation looks fine - I have the plugin directory on my hard drive, dart's formatting options in settings etc. But I don't have any dart related option in the new project dialog (only java, maven, gradle, empty project etc.).
All resources I found told about using the new project dialog, or using WebStorm (like https://confluence.jetbrains.com/display/WI/Getting+started+with+Dart ).
Is it possible at all? Am I missing something?
I'm using IntelliJ IDEA 13.1.5 community edition.
EDIT:
Ticket created: https://youtrack.jetbrains.com/issue/WEB-14060
I recommend using Stagehand (http://stagehand.pub/). It's a great new command-line tool that creates well-formed Dart project folders, complete with pubspec.yaml and even build.dart for Polymer projects. The tool can create console apps, web apps, Polymer apps, and AngularDart apps.
It looks that there is a bug in community edition of 13.1.x and it won't be fixed (but it's already fixed in community edition version 14 and it works in any version of ultimate edition) - https://youtrack.jetbrains.com/issue/WEB-14060
I would like to integrate a JavaFX GUI in an existing IntelliJ IDEA Java project (java version 1.8.0_20).
Although I can create a JavaFX project from scratch (JavaFX plugin is enabled) in my IDE, I can't figure out how to create a module.
Do I need to define a new module SDK for a new Java module? Or does the type of the JavaFX module has to be IntelliJ Platform Plugin? I tried both without any success. Please help.
Many thanks,
Cristina
Update for Idea 2021.3
The previous information on this answer for Idea 13.1 is now outdated.
For Idea 2021.3, create a new JavaFX project using an Idea wizard:
New JavaFX project wizard.
From the main menu, select File | New | Project.
In the New Project wizard, select JavaFX from the list on the left.
I advise you follow the detailed instructions for creation and execution of JavaFX project at the new JavaFX project wizard link supplied.
A new JavaFX project created this way will be different from creating a new Java project using the same wizard. The new JavaFX project will be configured to use a build tool (e.g. maven or gradle). It will have the JavaFX module dependencies defined and will include sample code for a modular HelloWorld JavaFX FXML application. It is the perfect thing to use to get started with a new JavaFX application IMO.
If you want a new Idea module rather than a new project, then you just follow the same steps as above, but instead of selecting File | New | Project, you select File | New | Module, then select JavaFX from the list on the left as before.
Alternatively, you can create new modules in Idea by defining the modules in a Maven or Gradle project and importing the build tool project file for the project into Idea.
Prior answer for Idea 13.1
I don't think you can define a new JavaFX module in Idea 13.1. Note that there is not much difference between a JavaFX project and a non-JavaFX project in Idea, so you can just create a normal Java module and make a couple of manual tweaks to the module configuration and it should behave the same as if you created a JavaFX project. See the following answer for more details:
How to convert a normal java project in intellij into a JavaFx project
Okay this question is old and has been answered but let me add more to it. I came across the same problem and did a little workaround:
You first open the main project in IDEA (in which you want to add a JavaFX project module), then goto File -> New -> Project.
From there, you get the standard New Project dialog of IDEA, so select javaFX and proceed. Make sure the project location is where you want the JavaFX module to be created (which is why i prompted you to open the parent project in IDEA first). Open it in a new window and close it, doesn't matter.
Now, (Assuming that you only have the main project opened in IDEA) goto its File -> Project Structure and in the dialog, goto Modules and click add (+) -> Import module and then select the project you just created. Proceed through the wizard, overwrite the .iml and the JavaFX module should be added to your main project structure.
When I want to create a new Category or Command for an extension point from Extension tab in the Plug-in Manifest Editor, most of the tutorials and books tell to right-click on org.eclipse.ui.view and choose New -> Category.
However, when I right-click and then select New, the only choice I get is Generic.
Anyone knows how I can create a new Category from Extension tab?
I'm using Eclipse Indigo Eclipse Java EE IDE for Web Developers.
Seems that there is something wrong with PDE... You'd better use one of the following package:
"Eclipse Modeling Tools, 274 MB",
"Eclipse for RCP and RAP Developers, 227 MB",
"Eclipse Classic ".
I am using "eclipse-rcp-helios-SR1-win32-x86_64"
64-bit eclipse running on JDK.
I am trying to add an action in my plugin via menu contribution. When I add "org.eclipse.ui.menus," right-click on it then select "New," I only the "Generic" option. I am expecting to see "menuContibution"
The issue is described in detail here, which also seems to include the solution: link
From what I understand, the version of eclipse I have - helio SR1 - is an SDK version and should have the source included in the package. I am not sure what I need to do to make those additional options show up.
if you have the "Generic" it means that you don't have the source plugins. But you have downloaded the right package (RCP one). I guess your download might be corrupted. Can you try downloading it again from a different mirror?
i am try to this answer is useful.
step-1: Eclipse menu bar Select Help menu
step-2: select Install New Software
step-3: Eclipse project update link (Required version) below image
step-4: Choose Eclipse plugin Development Tool and
step-5: After Next button click to finish.
Eclipse can Restart after working successful.
Installing Eclipse plugin Development Tool, as per Bharat Zala answer, is not enough. It still did not work for me:
I had to install Eclipse SDK and Eclipse Platform SDK packages:
Then it finally worked:
Note:
Lars Vogel in his book "Eclipse Rich Client Platform", in chapter 8 Install Eclipse IDE for RCP development, he advises for to
Download the Eclipse Software Development Kit (SDK) as a recommended Eclipse edition for RCP/PDE development.
Most people probably have installed more mainstream Eclipse editions like Eclipse for Java developers. Installing Eclipse SDK and/or Eclipse Platform SDK as packages to them later should re-create SDK installation as advised by Lars.
It did not work for me even after installing both.
I did go Update site " http://download.eclipse.org/eclipse/updates/4.5" and when it lists the different components.
Please unflag the "Group items by category" check box and Install "Eclipse RCP SDK" and related components.
Thant should fix the issue.
Thanks
When I am trying to use eclipse Helios for plug-in development,I am not getting any attributes beside generic in any new RCL option. I have gone through net and found to download the source code but there is no way to append the same in Helios. Please suggest
You can install Eclipse RCP Plug-in Developer Resources via Eclipse update site
The shortest way to do it is:
Download the helios version for RCP developers from the eclipse web site.
Open target platform from the preferences menu.
Click "add" to add a new target platform.
"Nothing" is chosen for default target platform creation. Click next
On the new window click on the locations tab.. Click add , on the pop up window click directory and browse the plugin directory of eclipse for RCP developers (This version of helios includes the necessary plugin sources inside) and click finish
On the "implicit dependencies" tab show all the plugins added (choose all plugins)
and then click finish and close the wizard window.
Finally choose the new target platform configuration you have just created.
Now you can see all the new attributes beside generics (related to the plugin)
Download the SDK plugins from:
http://download.eclipse.org/eclipse/updates/4.3/