Bug 216780 - No code completion from Remote files
Summary: No code completion from Remote files
Status: REOPENED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-13 09:29 UTC by Vladimir Riha
Modified: 2013-05-29 07:01 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
sample project (2.28 KB, application/zip)
2012-09-24 06:09 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2012-08-13 09:29:18 UTC
Code completion in editor doesn't show results (e.g. functions...) that are declared in Remote Files.

Product Version: NetBeans IDE Dev (Build EaselCSS-480-on-20120813)
Java: 1.7.0_06; Java HotSpot(TM) Client VM 23.2-b09
System: Linux version 3.0.0-23-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Martin Fousek 2012-09-24 05:58:52 UTC
Lado, please could you attach some example source what do you have on mind. Means i.e. if I have .html page so CC doesn't work from included .js? It should work within the same project at least.

Could you describe better what you mean by Remote Files and reopen the issue then? Thanks a lot.
Comment 2 Vladimir Riha 2012-09-24 06:09:17 UTC
Created attachment 124781 [details]
sample project

By remote files, I mean JS files linked like

 <script src="http://quality2.netbeans.org/db2/web/scripts/dashboard.js" type="text/javascript"></script>

they are listed under "Remote Files" node in Projects window. The sample project contains comments in HTML and JS file where the code completion should work. I think it makes sense to get completion for remote files as well. Thanks


Product Version: NetBeans IDE Dev (Build 201209240001)
Java: 1.7.0_07; Java HotSpot(TM) Client VM 23.3-b01
System: Linux version 3.2.0-30-generic-pae running on i386; UTF-8; en_US (nb)
Comment 3 Martin Fousek 2012-09-24 06:12:26 UTC
Aha, you mean for HTML5 projects. Thanks a lot for additional description. You are right that it would make sense to have it there.
Comment 4 Martin Fousek 2013-05-29 06:16:38 UTC
Reassigning to default owner.