zend-studio

Keyboard shortcut to “untab” (move a block of code to the left) in eclipse / aptana?

浪尽此生 提交于 2019-11-29 18:46:19
Well, hopefully the question is self-explanatory. It's so easy to select a block of code and tab out, but how about the reverse? Currently, I just search & replace for whitespace at the beginning of the line. Anything faster? nbevans In Visual Studio and most other half decent IDEs you can simply do SHIFT + TAB . It does the opposite of just TAB . I would think and hope that the IDEs you mention support this as well. Shift-tab outdents again :) Here's where the standard shortcut keys are covered: http://wiki.eclipse.org/User_Interface_Guidelines#Standard_Accelerators You'll find many of the

Code Completion for private/protected member variables when using magic __get()

走远了吗. 提交于 2019-11-28 19:19:05
问题 How do I setup code completion to work on Zend Studio (or any Eclipse based IDE) when working with a class that has private or protected member variables WITHOUT resorting to a bunch of Getter's OR setting the member vars as public. For example: class Dog { protected $bark = 'woof!'; public function __get($key) { if (isset($this->$key)) { return $this->$key; } } } $Dog = new Dog(); echo $Dog->bark; // <-- I want the IDE to "know" that bark is a property of Dog. 回答1: Code Completion for Magic

Keyboard shortcut to “untab” (move a block of code to the left) in eclipse / aptana?

删除回忆录丶 提交于 2019-11-28 13:38:34
问题 Well, hopefully the question is self-explanatory. It's so easy to select a block of code and tab out, but how about the reverse? Currently, I just search & replace for whitespace at the beginning of the line. Anything faster? 回答1: In Visual Studio and most other half decent IDEs you can simply do SHIFT + TAB . It does the opposite of just TAB . I would think and hope that the IDEs you mention support this as well. 回答2: Shift-tab outdents again :) Here's where the standard shortcut keys are

Starting Eclipse w/ Specific Workspace

折月煮酒 提交于 2019-11-28 03:21:30
Is there a way to start an instance of eclipse, passing it some sort of parameter telling it to use a specific workspace? The problem I'm trying to solve is that I have a workspace for work projects and one for personal projects. I'd like to be able to tie these to workspaces to separate shortcuts that I could launch independently. Matt H From http://help.eclipse.org/help21/topic/org.eclipse.platform.doc.user/tasks/running_eclipse.htm : Use the following command-line argument: -data your_workspace_location For example, -data c:\users\robert\myworkspace you can also use UNIX-style relative path

Starting Eclipse w/ Specific Workspace

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-27 00:00:58
问题 Is there a way to start an instance of eclipse, passing it some sort of parameter telling it to use a specific workspace? The problem I'm trying to solve is that I have a workspace for work projects and one for personal projects. I'd like to be able to tie these to workspaces to separate shortcuts that I could launch independently. 回答1: From http://help.eclipse.org/help21/topic/org.eclipse.platform.doc.user/tasks/running_eclipse.htm: Use the following command-line argument: -data your