Hopefully it is still early days. Like most initial Betas there could be a lot left out at this stage.
List in detail all of the features from FDT that you want in Flash Builder.
Flash Builder should just try to use as much as possible the feature that you can use in Eclipse when you develop in Java (what FDT is trying to do). Having templates and having fix suggestions on errors is at the basic of writing code and FDT has them from ages.
Then of course the ability to reference to the project external libraries as folder with classes would be a great plus, I can't believe I can only link swc or Flex library projects.
Also, the best (and most official) way to suggest features is to log an enhancement request in the public Flex bug base at http://bugs.adobe.com/flex/.
You may want to search to see if these have already been suggested and if so, vote on the issue. If not, file a new enhancement request and encourage people to vote on it. :)
With regard to "referencing project external libraries as a folder with classes", do you mean source files or ABC files? In the project properties dialog, you can go to "Flex Build Path", "Source path" tab and point to a external library as a folder.
Jason San Jose
Quality Engineer, Flash Builder
Perhaps you could sticky that link to the bug base?
For those that want to vote for any of these features, here are some links:
Issue http://bugs.adobe.com/jira/browse/FB-11842 : Templates and code snippets
Issue http://bugs.adobe.com/jira/browse/FB-11940 : Add a snippets toolbar
Issue http://bugs.adobe.com/jira/browse/FB-977 : Templates and code snippets
Issue http://bugs.adobe.com/jira/browse/FB-8297 : Source code formatter
Issue http://bugs.adobe.com/jira/browse/FB-15877 : Project Templates
And I must say, I do share in the disappointment. I had expected to see extended file templates and code snippets by now in Flash Builder.
In Flash Builder 4, we've added File Templates. You can access them through preferences under "Flash Builder." Is there more that you would like the file templates to do?
Referencing an external source folder seems to work very well with the unit tests.
Thanks a lot, chr
in themselves, the file templates are nice. What would be nice would be a way to create more file templates. For instance, a template for a value object, including an initial setter/getter. Or a template for a custom event.
This could also be done by using code snippets, which Flash Builder does not have, except in a way for creating getter/setters. Then again, creating a getter/setter from an existing variable is nice, but the way to do it is a bit cumbersome. First you have to write the var, then go to the menu and select 'generate getter/setter', then click okay. What I would like to do instead is: hit some key combination, select a snippet named 'create setter getter' and go from there.
Snippets seem to be really on the wishlist for a lot of people and yet, it is missing.
Key bindings can be customized:
1. Window > Preferences > General > Keys
2. Type getter in the "text filter text" field
3. Click on the Binding text input and press your shortcut of choice
This should alleviate part of your concern...
Hi David, we can open all the tickets we want but at the end of the day ALL FDT users are shockingly still wondering:
1) Has Adobe ever looked at FDT?
2) Do Adobe employees use Eclipse when developing in Java? If yes, can they spot the differences?
We are very disappointed if providing a better NotePad is what Adobe can do.
Until the differences with FDT (or the Java editor) are not clear to you, there is not so much point to discuss it further.
The wording has been a bit harsh but I generally agree that the coding experience in FB is quite poor compared to industry-standard IDEs like Eclipse, IntelliJ IDEA or Visual Studio.
FB4 improved quite a bit over FB3 - I like that after I write "var myVarialbe : MyType = new ", FB is clever enough to suggest "MyType" in auto completion. But quite honestly, my coleagues using Visual Studio would lough at me if I told them that this feature was added in 2009.
The code editor in FB has generally very little knowledge about my code. Even simplest things in other IDEs like rename refactoring doesn't work reliably in FB in 100% cases. "Find references" often fails on me and I have to use Find in files. I need to build my project to see compile-time errors which would be acceptable if typical Flex project would build in 1 or 2 seconds but even for projects with 50-100 classes, compilation takes 10-30 seconds which is intolerable for just seeing if I made a typo somewhere. I could go on.
So I would be one of the many people who would be happy if the Flash Builder team could spend all the resources on just improving the code editor for one release, say 4.5. But I also understand that Flex 4 is a huge change and I can imagine there is a ton of work on the designer and related stuff. 4 is a huge release so I am happy that at least the most obvious improvements were made to the code editor but in the future, coding experience should really be enhanced to narrow the gap between Flash Builder and other modern IDEs.
I know I've been harsh, but it's hard to understand Adobe priorities, because I'm sure they know the differences between the editors. I was hoping for a better editor with the FB3 release, because basically NO improvements have been done from FB2 editor to FB3, I was expecting it with FB4, and here waiting again. The language didn't even basically change from FB1, did it?
I totally appreciate the effort from Adobe to provide a better framework and deployement, but they can't sell me the fact that this is a competitive editor.
Cheers Mayank, good solution.
Would it be also possible to setup a way to automatically insert snippets created with the Web Standards snippets tool?