Bug 424040 - [occurrences] Mark occurrences correctly when selecting JSDoc
Summary: [occurrences] Mark occurrences correctly when selecting JSDoc
Status: REOPENED
Alias: None
Product: Orion (Archived)
Classification: ECD
Component: JS Tools (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Curtis Windatt CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
: 442593 (view as bug list)
Depends on: 426033
Blocks:
  Show dependency tree
 
Reported: 2013-12-13 15:20 EST by Michael Rennie CLA
Modified: 2017-01-12 12:00 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Rennie CLA 2013-12-13 15:20:50 EST
COnsider the following snippet:

function TypeEnvironment() {};
Objects.mixin(TypeEnvironment.prototype, /**@lends javascript.contentAssist.TypeEnvironment **/{
		
});

Place s the carat in TypeEnvironemnt in the @lends comment. Notice the function name is marked (the missing mark on TypeEnvironment.prototype is known in bug 423083).

We should either not allow this, or improve the marking to properly support JSDoc. My vote would be to properly support JSDoc, that way we could mark where something is used as a param or return type, etc.
Comment 1 Curtis Windatt CLA 2014-01-28 12:38:36 EST
Bug 426033 will prevent occurrences from being marked when in javadoc or literals.  Renaming this bug as an enhancement to correctly mark occurrences when in doc nodes (params, function name, etc.).
Comment 2 Michael Rennie CLA 2014-09-02 13:47:02 EDT
*** Bug 442593 has been marked as a duplicate of this bug. ***
Comment 3 Michael Rennie CLA 2017-01-10 15:44:01 EST
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:

https://dev.eclipse.org/mhonarc/lists/orion-dev/msg04002.html
Comment 4 Michael Rennie CLA 2017-01-12 12:00:27 EST
Reopening