I am using GridTableViewer from Eclipse RAP 3.11. The user can select rows. However, when the user clicks on the browser's Edit > Copy menu, nothing is copied to the user's clipboard. The user's clipboard's original contents remain intact. How do I allow for copying to the clipboard?
SWT Clipboard is not supported in RAP. There are lot of discussions about it in RAP forum.
360790: Add Clipboard Support to RAP
https://bugs.eclipse.org/bugs/show_bug.cgi?id=360790
Related
I use Eclipse as IDE and I installed FluentMark from the Eclipse Market Place.
Afterwards, I wrote two MarkDown files which should be converted to HTML files. (It is the documentation of a bigger project.)
My question now is: how can I convert the .md files to HTML files without leaving Eclipse?
I set Eclipse to use Pandoc as converter with the path to the executable.
The problem now is: the conversion is not done automatically and I cannot find a button to do so. Building the project or Buiding all projects doesn't help.
How can I do this task?
I am relatively new to Eclipse, so I don't know all its features (yet).
There is a very easy to miss, new toolbar item "Export as HTML".
There is also an "Export as PDF" but it requires additional tools that can not be installed from Eclipse Marketplace.
I raised an issue with FluentMark about this unintuitive use.
https://github.com/grosenberg/fluentmark/issues/39
I hope you are using FluentMark editor to edit the files.
While you are editing the files you can open 'FluentMark View' in Eclipse.
(You will have to choose 'Eclipse' -> 'Window' -> 'Show View' and select 'FluentMark View' probably from the Other option if not already listed in the options to choose.)
This will give a real time view of how the markdown files would look, upon saving the file, Eclipse should have generated a hidden html file in the same folder as your markdown file exists.
For e.g., if I am editing a README.md then after saving it and viewing in 'FluentMark View' there is a hidden html file created in same directory as .README.md.html
If this isn't working you may also try choosing other 'Show View' options like 'GFM View' (if that is already preinstalled else look for it in Marketplace).
I am looking for a way to view PDFs within Eclipse (Juno).
I just need to quickly viewthe PDF, and do not need the capability to edit, search, or anything beyond viewing.
I have tried a few plugins, but they all switch to a new perspective when PDFs are opened.
I would try Pdf4Eclipse: http://borisvl.github.com/Pdf4Eclipse/ It was suggested next to the texlipse environment that already has its new perspective, so I think, this would not switch.
Try PDF viewer nice and simple, can be downloaded / installed from following eclipse marketplace website.
http://marketplace.eclipse.org/content/pdf-viewer#.Us-ZfvQeo0E
The Eclipse content assist for PHP (and I'm assuming for other types as well) isn't using the currently active working set - it's searching ALL files in the project. How do I change it to only use the active working set?
When doing a Ctrl+Shift+R search, it was also looking for all files in the project (not what I wanted), until I clicked the small black triangle in that window and selected the working set I wanted it to use. Now it successfully only shows the files that match my search string in the working set. However, this doesn't change anything in the autocomplete content assist feature (i.e. doing a Ctrl+Space to complete the name of a function or variable). Is there any way to accomplish this?
I'm using Eclipse Indigo release, so it's very recent.
I'm afraid it's not possible the way you put it. Eclipse Working Sets just give you a way to organize your projects.
However you may want to take a look at Mylyn, which is fully integrated with Eclipse platform. Here and here is a nice overview of what you can do with Mylyn. But briefly, what it allows you to do is to create a task and maintain a context associated with it. This way, only the relevant files will be displayed in Project Explorer and autocomplete would suggest you only task-focused options.
Okay, I guess this question is too difficult, but it's worth a try.
I have an eclipse RCP application that edits HTML-files. I deal with the content of the files only in a W3C-Dom representation. There is some stuff that I can not do with that, so I the program edits each file each time after it is saved (save, save as). Of course, the file is then out of synch with the file system, and the next time I touch it, eclipse complains:
"The file has been changed on the file system. Do you want to replace the editor contents with these changes? (Yes/No)" I do not want to load the changes into the editor ("No")
Maybe there is a way to tell Eclipse programmatically to not check that file for changes, or to configure it to not check for changes on any file?
edit: Everything has to be done either programatically or by editing some XML files. I can not expect the user to do anything;-)
I find your question confusing.
I'm assuming you have access to the source code of the RCP application.
If you modify a file outside of Eclipse, Eclipse will respond with the message you mentioned when you want to edit the file inside of Eclipse. This is to protect you.
If you want Eclipse to stop responding with the message, you have to refresh any module you edit and save outside of Eclipse. Right click on the module name, and left click on Refresh or press F5.
Inside the RCP application, you can call the refreshLocal method of IResource in org.eclipse.core.resources to do the refresh.
I often have to open a secondary editor outside of Netbeans in order to work on temporary bits of text outside of my project files. Is there a way to create temporary files in Netbeans without adding them to a project?
File -> New expects every file to be part of a project.
I know this has already been answered successfully, but there is now a proper Netbeans plugin for this requirement: http://code.google.com/p/netbeans-scratchpad-plugin/ It works nicely for me and allows multiple scratchpads which can be handy.
Also note that the Copy/Paste History plugin which is available by default (with NB7 at least) is handy for this too.
HTH,
JD
By default, there is no such feature yet (I'm using 6.5).
You could include a folder in the Favorites window, and right click > New > Empty File from the folder, it won't be part of the project.