You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Display TypeScript Elements in the Project Explorer #53
How do you plan to manage "node_modules" folder? Do you plan to create an special element in project folder like Java's "Maven dependencies" or similar?
Activity
Display "TypeScript Resources" in the projext explorer. See
angelozerr commentedon Apr 28, 2016
Here a screenshot about my idea:
You can see that there is a "TypeScript Resources" node which displays the src folder because it contains tsconfig.json.
The tsconfig.json is searched inside root project and src folder for the moment. After you will able to add other folders.
Those folders (called build path) are used
In other words we don't need Eclipse TypeScript nature.
After my idea is to displays ts files inside those folders.
@piotrtomiak @micaelgallego please give me feedbacks.
Add/Remove BuildPath menu for "Project Explorer". See
Display "Add build path" only when project, folder or tsconfig.json is
Add dialog to add multiple TypeScript build path. See
angelozerr commentedon Apr 29, 2016
@piotrtomiak @micaelgallego please read https://github.com/angelozerr/typescript.java/wiki/TypeScript-BuildPath
Here a demo:
micaelgallego commentedon Apr 30, 2016
I like this behavior ;) Good job.
How do you plan to manage "node_modules" folder? Do you plan to create an special element in project folder like Java's "Maven dependencies" or similar?
angelozerr commentedon Apr 30, 2016
Thanks!
What do you mean with that? Exclude "node_modules" folder for validation, compilation? If it that you can exclude "node_modules" with tsconfig.json.
So now when a full validation is done, it uses build path folders to know if validation must be done or not. So for instance if you have
And your build path is src, node_modules is not validated.
if you have
In this case your src/tsconfig.json must declare "node_modules" inside "exclude" JSON array in order to not validate node_modules folder.
Is it OK?
micaelgallego commentedon Apr 30, 2016
It looks good to me. Thanks