How to hide file status [Modified]/[New] in tab name in NetBeans? - netbeans

In NetBeans 7 There is a file status after tab's file name ([Modified]/[New]). How can I hide it? Name of a tab already has a different color depending on file's status so there is no need to take that valuable space.

I'm using Netbeans 6.0.1 and having the same problem. The versioning labels 'Modified' or 'New' appear at the tab.
So, what you can do is :
go to View > Untick Show Versioning Labels
The problem is solved.
Good luck!

Ok, I found the solution:
Goto: Tools > Miscellanous > Versioning > Subversion
Set field format to {mime_type}
When you clear format field completely (or use space character for example), I think NB falls to its default (which is status), that is why I choose {mime_type} property which in my case is empty.

Related

Netbeans platforme : How can I hide or remove the number displayed in front of the name?

When ran, the netbeans platform application has [the name of the projet]+[A sequence number] as name for the window. Is there a way, I can remove the number and keep the project name ?
I reckon that It's a simple question, but I can't seem to find how.
It seems like you want to use branding. Right click on your application module and choose Branding... There you go to Resource Bundles and scroll down to org/netbeans/core/startup/Bundle.properties. There should be a property inside named currentVersion, set to your application title (which you can choose in the Basic tab) and an appended {0}. This is replaced with the current date.
Remove that {0} and you should have what you wanted.

Eclipse: Hide current filename in title bar

I'm looking for a option to hide the current file name in the title bar of eclipse, since is sometimes terribly long especially when working on java projects.
Similar there is a start up option to include the workspace in the title bar show_location.
Thanks for hints
Looking at the source there does not seem to be an option for this (source is org.eclipse.ui.internal.ide.application.IDEWorkbenchWindowAdvisor).
The value used is actually whatever the active editor returns from getTitleToolTip() but again I don't see any way to change that in the Java editor.

all spaces replaced by tabs when ctrl+shift+f

working in eclipse,when I type 'tab',it insert 4 spaces,it works well.but after ctrl +shift +f to format,all the 4 space will been replaced by tabs.how to stop it?
Window->Preferences->Java->Code Style->Formatter: Edit Active profile->Indentation->Tab Policy: Select Spaces
You can't change the default profiles so you must provide a new profile name, then press the Apply button, then the Okay button. It may help to press the Apply button once you have returned to the Formatter screen. Go back and look at the Tab Policy again to verify that your changes were saved.
Including the above suggestions, I recommend searching for code style or style to get to the coding standard being applied with the user requests formatting of the code. It is possible that the code style uses tabs instead of spaces.
The only way that currently works is to use Ctrl-A Ctrl-X Ctrl-V on all code after using Ctrl-Shift-F. This will replace all tabs with spaces.
Don't know which version of Eclipse you are using but for
Eclipse 3.6 (for example) you may go to
Window->Preferences->General->Editors->Text Editors->Insert spaces for tabs
This will change Eclipse to use spaces instead of tabs
The place in the Preferences may be different depending on which version of Eclipse you use. If you load the preferences window you can use the search function there to find "Formatters" and set your preferences for different types of files, or generally.

Eclipse Package Explorer: Hide part of long package names?

I've been searching for a "problem" that have annoyed me for a while (but without any luck).
I am developing an Android application with the rather long package name com.kennethbrodersen.simplecaster.
This project contains a number of subpackages. The problem is that all these packages are shown with the full package identifier in the package explorer. The result is that this view has to be very wide or that I have to scroll horizontally to actually view the interesting part of the name. The problem is very clearly visible on the screenshot below.
Do any of you know of a way to "hide" parts of the identifier (in this case com.kennethbrodersen.simplecaster)?
You can configure package name abbreviations in Helios (3.6) or later. Go to Window > Preferences > Java > Appearance to set up abbreviation rules.
For example, com.kennethbrodersen.simplepod could be configured to be displayed as {KBsimple} with the rule com.kennethbrodersen.simplepod={KBsimple}.
You can also install FeatureIDE plugin, which will show only short (package)name.

how to change text "Eclipse" to some other text say "AshuEclipse" in the Header left hand corner?

How to change text "Eclipse" to some other text say "AshuEclipse" in the Header left hand corner?
Note: I dont want ot change the header to show workspace ,but I want to change the word Eclipse itself.
Plz suggest.
One solution an one workaround:
Solution (in theory, not tested)
The main Eclipse Windows is a WorkbenchWindow for the org.eclipse.ui plugin. It is created by the platform plugin.
If you look into the resources files within the org.eclipse.platform, you could see some files able to keep this value (for you to change it)
I have found:
eclipse-3.5.1\eclipse\plugins\org.eclipse.platform_3.3.201.v200909170800\about.properties
It contains:
blurb=Eclipse Platform\n\
eclipse-3.5.1\eclipse\plugins\org.eclipse.platform_3.3.201.v200909170800\plugin.properties
With:
pluginName=Eclipse Platform
providerName=Eclipse.org
productName=Eclipse Platform
productBlurb=Eclipse Platform\n\
Try and modify those values to see if the display can change. (I would bet on plugin.properties productBlurb)
Just tested: it does not change the display, so you need to explore some of the jars in the plugins directory of eclipse. In theory, you could change one of its resource file...
Workaround (if the previous section does not work)
My eclipse3.5 actually displays the name of the current perspective.
For instance; the Php perspective would be displayed in the header left hand corner:
alt text http://blog.wampserver.com/wp-content/uploads/2009/08/eclipse_perspective_debug.gif
So one solution would be to save your favorite perspective as "Ashu - Php Debug", and you would get what you want.
(see "create your own perspective" article)
alt text http://www.javalobby.org/images/postings/rj/eclipse_perspective/1.gif
That would need to be redefined for every perspective you are usually using.
And it would still have "Eclipse" at the end...
Preferences > General > Workspace > Workspace name
Right click on eclipse shortcut and go to properties.
Change target url text.
-> C:\your eclipe folder\eclipse.exe -showlocation <em>YOURTITLE</em>