Awesome. I'll download it as soon as I get home :D
kaushikSat 4 Dec 2010
This is great! Will try it today.
florinSat 4 Dec 2010
Great work. Thanks for the effort.
tcolarSat 4 Dec 2010
Let me know if any issues, or missing must-have feature.
Thanks.
rfeldmanSat 4 Dec 2010
Great work! So far this is very nice to use for Tales development.
The only major issues I've seen so far are that the IDE shows compiler errors for my classes when I declare them as nullable or use them inside a closure. Example:
Naturally if I just execute this code it works fine.
A nice-to-have feature would be extending the HTML parser to consider "talesId" a valid element; currently all Tales .html files have mandatory warnings when using the framework as intended.
Overall, though, very nice! Setup was a total breeze, and it picked up my Tales project with zero effort. The splash screen also consistently makes me smile. :D
Looking forward to using this more.
yachrisSat 4 Dec 2010
Thanks tcolar!
A few things I see off the bat:
I'm using a mac. The plug-in installation instructions ask you to set up the Fan Home; it directs you to "Tools / Options", but on a mac there is no "Options" item in the "Tools" menu. It should reference "Netbeans / Preferences...".
I wanted to change the main auto-generated to subclass AbstractMain. So I added the : AbstractMain to the class declaration, and got the wavy red line... fine, I don't have the using util. In the Java world, it can figure out which import statements are needed automagically... that'd be very nice to have.
There's something wrong with auto-indent; the first line after a normal line of code is indented to the same location, but if you hit return to get a blank line, you get an extra four spaces of indentation; the next line gets four more, and so on.
I created a unit test for a class which didn't exist; it'd be nice to have an option to create the class.
Once I'd created the class for the unit test, it all compiled fine. Then I tried "Run / Test Project" menu item, and it "succeeded" with "All tests passed! \[0 tests, 0 methods, 0 verifies]". Huh? I tried "Run / Test File" on the unit test file, and ran fine, and ran my tests. But "Run / Test Project" still found nothing. I checked the "Projects" window and neither the unit test file nor my new class file were listed. I did a "Window / Reset Windows" and the files showed up, and then "Run / Test Project" ran my test.
Thanks again for getting this going!
tcolarTue 7 Dec 2010
@yachris I'll check on those issues
Kinda weird that the menus are different on a mac, but I have one so yeah it's the case.
the "fix import" is the very next feature I want to do.
The auto-ident issue sounds weird I don't see that here, is that always true or only in a specific scenario ? Can you send me what indent setting you have configured in NB ?
As far as the run/test project issue: I basically call "fant podName" .... so my guess is that you didn't build the pod first ?
@rfeldman: I thought that worked must be a bug will have a look.
I'll make a new version by this weekend to support the new tales release.
I'm also gonna try improving method completion (for parameters/closures) and if I have time I'll try to do "fix imports" as I'm a big user of that feature :)
tcolarTue 7 Dec 2010
@rfieldman I don't seem to be able to reproduce the error you mentioned(not sure I'm understanding it right) ... maybe you can send me a test project ?
UPDATE: Never mind I see the issue (I only look for sources in Fan folder right now) ... will probably need to make source folders configurable as in Java.
tcolarTue 7 Dec 2010
@yachris: I now managed to reproduce the indent issue.
It's a weird one, the indent actually is done correctly but some extra spaces get added after it(which is why the next one get messed up) ... haven't figured yet why.
It could be a Netbeans bug because I did think it use to do that and they made change to the indenting engine in 6.9 and there seem to be lots of other bugs reported about it.
Anyway will try to make it work.
yachrisTue 7 Dec 2010
@tcolar -- I tried to reproduce the run/test issue, and couldn't with adding a new file to an existing project; but it behaved itself.
However, I did get the "file does not show up in the Project file lists window" problem; again, the "Window / Reset Windows" fixed it.
Thanks for your hard work!
tcolarTue 7 Dec 2010
I'm gonna put those issues/feature requests on bitbucket, you can comment or add new ones there. So has not all the fantom mailing list gets bothered by those emails.
@yachris: I guess you mean the new file does not appear right away in the navigator, if so yes I've seen that before ... netbeans seem to be kinda buggy when it comes to that but I think I had found a way to force it to update, so will double check
Fix Bug whereas new created file didn't always show up right away (issue 14)
Fixed Formatter / Indentation issues
Hint/Fixes providers for:
**Unresolved type** -> solutions given:
add using for that item
add using for the item whole pod
create a new type with that name (class/mixin/enum)
**Unresolved variable** -> solutions given
create a new field
create a local method
This works both on the local type as well as other types.
For field/methods creation, a "dialog" is provided to customize the creation:
The Field/Method name is pre-filled
The Field type is "guessed" and pre-filled if possible
The method return type and parameter types/names are guessed / pre-filled as well You can customize modifiers in the dialog as well.
Goes straight to the added field/method (open file in IDE and put cursor in right place)
Updated Tales framework support (new repo) Set Tales home folder in the Fantom option panel.
WARNING: Requires latest tales (0.1.3), If you had previously copied tales.pod into the fantom lib folder, remove it.
kaushikSat 18 Dec 2010
Great! thanks.
yachrisMon 20 Dec 2010
Excellent! Much appreciated.
tcolarThu 20 Jan 2011
Released version 1.6.7
Nothing major, but the plugin can now be installed on NB 7.0 (which is nice, no more "scanning projects" forever).
tcolar Fri 3 Dec 2010
Just released a new version (1.6.5)
Changes:
?.
,->
and?->
and Fixed a few other bugsAs usual you can find the latest version here (plugin & standalone):
http://fantomide.colar.net/install
DanielFath Sat 4 Dec 2010
Awesome. I'll download it as soon as I get home :D
kaushik Sat 4 Dec 2010
This is great! Will try it today.
florin Sat 4 Dec 2010
Great work. Thanks for the effort.
tcolar Sat 4 Dec 2010
Let me know if any issues, or missing must-have feature.
Thanks.
rfeldman Sat 4 Dec 2010
Great work! So far this is very nice to use for Tales development.
The only major issues I've seen so far are that the IDE shows compiler errors for my classes when I declare them as nullable or use them inside a closure. Example:
Naturally if I just execute this code it works fine.
A nice-to-have feature would be extending the HTML parser to consider "talesId" a valid element; currently all Tales .html files have mandatory warnings when using the framework as intended.
Overall, though, very nice! Setup was a total breeze, and it picked up my Tales project with zero effort. The splash screen also consistently makes me smile. :D
Looking forward to using this more.
yachris Sat 4 Dec 2010
Thanks tcolar!
A few things I see off the bat:
AbstractMain
. So I added the: AbstractMain
to the class declaration, and got the wavy red line... fine, I don't have theusing util
. In the Java world, it can figure out whichimport
statements are needed automagically... that'd be very nice to have.return
to get a blank line, you get an extra four spaces of indentation; the next line gets four more, and so on.Thanks again for getting this going!
tcolar Tue 7 Dec 2010
@yachris I'll check on those issues
Kinda weird that the menus are different on a mac, but I have one so yeah it's the case.
the "fix import" is the very next feature I want to do.
The auto-ident issue sounds weird I don't see that here, is that always true or only in a specific scenario ? Can you send me what indent setting you have configured in NB ?
As far as the run/test project issue: I basically call "fant podName" .... so my guess is that you didn't build the pod first ?
@rfeldman: I thought that worked must be a bug will have a look.
I'll make a new version by this weekend to support the new tales release.
I'm also gonna try improving method completion (for parameters/closures) and if I have time I'll try to do "fix imports" as I'm a big user of that feature :)
tcolar Tue 7 Dec 2010
@rfieldman I don't seem to be able to reproduce the error you mentioned(not sure I'm understanding it right) ... maybe you can send me a test project ?
UPDATE: Never mind I see the issue (I only look for sources in Fan folder right now) ... will probably need to make source folders configurable as in Java.
tcolar Tue 7 Dec 2010
@yachris: I now managed to reproduce the indent issue.
It's a weird one, the indent actually is done correctly but some extra spaces get added after it(which is why the next one get messed up) ... haven't figured yet why.
It could be a Netbeans bug because I did think it use to do that and they made change to the indenting engine in 6.9 and there seem to be lots of other bugs reported about it.
Anyway will try to make it work.
yachris Tue 7 Dec 2010
@tcolar -- I tried to reproduce the run/test issue, and couldn't with adding a new file to an existing project; but it behaved itself.
However, I did get the "file does not show up in the Project file lists window" problem; again, the "Window / Reset Windows" fixed it.
Thanks for your hard work!
tcolar Tue 7 Dec 2010
I'm gonna put those issues/feature requests on bitbucket, you can comment or add new ones there. So has not all the fantom mailing list gets bothered by those emails.
http://bitbucket.org/tcolar/fantomide/issues
@yachris: I guess you mean the new file does not appear right away in the navigator, if so yes I've seen that before ... netbeans seem to be kinda buggy when it comes to that but I think I had found a way to force it to update, so will double check
tcolar Fri 17 Dec 2010
Released version 1.6.6
This works both on the local type as well as other types.
For field/methods creation, a "dialog" is provided to customize the creation:
The Field/Method name is pre-filled
The Field type is "guessed" and pre-filled if possible
The method return type and parameter types/names are guessed / pre-filled as well You can customize modifiers in the dialog as well.
Goes straight to the added field/method (open file in IDE and put cursor in right place)
WARNING: Requires latest tales (0.1.3), If you had previously copied tales.pod into the fantom lib folder, remove it.
kaushik Sat 18 Dec 2010
Great! thanks.
yachris Mon 20 Dec 2010
Excellent! Much appreciated.
tcolar Thu 20 Jan 2011
Released version 1.6.7
Nothing major, but the plugin can now be installed on NB 7.0 (which is nice, no more "scanning projects" forever).
The standalone version is based on NB 7.0 beta
Some bug fixes.