IntelliJ - Is there a way to move the SceneBuilder to the right side of the IDE? - intellij-idea

When I'm building the layout with IntelliJ using FXML, the layout can be viewed by using the SceneBuilder in another tab.
Is there a way to make it so the FXML code and scenebuilder can both be viewed at the sametime so I don't have to keep alternating back and forth between the two panels Text and SceneBuilder?
In Android studio the equivalent of the SceneBuilder would be the Preview which is located all the way on the right side of the IDE.
How can I move the SceneBuilder all the way to the right like so? Or is there something else that is used to preview the layout that I'm unaware of?

To display, within Intellij Idea, both the fxml source view and the SceneBuilder view at the same time, for the same FXML file:
Double click the FXML file in the Project Pane to open it.
Right-click on the tab header of the FXML file.
Choose "Split Right" or "Split Down" depending on your preference.
You will now have two tabs for the same FXML file, both showing the FXML source.
In your second tab for the FXML file, click on "Scene Builder" in the bottom tab.
You will now have your source FXML and the Scene Builder FXML for the same file side by side.
(optional extra) If you want a source view or Scene Builder view in a new window rather than a new tab, right-click the related tab header and choose "Move to tab to New Window".
Unrelated aside
For me, on a Mac OS (10.15), Scene Builder inside IntelliJ (2021.2 UE) shows garbled fonts throughout the application making it unusable (the stand-alone SceneBuilder app from Gluon does not have this issue). Hopefully, it works better for you.
Intellij bug tracker link for the unusable fonts in SceneBuilder on Mac when embedded in Idea IDEA-266524.
So, this is a known issue which Intellij will hopefully address in a future release.

Related

Navigate to class in project view - intelij

I upgraded my IDE to the new version 2019.3
in the previous version I have the ability to navigate in the project view to the class that I am currently working on.
today this is not displayed
how can I restore it?
this is the old menu, I want to add the icon that is marked in purple
Could it be you have the option Always Select Opened File enabled under the cog menu? When this is enabled the file currently open in the editor is selected automatically in the project view. This makes the "locate" action unnecessary and it is hidden.

How do I change the default settings in IntelliJ to open a file in the current tab

I find the UX of IntelliJ to be extremely annoying (especially since I have been using XCode until now and really love it). Specifically the fact that I need to "double click" a file in order to view it, and moreover that the file is opened in a new tab.
The behaviour that I desire is that when selecting a new file from the file navigator, the file open "inside" (replace) the currently viewed tab. I don't want to have to double-click the file from the navigator and I don't want the file to open in a new tab.
So for instance if the current tab is showing "File1.xxx" and I were to select (Single-click) "File2.xxx" from the navigator, the tab would now show "File2.xxx" and not "File1.xxx".
I am not aware of how to define this behaviour in the settings screen.
I am using IntelliJ Ultimate 2017.2.2 on a Mac.
A couple of examples of what I want:
Like in XCode:
Like in Chrome:
Like in Safari:
Like in Finder:

IntelliJ IDEA - How to reattach Variables Tab to be side by side with Debug Tab?

Am new to IntelliJ IDEA (am using 2017.1.3)...
By accident when I was debugging a sample unit test, I accidentally detached the Debugger's Variables tab from the entire IDE - its floating now. Is there a way to reattach this to be at the bottom and side by side of the Debug tab (like it used to be)? I tried a bunch of different approaches and when I hit my breakpoint it still floats (like a modal) outside IntelliJ IDEA. Can IntelliJ's views be customized (kind of like Eclipse's Perspectives and Views)? It seems like JetBrains calls views: tabs and calls Perspective: active window. Is IDEA customizable like Eclipse?
Attached is a screenshot of my plight...
Inside the window frame, grab the tab that says "Variables" with your mouse. Drag it into the debugger panel.

Using file templates in IntelliJ

I'm quite confused when it comes to file templates in IntelliJ. Basically, when I right click anything and hover my mouse over to New, I can see the usual file templates like Java Class, HTML File and so on. I downloaded Scala plugin and I can see Scala templates (Scala Class, Scala Object, etc.) if I go to Edit File Templates, but I can't actually use/see them in the New menu. Is there a way to modify what I see in the New menu? I'd like to be able to create Scala classes.
Go to Settings -> Menus and Toolbars
There you will see many type of menus. You need edit the menu you want the files to be displayed. Most Probably "Project View Popup Menu".
Click on "Add After" button on right. There you choose the file form plug-ins or other category to be displayed.
I added "Show Bytecode" to meny well it does not make sense here. You can add files from scala plugin like that.
You can restore to Defaults if you mess up easily by clicking on
"Restore All Defaults" button.

Highlight file opens up file in a preview window functionality instead of double click

Coming from a Visual Studio environment and Xcode environment, if you highlight a file on the project window (LHS), the file opens. IntelliJ doesn't open a file until you double click it.
It's kind of a different feel since it opens it up in a new tab each time vs just using the last active window or a preview window to flip between files. Is there a way to make it more like VS or Xcode that where highlighting the file actually opens the file in the current window?
There is Autoscroll to Source option in the project view settings. Unfortunately it doesn't open the focused files in the current tab, but in new tabs.
I haven't found an option to change this behavior anywhere, but there is already a feature request on IntelliJ's YouTrack asking for this, so feel free to vote for it :)