Quick Fix (CTRL + 1) in Flash Builder 4

What is the purpose of a quick fix in Flash Builder 4? I tried to use it to automatically create event listener functions, methods or class properties, local variables, etc., but none of them work. Does this feature exist only in FDT? If so, what does the quick fix in FB4 do?

For instance:

myEventDispatcher.addEventListener(SomeEvent.EVENT_TYPE, myEventHandlerFunction);

Using FDT, I would highlight "myEventHandlerFunction", press CTRL + 1, and a menu with several correction options will appear, the first of which creates an event listener "myEventHandlerFunction" in the class "MyClass"

However, in FB4, pressing CTRL + 1 or even selecting a quick fix in the right-click menu does nothing.

+3
source share
1 answer

Yes, this is just an FDT feature! This is one of the biggest reasons for me to use FDT over any other tool. Quick Fixes rock !!

+1
source

Source: https://habr.com/ru/post/1749430/


All Articles