When viewing the layer properties for an XPF there is a tab called "Delete Entries" is there a way I can use the command line to see if there are any entries in the System Delete List for a layer?
Related
I need to remove all properties (title, author, camera,...) from files in one folder with PowerShell (in Windows 10). Is that even possible or any simple command to do that or would I need to remove each property one by one?
If you need a simple one-off solution or occasional solution Windows explorer has this function built-in.
Select all your files in the folder.
Right click one and select Properties then Details tab.
Bottom of Properties has "Remove Properties and Personal Information"
--Has options to create copies of files with properties removed
or remove from active files. Select properties individually or Select All.
When I use Search/File in Eclipse, I get the number of occurrences matched. Is there also a way or alternatively a way to get back the number of files which contained 1 or more occurrences which matched the search query?
I could bust out the Mac command line, but I am asking from within this or a similar menu item within the Eclipse application.
The number of files with hits is not displayed directly.
However, there is a workaround how to get the number of files in just two or three small steps:
In the Search view, in the view menu, make sure Show as List is selected (the default is Show as Tree)
Select all (Ctrl+A)
Right-click and choose Show In > Project Explorer (or Package Explorer)
As a result of this, the number of files n is displayed in the status bar as n items selected.
IN Eclipse i want to chnage the default editor of some .htm files.
If i try to go to FIle Association and assiciate the default editor then file gets opened in that new editor but i don't get the syntax highlighting.
The solution is that the file association is locked ny some plugin editor
Preferences -- Context type----text ----Your editor -- reomve the extension
But i get the .htm(locked) so i cant remove it.
http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Freference%2Fref-content-type.htm
Note: Certain items will be marked as "locked". An item is locked if
it is one of the associations provided by the plug-in that declares
the content type. In other words, you can remove only user-contributed
associations.
Is there any way to remove those locks even thought it can be hackish way but i want to do it
You don't need to "unlock" an existing association to add a new association and make it the default.
Add a new association via the "Add" button
Select the new entry
Hit the "Default" button to make your new entry the default editor
Could it be, that you want to change the "File Association"? This can be done in General / Editors / File Associations. BUT Eclipse uses at least one default-editor and this is the reason for the "locked"-message in the "Content Types". You could set the "Text Editor" to all unwanted types. Looks like a workaround, but makes sense, because it is the same as the file associations of your operating system, that asks you for the program to display the file.
Another question is, why do you want to unlock or remove the "Content Type"? Does it change anything in the Eclipse logic?
Go see this answer from "Greg Desmarais" (assign the desired editor to "default")
https://stackoverflow.com/a/15642583/162094
I have been often working on projects with huge namespaces on Eclipse.
Since I think that hierarchical package presention seems more visually helpful, I have the issue of selecting every package until the core classes, for example:
-br
-br.com
-br.com.company
-br.com.company.server.core
-br.com.company.server.core.web.common
-br.com.company.server.core.web.common.Utils.java (yay!)
Is there a way to automatically and recursivelly expand empty packages when using hierarchical package presentation?
So, when I click
+br
It would expand to:
-br
-com
-company
-server
-core
-web
-common
+Utils.java
Use the "Project explorer" view and change the "Package Presentation" from "Flat" to "Hierarchical". You find this setting in the view's menu.
For me, the hierarchical representation flattens multiple empty directories (e.g.: com.company.project) into one expandable and collapsible entry. The one trick I found that causes this to NOT be true (on OSX anyway) is that .DS_Store files will cause Eclipse to see the directory as "not empty". It then won't compress them into one entry. Removing these files (and any other hidden but present files in the directory) resolves this issue.
I can thus have com.company.project expandable with one click and all the packages appear hierarchically under it. It's a nice combination of the two views!
In Eclipse (HELIOS) there is an option to scan all source code and search for task tags such as "TODO", "FIXME" etc. The result is then shown in a fine list.
One can access this list by: Windows->Show View->Tasks.
However, it also scans resources directory and libraries, whose task tags are not of my interest. How can I filter Task Tags searching by directory exclusion filter?
10x
It is possible.
Open the Tasks view. Then press icon with the down arrow (top right corner of the window, next to minimise button) and press "Configure Contents..."
Either add new configuration or modify TODOs
In the Scope section select "On working set:" and press button "Select..." to create a new workspace
Create a new workspace with only selected folders that you want to include
Also there is the way I work around that limitation: Define your own tags, i.e. by adding your name or some shortcut and use the task-list's filter function to ignore the rest.
In the preferences you can define your own TODO Tags (for highlighting purposes etc.) or you can leave it with TODO, FIXME, XXX..
Also in the preferences you can redefine the default Comments like "TODO: Auto-generated something" to "TODO Nir: Auto..."
In the Task List you can then filter for exactly those tags.
Cheers,
Rob
Unfortunately, the answer is that this is not currently possible. You can configure the set of task keywords on a per-project basis along with the priority of each, but no more than that.