Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » JSDT Extension: how to filter Project path dynamically?(Now to separate Javascript files and Libraries dynamically if one project contains both client side and server side javascripts )
JSDT Extension: how to filter Project path dynamically? [message #1179843] Sun, 10 November 2013 15:41 Go to next message
Pavel Sosin is currently offline Pavel SosinFriend
Messages: 2
Registered: November 2013
Junior Member
In our environment JavaScript is used for both client side and server side development. To distinguish between client side and server-side JavaScript the new "server side" content types (file extension) are defined via JSDT extension point org.eclipse.wst.jsdt.core.jsSource. It caused the problem of cross content type visibility in code completion: variables and functions are visible regardless the file type. The same problem exists also for Libraries: content of Client side and Server side libraries is always visible when either client side or server side script is edited. Is it possible to separate visibility of JavaScript artifacts for CodeCompletionRobot according the Project Path using, for example, org.eclipse.wst.jsdt.core.sourcePathProvider extension point?
Re: JSDT Extension: how to filter Project path dynamically? [message #1385887 is a reply to message #1179843] Thu, 12 June 2014 05:44 Go to previous messageGo to next message
Paul Verest is currently offline Paul VerestFriend
Messages: 36
Registered: March 2013
Member
up (could not answer before because of https://bugs.eclipse.org/bugs/show_bug.cgi?id=422039)
Re: JSDT Extension: how to filter Project path dynamically? [message #1385888 is a reply to message #1385887] Thu, 12 June 2014 05:50 Go to previous messageGo to next message
Paul Verest is currently offline Paul VerestFriend
Messages: 36
Registered: March 2013
Member
up from IE
Re: JSDT Extension: how to filter Project path dynamically? [message #1386746 is a reply to message #1385888] Fri, 20 June 2014 04:33 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

No, that's not what that extension point is for (it's internal, and meant to aid in defining source folders when the JS facet is installed). The entire project operates using a single Include Path. Project entries are meant to help compose larger applications or structure these kinds of divisions.

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:The content type in preference page can't change the default encoding?
Next Topic:HTML and XML Editor Formatting strategies
Goto Forum:
  


Current Time: Thu Apr 25 22:54:47 GMT 2024

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

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

Back to the top