I am a novice in Plugin development and I am facing this issue in opening my current workspace:
ResourcesPlugin.getWorkspace() is not taking the currently opened workspace which is D:/ABCDWoekspace, instead it is returning the workspace of eclipse that is created in the eclipse installaction directory d:/eclipse/workspace as my eclipse in installed in D:eclipse
When you run your plugin from within Eclipse a new Eclipse is started with a new workspace in which to run the test. A new workspace is necessary because only one Eclipse instance can access a workspace at a time.
If you open 'Run > Run Configurations' and find your plugin in the 'Eclipse Application' section you can see the workspace location in the 'Location' field on the 'Main' tab. You can change this location to point to another existing workspace location.
You will need to set up this new workspace with whatever projects you need for testing.
Related
So, I have the Gradle plugin installed and enabled, and I even have it installed on my computer, but for some reason, it's still not showing up in the new project wizard. I have no idea why, though I did enabled Maven and it showed up in the new project window instantly. (I'm using windows 10 btw) My new project wizard window
Reinstall the IDE from the downloads page and delete disabled_plugins.txt file from the config directory.
Whenever I create a new workspace in IntelliJ, I need to add the default types for enabling "Run Dashboard" in the workspace. This is very cumbersome for me as I have certain types of configurations which I want to be available in Run Dashboard of every workspace.
I would like to configure the defaults for Run Dashboard which I would want to be available in any new workspaces I create so that I do not have to enable the run dashboard individually for every new workspace I create. Is this possible in IntelliJ?
I am using version 2019.1 now (the same problem exists in older versions as well)
When I create a Run Configuration for a project, pycharm will remember it as long as this project is opened in my IDE, or when I open it via the 'welcome to pycharm' window.
However, when I close my project and reopen it, I can’t find the config I saved before. Is there a way to find it again? Is it not saved in the .idea folder? (I'm running pycharm on mac os)
As #Eskapp said, run configurations are saved on per-project basis. If you want to share them between projects, please look at this topic: https://intellij-support.jetbrains.com/hc/en-us/community/posts/206600965-Export-Import-Run-Configurations-
I'm using Eclipse 3.6 for developing Eclipse plug-in. In the same workspace, I have 2 Plug-in projects: projA and projB. No mater which project was run, both two projects will be loaded in the new Eclipse instance. If I only want to load projA, I have to close projB, why?
I run the project like this: right click the project and "Run as--- Eclipse Application".
Have you defined the target platfom?
You can also edit your Run Configuration and choose the plugins to launch with.
The way you debug your project will start a new instance of Eclipse with all existing plugins installed(in your case,both project A and B are installed).This is typically called self-hosting in PDE.
If project A has no dependent package,just close other projects.
I created a sample plugin which includes a simple view in eclipse and ran the plugin from inside the workbench, my plugin is installed and I get my view showing up in Window/Show View/Other... . I packaged the plugin as a jar file and installed it under the plugins directory of eclipse and restarted my eclipse workbench. I am not able to find my plugin view. I dont know whats is wrong
I am using eclipse RCP SR2 (3.6) for developing plugins and my packaged jar file includes the code, META-INF/MANIFEST.MF and plugin.xml files.
I created the plugin from the book 'Eclipse Plug-ins, 3rd Edition'. I followed the steps outright and am not able to set up the plugin as a jar file.
I got it to work somehow? The plug-in project was created using Execution Environment JavaSE-1.6. 'It was given in the book I referred'. Now the manifest editor had the entry 'Bundle-RequiredExecutionEnvironment: JavaSE-1.6'. Now I ran the application with-in eclipse, it was working. But when I bundled the plugin as jar and copied the plug-in jar under plugins folder and restarted eclipse the plugin was not working, I dont know why, I thought my eclipse is not running under JRE1.6, but I checked my Windows->Preferences->Java->Installed JREs-> I have only jdk1.6.0_27 checked (So I assume that the eclipse is running under JavaSE1.6). This is bit confusing for me! I removed the Execution Environment entry in the Manifest editor Overview tab. Now there is no 'Bundle-RequiredExecutionEnvironment' entry in my Manifest, I created the bundle jar again and installed in eclipse plugins folder and restarted eclipse using -clean option. It started working in my eclipse. I got it to work somehow but with no understanding! I am still looking for answers from some one who can help me figure out what went wrong?
Open an OSGI console and type 'ss'. It should list all of the plugins. Can you see it? What is the state of it.
You can use Preferences/plug-in development/target platform edit running 'running platform' content tab to list and check/uncheck plugins. I hope it helps.
You could try copying your jar file to the eclipse/dropins folder.