Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Open declaration don't open file in write mode(editor )
Open declaration don't open file in write mode [message #1826257] Wed, 22 April 2020 09:18 Go to next message
Andre DELACHARLERIE is currently offline Andre DELACHARLERIEFriend
Messages: 1
Registered: April 2020
Junior Member
In the Eclipse version I used previously (Oxygen.3A), a click on "Open Declaration" opened the necessary file and positioned on the declaration.
The current version (2020-03) still does this BUT the file is now in "read only" mode.
So making a correction in the code is no longer possible without closing and re-opening the file and repositioning it in the right place.

Is there a parameter to always open the file pointed to in "write" mode?
If not, is there a way to switch easily from "read only" to "read and write" ?

Re: Open declaration don't open file in write mode [message #1831985 is a reply to message #1826257] Fri, 04 September 2020 08:29 Go to previous messageGo to next message
Yuga P is currently offline Yuga PFriend
Messages: 3
Registered: September 2020
Junior Member
You can use the following syntax
fopen ( string $filename , string $mode [, bool $use_include_path = FALSE [, resource $context ]] ) : resource
where fopen() binds a resource name
Re: Open declaration don't open file in write mode [message #1832984 is a reply to message #1831985] Wed, 30 September 2020 10:42 Go to previous message
Mark Smith is currently offline Mark SmithFriend
Messages: 82
Registered: September 2020
Member
fopen(filename, mode, include_path, context)
OR
fopen ( string $filename , string $mode [, bool $use_include_path = FALSE [, resource $context ]] ) : resource
fopen() binds a named resource, specified by filename, to a stream.

Previous Topic:Renaming variable renamed in ALL files of the project
Next Topic:Eclipse for PHP Developers 2020-06 - Can JavaScript Task Tags Be Shown in the Task View?
Goto Forum:
  


Current Time: Thu Apr 25 20:35:00 GMT 2024

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

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

Back to the top