javascript @todo [message #97575] |
Wed, 27 May 2009 10:00 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 #97976 is a reply to message #97906] |
Thu, 04 June 2009 13:36 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 #98153 is a reply to message #97976] |
Fri, 05 June 2009 19:50 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.05571 seconds