I'm using Eclipse Mars with the TFS plugin. I work with many files that don't have a file extension. Is there a setting to have those files open in Eclipse? Currently, I always get Windows "what do you want to do with this file" selection displays.
All of these non-extension files are plain text that would properly render in Eclipse.
We have a fix in TEE/Eclipse TFS plugin to handle opening files without any extensions from Source Control Explorer in Eclipse. It will be available with our next update.
Thanks,
Madhuri
Jacob:
Unfortunately, the way our Eclipse TFS plugin (i.e. TEE) is written today, you will not be able to do what you are asking (meaning, you will not be able to configure the system so that when you click on a file with no file extension in the source control explorer and have it open in Eclipse – you will always be promoted by Windows to choose the application). We will keep this use case in mind as we continue to support the plug-in and will add it to the backlog of options to be considered in the next release. We are sorry for any inconvenience this is causing you. Thank you for your question.
Related
I am used to work with rails locally where I can use any text editor I please while I have the server running. If I make changes to a file Webrick, it will pick it up and I am able to see the changes on the page.
Can I do this with eclipse?
I am using Atom for html editing but every time I save the changes and reload the page, the changes are not done. Any ideas?
Is your project an Eclipse Web project associated with a server in the Eclipse Servers view? If so, double-click on the server and you'll be able to tweak a few thing. The interesting option would be Automatically publish when resources change under Publishing.
PS: if you're using Java Enterprise or JBoss technologies, you can add JBoss Tools on top of your Eclipse IDE, it features some features and default settings that should make things simpler for you.
I've found the answer by going to eclipse in Preferences > General > Workspaces > Refresh using native hooks or polling
This way I am able to edit html files with Atom. Hope it helps someone
Question for reference: eclipse, refresh files edited by external editor
I am having problems when editing template-files(HTML-files) in my Maven-project. I have made the Maven-project an Eclipse-project with the command "mvn eclipse:eclipse" (if it matters). I am using the Apache Velocity Engine as template engine for this project.
The problem arises when I'm editing the files in Sublime, and then save the file and refresh the browser. The changes does not show! If I however open the template file in Eclipse, just open it, I can even just open and close it right away, and THEN refresh the browser, the changes will show.
I have done a test to see if this problem occurs on other simple projects as well, and with a single HTML-file and a simple http-server, the work I save in Sublime shows as normal.
Does anybody know what is happening here? Am I bound to keep on using Eclipse as a HTML-editor? :( Does the Eclipse project files prevent me from using other editors? Why are the changes only showing when I open the files in Eclipse?
Any help is greatly appreciated!
In order for the changes to take place you have to right-click the file in Eclipse explorer tab and choose "refresh" in order for the (static) changes to be reloaded to Apache. For dynamic changes you'll need to restart apache or use a plugin such as JRebel.
Eclipse copies the files to the "target"-folder in the webapp. Sublime(and others) does not do this automatically, so you need to do this manually, or by a plug-in that will copy the files on save.
I would like to maintain a log of changes made to all files of a project while working in a Netbeans session. This would be useful to undo/review changes made while debugging the project.
Is there any plugin that would maintain a log of such file changes ?
I use Netbeans 7.2. for Java Projects.
I would suggest you use a real version control system. There are plugins for NetBeans. I've yet to see some automated system appropriately handle the task of source code change tracking.
If you want it for quick/temporary use:
Download and install Netbeans plugin 'Local History' through Tools->Plugin. After you reload your IDE and save a file multiple times, you'll be able to see a History view for your file. You can see differences between the revisions, restore etc.
If you want maintain revisions and permanent use, I would recommend using "git".
I love Netbeans, but there's a "bug" or "way of doing things" that I don't like, and I want to know if there's something I could do to make it right:
Scenario
I edit a example.css in Netbeans & save.
I edit example.css outside Netbeans & save.
I edit example.css in Netbeans again.
Problem: Changes in #2 were overwritten.
Do you know how to config Netbeans to check for updates on files before save?
Do you know a similar IDE for PHP that works with remote project similar to Netbeans?
Thanks!
In NetBeans: I think you should perform Source -> Scan for external before saving.
I believe this feature(Auto Refresh) is supported by by Eclipse new versions. If you want to switch your IDE, please download from here-->Eclipse for PHP Developers.
You may find steps to configure Eclipse with remote file system, please refer Getting Started with the Remote System Explorer.
I am working on using Eclipse as a basic file editor, without all the heap issues that comes with a Java tools install. I downloaded the platform version with no plugins, and added some editing tools for the code I wish to develop.
I do not intend to create new projects in this Eclipse, but would rather just edit individual files. Ideally, I can just open these from a File Explorer view within Eclipse (see image). Is there a plugin that I can download that will allow me to do this, or is there a simple hack to get this feature added?
I found a solution. It unfortunately adds nearly 30MB, and I was really hoping for a lighter weight solution (I will not choose this as the answer yet, in the event one is posted). The Target Management plugin provides a plugin (add this url to Eclipse's Install New Software... dialog: http://download.eclipse.org/tm/updates/3.4/ ) that allows the browsing of remote and local file systems. Opening the view Remote Systems will allow you to open the local file system and open files from within, that appear in the main editor window.