Skip to content

Display TypeScript Elements in the Project Explorer #53

Closed

Description

@angelozerr

Display TypeScript Elements in the Project Explorer by using build path folders.

Activity

  1. angelozerr commented on Apr 28, 2016

    @angelozerr
    OwnerAuthor

    Here a screenshot about my idea:

    typescriptresources

    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

    • for validation
    • for compilation (soon finished).
    • to know if "TypeScript" node must be displayed in the project properties or not (it play the role of "TypeScript nature)

    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.

  2. added this to the 1.0.0 milestone on Apr 28, 2016
  3. angelozerr commented on Apr 29, 2016

    @angelozerr
    OwnerAuthor
  4. micaelgallego commented on Apr 30, 2016

    @micaelgallego

    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?

  5. angelozerr commented on Apr 30, 2016

    @angelozerr
    OwnerAuthor

    I like this behavior ;) Good job.

    Thanks!

    How do you plan to manage "node_modules" folder?

    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

    • src
    • node_modules

    And your build path is src, node_modules is not validated.

    if you have

    • src
      • node_modules

    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?

  6. micaelgallego commented on Apr 30, 2016

    @micaelgallego

    It looks good to me. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions