Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » [bug?] Rename File
[bug?] Rename File [message #1751411] Tue, 10 January 2017 05:56
Jernej LekÅ¡e is currently offline Jernej LekÅ¡eFriend
Messages: 1
Registered: January 2017
Junior Member
This does not happen always.

Version: Neon.2 Release (4.6.2)
Build id: 20161208-0600

How to reproduce a possible bug:
1) Create new PHP project
2) Create new PHP File 'newfile.php'
a. 'newfile.php' will open in PHP Perspective
3) Select 'newfile.php' in PHP Explorer
4) Press F2 to rename the file
5) Rename file to 'Newfile.php'
6) Press Enter on your keyboard to procces to preview
7) Press Enter on your keyboard

But if you press Enter twice in very short time it does not rename the file. Does anyone else have same problems?

Updated error log:
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.php.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.php.product

Tue Jan 10 06:58:23 CET 2017
Internal Error

org.eclipse.core.internal.resources.ResourceException: Problems encountered while moving resources.
at org.eclipse.core.internal.resources.Resource.move(
at org.eclipse.ltk.core.refactoring.resource.RenameResourceChange.perform(
at org.eclipse.ltk.core.refactoring.CompositeChange.perform(
at org.eclipse.ltk.core.refactoring.CompositeChange.perform(
at org.eclipse.ltk.core.refactoring.CompositeChange.perform(
at org.eclipse.ltk.core.refactoring.PerformChangeOperation$
at org.eclipse.ltk.core.refactoring.PerformChangeOperation.executeChange(
at org.eclipse.ltk.internal.ui.refactoring.UIPerformChangeOperation.executeChange(
at org.eclipse.jface.operation.ModalContext$
Contains: Could not move: D:\wamp\www\Test\newfile.php.

[Updated on: Wed, 11 January 2017 06:01]

Report message to a moderator

Previous Topic:how to write javadoc for var without defining it?
Next Topic:How do you publish or sync files from local workspace to remote server
Goto Forum:

Current Time: Thu Mar 30 06:04:20 GMT 2023

Powered by FUDForum. Page generated in 0.02008 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top