Within the project explorer in eclipse, the context menu bars "Debug as" and "Run as" appear allowing to launch in debug/run mode.
I have created a new view (Replacement to Project Explorer view) and these context menu bars don't appear.
I couldn't find what I should add to the plugin.xml in order to add these context menu bars also to my new view.
Could anyone help ?
Those menu items are extracted with Common Navigator Framework. Consider using CommonViewer for them to reappear.
Related
I'm writing a VSCode extension that adds a new file explorer view to the Explorer activity.
Is it possible to make my new view re-use the context menu (ie. right-click menu) from the file explorer view? And if so, how?
This is not possible, as discussed in this GitHub issue: How to apply File Explorer context menu to custom tree view?.
There are no plans to support file explorer context menu items in custom tree view context menu.
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.
I want to import a program from the toolbox, but the toolbox on the right of Automation Studio is gone. I can't find it anywhere. How do I enable it?
I would say you are doing everything right and the Toolbox pane is there - I can see it (there is a small grey dot there).
You just need to drag the pane separator.
Try the right click on the project name and select "Add object.." the toolbox menu will be shown. 1
When disaster strikes you always have the capability of restoring the default window layout from Window -> Reset Window Layout
Window -> Reset Window Layout
In my Eclipse plug-in I have a custom editor which has its own toolbar. If I detach such an editor I still can use this toolbar. But only if there is no other editor (without this toolbar) active on the workbench. In this case the toolbar of the detached window disappears while activating the workbench so I can't use it anymore for the detached window. Is this a bug or a feature?
Is it somehow possible to attach the toolbar to the detached editor window to prevent such errors?
If your editor's toolbar is actually showing in the main window (the usual case) then what is happening is that when you click on the main window to use the tool the main window activates, changing the currently active part. This is a known issue for which no viable solution has been proposed...
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=323706 and related defects for the gory details.
The usual workaround is to use key-bindings for commands you want to execute in DW's.
Thanks in advance .....
I have to add one item in project explorer's context menu (new->new item), and also in new toolbar's web category (new item) . I can directly add item in context menu , but how to add in New menu of the project explorer's context menu. Same for the new toolbar , i can directly add contents i
Maybe you can use the 'org.eclipse.ui.newWizards' extension-point to contribute an new wizard, and then use the 'org.eclipse.ui.navigator.navigatorContent'(common wizard) extension-point to add your wizard to the context menu.