Skip to main content



      Home
Home » Language IDEs » PHP Development Tools (PDT) » Does not make a sense at all(PHP Development Tools (PDT) does not validate even simple errors)
icon13.gif  Does not make a sense at all [message #1744104] Thu, 22 September 2016 07:03 Go to next message
Eclipse UserFriend
//Some code
public function execute()
{
$session_manager1 = new User_Session();
$user_id = $session_manager->getUserSessionId();
}


after validating source file in PHP Development Tools (PDT) I have: no errors


Obviously there is an error $session_manager1 should be replaced with $session_manager

ZendStudio-5.5.1 does check it:

Variable $session_manager1 appears only once (line 37)
The value of variable $session_manager1 was never used (line 37)
Variable $session_manager appears only once (line 38)


Sorry but If PHP Development Tools (PDT) does not validate even that simple errors --- it does not make a sense to use it.
Re: Does not make a sense at all [message #1744123 is a reply to message #1744104] Thu, 22 September 2016 09:42 Go to previous messageGo to next message
Eclipse UserFriend
PDT checks only syntax errors, not semantic (runtime).

For variable checking you can use https://github.com/pdt-eg/Core-Plugin
Re: Does not make a sense at all [message #1744197 is a reply to message #1744123] Fri, 23 September 2016 06:15 Go to previous messageGo to next message
Eclipse UserFriend
So why you offer me to use some plugin? Why it is not implemented in IDE that available from here https://eclipse.org/pdt/ ?

"variable checking" is a basic and very important functionality and should be implemented in the IDE without need to install and plugins.
Re: Does not make a sense at all [message #1744365 is a reply to message #1744197] Mon, 26 September 2016 06:52 Go to previous message
Eclipse UserFriend
For someone is basic, for someone basic is something different. Probably for PDT 5.0 (Eclipse Oxygen 4.7) I'll move variable checking code to PDT (I'm author).

Currently after years of stagnation, we are focused on performance and stability existing features. We also cleaning up an API for adopters. We don't want more mess that already have in code.

If you compare PDT performance&stability today and 2 years ago, there is abyss.
Previous Topic:Automatic validation
Next Topic:PDT 4.1 released with Neon.1 !
Goto Forum:
  


Current Time: Sun Jul 13 21:13:38 EDT 2025

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

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

Back to the top