eclipse-pdt

How can I open a new browser tab in Eclipse PDT?

和自甴很熟 提交于 2021-02-19 08:42:07
问题 When I run a PHP script in Eclipse environment, I can select different browsers to render my page and can get different results. But the results are still all shown in the browser output window in eclipse itself. How can I prompt eclipse to actually open a new tab in the browser itself with the php page. I know it can be done by "external tools", just dont know how exactly to configure it. 回答1: From the main menu -> Windows -> Preferences -> General -> Browser -> select the external browser

How can I open a new browser tab in Eclipse PDT?

蓝咒 提交于 2021-02-19 08:42:00
问题 When I run a PHP script in Eclipse environment, I can select different browsers to render my page and can get different results. But the results are still all shown in the browser output window in eclipse itself. How can I prompt eclipse to actually open a new tab in the browser itself with the php page. I know it can be done by "external tools", just dont know how exactly to configure it. 回答1: From the main menu -> Windows -> Preferences -> General -> Browser -> select the external browser

What kind of data obtained from a paypal transaction I should store inside my local database?

旧时模样 提交于 2021-02-10 09:30:27
问题 Which informations obtained from IPN you should keep inside your local Database ? Is the $_POST['txn_id'] field the only field needed to assure you a retrack of all the transaction informations from paypal? Or is it better to insert all informations obtained from the IPN/PDT postback? Basically i'm trying to figure out wich info I need to store in case of a transaction problem and/or a user complaint. 回答1: No, the txn_id isn't enough. According to the documentation PayPal provides on their

How to declare the type for local variables using PHPDoc notation?

二次信任 提交于 2020-12-04 14:37:48
问题 I use Zend Studio to develop in PHP with CakePHP, and one of the problems with CakePHP is that the views all reference undeclared local variables. So for example, in the controller you would $this->set('job',new MyJobObject()); Then in the view you could echo $job->getName(); My problem is that Zend Studio can't perform autocomplete on $job , because it's type is unknown. Now there are PHPDoc tags that allow you to declare the type so that IDE's can perform autocomplete. The @var tag for

The project description file (.project) for my project is missing

我怕爱的太早我们不能终老 提交于 2020-05-09 18:14:51
问题 I am using Eclipse PDT 3.5 on Vista (32 bit). It works, though eclipse needs admin rights to execute. This annoys me, but I accept it. But: every now and then (I am not sure, it may even be everytime I want to open a project), I get the error message "The project description file (.project) for my project is missing.". It is NOT missing, it is in the main folder of the project. It has no special flags set (it is not hidden, nor system file, nor write-protected). This is for ALL projects I

How to remote save in Eclipse PDT like Netbeans?

♀尐吖头ヾ 提交于 2020-01-24 00:16:35
问题 I have a problem with Eclipse remote save. I have been using Netbeans for 2 years, my projects are stored in local and also in remote test servers. When I opened, change and saved files in Netbeans, it also saves (overwrites) the files to remote location. Configuration of Netbeans is described here : Netbeans Remote Sync Another thing is checkouted code from SVN is in my local, and I only commit from local, never from remote, I mean I use remote server only for testing purposes. I decided to

How to remote save in Eclipse PDT like Netbeans?

不打扰是莪最后的温柔 提交于 2020-01-24 00:16:14
问题 I have a problem with Eclipse remote save. I have been using Netbeans for 2 years, my projects are stored in local and also in remote test servers. When I opened, change and saved files in Netbeans, it also saves (overwrites) the files to remote location. Configuration of Netbeans is described here : Netbeans Remote Sync Another thing is checkouted code from SVN is in my local, and I only commit from local, never from remote, I mean I use remote server only for testing purposes. I decided to

Can my Eclipse plugin change preferences from other plugins?

江枫思渺然 提交于 2020-01-21 05:45:08
问题 I'm working on an Eclipse plugin that needs to change some preferences defined by other plugins, e.g. the tab size in text editors. Is that possible? 回答1: Yes, it is possible. You'll need this in your preference page: setPreferenceStore( new ScopedPreferenceStore( new InstanceScope(), "bundle-name-of-other-plugin" ) ); Or you could do something like this here. FYI, the preferences live here: pathToWorkspace\.metadata\.plugins\org.eclipse.core.runtime\.settings 来源: https://stackoverflow.com

PDT autocomplete broken in Eclpise

无人久伴 提交于 2020-01-15 06:29:12
问题 Suddenly I can't use autocomplete in my Eclipse PHP projects. When I press alt+/ I jsut hear a dummy sound. Which settings should I check? 回答1: Try this. Right-click your top level folder in PHP Explorer. Select the "Configure" menu item then "Add PHP Support". 回答2: Does you PHP Language Library include a link to your local PHP install? Sometimes I've found my project gets corrupted, and that PHP gets stripped from that include. 回答3: In this situation, simply reloading Eclipse helped. 回答4:

Don't show .svn folders in Eclipse

感情迁移 提交于 2020-01-14 10:12:34
问题 In Eclipse, the PHP Explorer view (that shows the folders of the project) is polluted by the .svn folders. That's kind of annoying, is there a way to hide them, because I looked everywhere in the documentation and didn't find it. Thanks 回答1: almost every view like explorer and outline views in eclipse has an option to filter visible elements by regex. you can find the menu by clicking on the small downward-pointing trangle in the top right corner of the view, then select the Filters item,