I would like to open a .chm file in Eclipse. But it does not support these files. If I wanted a workaround, how should I go about it?
I have looked into writing plug-ins to do so. The only way I would be able to view .chm as an Eclipse Help Plug-in would be to convert .chm to DITA and then DITA to Eclipse help files. But there's no clear cut way to do this. There isn't much help online either. Any suggestions?
I need an automate-able way to do this. I will have a .chm file (for documentation of the source code generated by Doxygen) pushed to a repo that someone will pull and open up in Eclipse along with the code. They should be able to use the search functionalities provided in a chm file. A normal HTML page does not provide these.
Related
In Eclipse
In Window->Preferences->PHP->Code Style->Formatter
I want to import for CakePHP instead of PHP but I haven't find in the file in format XML.
I appreciate you in advanced.
It should be a xml file like this:
Please refer to this: https://book.cakephp.org/3.0/en/contributing/cakephp-coding-conventions.html
CakePHP encourages you to code using PSR-2, and it should be already included in Eclipse. Additionally, CakePHP ships with .editorconfig file, which, depending on your IDE setup, can be included and can help you.
Go to editorconfig_plugin_Eclipse to look for the Eclipse plugin.
Go to editorconfig_demo for a brief demo slideshow which you could find informative.
Go to editorconfig_example for an example CakePHP editorconfig file on GitHub.
Go to editorconfig_tutorial for a video tutorial (in 3 parts) on the editorconfig file which you could also find helpful.
That all being said, I think the Eclipse community is still waiting for a CakePHP formatting file that meets your needs, one that can just be dropped into the Eclipse environment.
Within Selenium IDE for Firefox, under Options -> C# / NUnit / Webdriver, there is a button 'Source' to view the conversion formatter.
It is displayed in read-only format.
Is it possible to get access to this file in order to customise the export process?
Sorry if this seems like a trivial question, I've found plenty of people complaining about not being able to perform various tasks online and a few responses that indicate that custom export is supported, but I can't seem to find a way to access the file to perform the work.
Thanks
I think I found a solution to this problem.
Though you can't customize any of the built in exports, like C# / NUnit / Webdriver, you can create a completely new exporter. I'd recommend modifying an excising one.
Get the source exporter you would like to modify. Ex Options->Options->Formats->C#/NUnit/Webdriver->Source. And copy it to a text editor.
Edit this code.
Options->Options->Formats->Add(button) and paste your new exporter.
I think you have to copy and paste the text, there is not file upload.
This worked for Selenium IDE 2.5.0
Hope this helps!
EDIT: In addition to my answer above, it may be easier to just write your own parser for the Source of your IDE Test.
The source is read-only because it has been provided by a Selenium IDE Plugin.
The source is usually helpful if you want to make a very simple formatter. Usually a better way is to create your own customised version of the formatter and package it in a plugin. Take a look at the source itself and the plugin tutorial at http://docs.seleniumhq.org/projects/ide/plugins.jsp
You can find some more information and slides about Selenium IDE plugins on my blog.
Cheers,
Samit Badle
Selenium IDE Maintainer. Twitter: #samitbadle
Blog: http://blog.reallysimplethoughts.com/
I want to create a some custom filters for my eclipse project. I think this can be done extending a plugin.
For example .asm file should go to the ASM filter, .c files to the C filter, and so on.
All my input files are stored in the Source folder (on my computer).
But I need this filters only for a better file management, in the Package Explorer.
Please, if anybody have a starting point for this issue ... I will appreciate.
The sooner, the better :)
You might want to have a look at this:
Eclipse Common Navigator Framework
And read this tutorial to create a custom navigation:
Custom Navigator
(It's part 7, but in the beginning there is a lot of theory. just find your personal starting point)
I hope this is what you were looking for or that you can at least get something useful out of it...
I have a plug-in project opened in the workspace. Is there an API which could help to change the plugin.xml? I don't want to parse it as an xml file.
There is no "good" way to do this as the PDE guys did not open their APIs to modify manifest files (MANIFEST.MF, plugin.xml, etc). You can only access those information in read only with their APIs. That being said, if you are not afraid of using internal code, you can have a look at PDEModelUtility and ModelModification. These classes are used in the OrganizeManifestProcessor.
I'm developing an Eclipse Plug-in.
I need to programmatically get both filepath and filename of the selected/active file in the eclipse editor.
Also need to programmatically add an existing file (located outside the project) to the project and then open it on the editor.
I'm a totally beginner with Eclipse, so complete solution would be appreciated.
You question is quite general, but this should clear things up a bit:
Eclipse Plugin Development Tutorial
About adding a file to the project, you have to read the documentation and find where eclipse handles projects. I think that if you have a reference to the project it should be easy.
Hope it helps =)
Your editor is most likely inheriting from IEditorPart, so you should be able to call getEditorInput(), which then may or may not turn out to be a FileEditorInput, for example. From there, you can get at the underlying details of the file.
For your second problem, you can use IProject.create() and then e.g. do an IFile.createLink() and use a local filesystem path, or copy the file using IFile.appendContents().
Have you tried the solution proposed in http://www.eclipse.org/forums/index.php/mv/msg/97927/300308/#msg_300308?