Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » javascript @todo
javascript @todo [message #97575] Wed, 27 May 2009 10:00 Go to next message
Eclipse UserFriend
Originally posted by: nomail.nomail.it

Scenario: File *.js

Is it possibile to have //@todo or /**@todo (or any other syntax) working
like PHP, that is, inserting the todo info into the tasks list?
That works into *.php files, but not with js files.

There is an alternative way to make the same as in php, into js files? Some
settings into preferences? Any other way?
Re: javascript @todo [message #97737 is a reply to message #97575] Thu, 28 May 2009 19:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mnm.criion.net

It seems we need wst 3.x which needs eclipse 3.4 if I am not mistaking.
If I am please let me know because I cannot get eclipse 3.3 to update to
wst 3.x
--
-michael
Re: javascript @todo [message #97825 is a reply to message #97737] Mon, 01 June 2009 10:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nomail.nomail.it

Thank you Michael but I do have Eclipse 3.4.1 and WST 3.0.3, but it doesn't
work.

The first question maybe should be: someone using PDT can state that @todo
works (going into task list) inside js files?


"Michael Madsen" <mnm@criion.net> ha scritto nel messaggio
news:gvmq6i$lhe$1@build.eclipse.org...
> It seems we need wst 3.x which needs eclipse 3.4 if I am not mistaking. If
> I am please let me know because I cannot get eclipse 3.3 to update to wst
> 3.x
> --
> -michael
Re: javascript @todo [message #97906 is a reply to message #97825] Wed, 03 June 2009 07:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mnm.criion.net

Hi again

I have just tried the pdt2.0.1 with a new workspace, in php perspective
and a php project. The line numbers were on by default so it must be
either your old project metafiles or the metadata folder files. If that
doesn't help it must be the eclipse installment which has some *thing*
wrong :)

To get the @todo working I had to go to the JavaScript subtree in
Validator->Task Tags and add a @todo tag and then it works.

Happy coding :)
--
-michael
Re: javascript @todo [message #97934 is a reply to message #97906] Wed, 03 June 2009 20:57 Go to previous messageGo to next message
sNop is currently offline sNopFriend
Messages: 281
Registered: July 2009
Senior Member
Michael Madsen napsal(a):
> Hi again
>
> I have just tried the pdt2.0.1 with a new workspace, in php perspective
> and a php project. The line numbers were on by default so it must be
> either your old project metafiles or the metadata folder files. If that
> doesn't help it must be the eclipse installment which has some *thing*
> wrong :)
>
> To get the @todo working I had to go to the JavaScript subtree in
> Validator->Task Tags and add a @todo tag and then it works.
>
> Happy coding :)

@todo doesn't work when you have big project with php file which aren't ended with ?> this
problem still occures in PDT 2.0.1 and with TODO the same

I don't know if PDT 2.1 is ok
Re: javascript @todo [message #97948 is a reply to message #97934] Wed, 03 June 2009 21:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mnm.criion.net

His problem was for .js files so I have not tested .php files.
--
-michael
Re: javascript @todo [message #97976 is a reply to message #97906] Thu, 04 June 2009 13:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nomail.nomail.it

I've tried on a new workspace and effectively it works.
However I cannot restart from scratch anytime something goes wrong.

First, your info on adding @todo in validator->task is important. I only had
TODO.

Now I only need to understand why, despite in the editor the word @todo (or
TODO) is changed to bold (that means the editor understand), it doesn't go
into the task list.


"Michael Madsen" <mnm@criion.net> ha scritto nel messaggio
news:h059e9$apk$1@build.eclipse.org...
> Hi again
>
> I have just tried the pdt2.0.1 with a new workspace, in php perspective
> and a php project. The line numbers were on by default so it must be
> either your old project metafiles or the metadata folder files. If that
> doesn't help it must be the eclipse installment which has some *thing*
> wrong :)
>
> To get the @todo working I had to go to the JavaScript subtree in
> Validator->Task Tags and add a @todo tag and then it works.
>
> Happy coding :)
> --
> -michael
Re: javascript @todo [message #98005 is a reply to message #97976] Thu, 04 June 2009 14:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nomail.nomail.it

A bit of related legal information I discovered while looking for the
problem of TODO:
" Microsoft has patented a glorified form of the to-do list.' Issued
Tuesday, the patent covers the use of a 'task list' generated from 'TODO'
comments in source code."
:-( :-( :-(


"Rik" <nomail@nomail.it> ha scritto nel messaggio
news:h08iin$beu$1@build.eclipse.org...
> I've tried on a new workspace and effectively it works.
> However I cannot restart from scratch anytime something goes wrong.
>
> First, your info on adding @todo in validator->task is important. I only
> had TODO.
>
> Now I only need to understand why, despite in the editor the word @todo
> (or TODO) is changed to bold (that means the editor understand), it
> doesn't go into the task list.
>
>
> "Michael Madsen" <mnm@criion.net> ha scritto nel messaggio
> news:h059e9$apk$1@build.eclipse.org...
>> Hi again
>>
>> I have just tried the pdt2.0.1 with a new workspace, in php perspective
>> and a php project. The line numbers were on by default so it must be
>> either your old project metafiles or the metadata folder files. If that
>> doesn't help it must be the eclipse installment which has some *thing*
>> wrong :)
>>
>> To get the @todo working I had to go to the JavaScript subtree in
>> Validator->Task Tags and add a @todo tag and then it works.
>>
>> Happy coding :)
>> --
>> -michael
>
>
Re: javascript @todo [message #98035 is a reply to message #97575] Thu, 04 June 2009 16:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nomail.nomail.it

Found! :-)

The problem is not in workspace settings, but in project settings. The
problem is in this file:
..settings/.jsdtscope.

It was the lack of this line
<classpathentry kind="src" path=""/>

I don't know where to find it into Preferences menu, but I don't care too
much now: addind by hand into
the file happily works. :-)


"Rik" <nomail@nomail.it> ha scritto nel messaggio
news:gvj2sl$svc$1@build.eclipse.org...
> Scenario: File *.js
>
> Is it possibile to have //@todo or /**@todo (or any other syntax) working
> like PHP, that is, inserting the todo info into the tasks list?
> That works into *.php files, but not with js files.
>
> There is an alternative way to make the same as in php, into js files?
> Some settings into preferences? Any other way?
>
>
Re: javascript @todo [message #98079 is a reply to message #98035] Thu, 04 June 2009 19:08 Go to previous messageGo to next message
sNop is currently offline sNopFriend
Messages: 281
Registered: July 2009
Senior Member
Rik napsal(a):
> Found! :-)
>
> The problem is not in workspace settings, but in project settings. The
> problem is in this file:
> .settings/.jsdtscope.
>
> It was the lack of this line
> <classpathentry kind="src" path=""/>
>
> I don't know where to find it into Preferences menu, but I don't care too
> much now: addind by hand into
> the file happily works. :-)
>
>

Hi Rik,

pls craete task in bugzilla for this, thank you.
Re: javascript @todo [message #98138 is a reply to message #98079] Fri, 05 June 2009 19:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mnm.criion.net

It's not a bug mate, just old project files
--
-michael
Re: javascript @todo [message #98153 is a reply to message #97976] Fri, 05 June 2009 19:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mnm.criion.net

You don't have to start from scratch, just delete your project meta
files that should give you a clean slate without you having to start
with a new workspace.
--
-michael
Re: javascript @todo [message #98212 is a reply to message #98153] Mon, 08 June 2009 10:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nomail.nomail.it

Yes and no: e.g.: taskslist, preferences, and so on are lost. The last
version change took me a lot of time... just only to find how to set tab
indentation to 2 for javascript took me an hour! :-)
However now I have written down a checklist and how to, so I can do it more
quickly every time I change version. :-)


"Michael Madsen" <mnm@criion.net> ha scritto nel messaggio
news:h0bsu7$rlu$2@build.eclipse.org...
> You don't have to start from scratch, just delete your project meta files
> that should give you a clean slate without you having to start with a new
> workspace.
> --
> -michael
Re: javascript @todo [message #98287 is a reply to message #98212] Tue, 09 June 2009 06:41 Go to previous message
Eclipse UserFriend
Originally posted by: mnm.criion.net

pref's should be inherited from project type, so only the project
specific pref's would need to be re-set. Tasklist should be auto
generated from your source code, yes? I never set project specific
pref's so I don't know much about how extensive they can get. But am
glad you have found a compromise :)

-michael
Previous Topic:copy paste big problem
Next Topic:[Announce] PDT 2.1.0RC4 is available
Goto Forum:
  


Current Time: Tue Apr 23 06:30:57 GMT 2024

Powered by FUDForum. Page generated in 0.04229 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top