GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — --p command line option should support taking a full path or directory. · Issue #2869 · microsoft/TypeScript

--p command line option should support taking a full path or directory. #2869

New issue
Copy link
New issue
Copy link
Closed
Closed
--p command line option should support taking a full path or directory.#2869
Copy link
Labels
FixedA PR has been merged for this issueA PR has been merged for this issueSuggestionAn idea for TypeScriptAn idea for TypeScript
Milestone
TypeScript 1.8

Description

@niemyjski
Blake Niemyjski (niemyjski)
opened on Apr 22, 2015
Issue body actions

This would allow you to specify a tsconfig.json that has a different name.

If you specify a directory, it should first try to resolve tsconfig.json. If it can't find it, it should find the first tsconfig*.json file

References: #2868 (comment)

Activity

  1. Mohamed Hegazy (mhegazy)
    added
    SuggestionAn idea for TypeScriptAn idea for TypeScript
    Accepting PRs
    on Apr 22, 2015
  2. saschanaz commented on Sep 20, 2015

    @saschanaz
    Kagami Sascha Rosylight (saschanaz)
    on Sep 20, 2015
    Contributor
    More actions
    • What benefit can we get when tsc automatically search tsconfig*.json files? What should happen when there are multiple tsconfig* files except tsconfig.json?
    • Should tsc require any naming format? Should it allow project file without .json extension?
  3. zpdDG4gta8XKpMCd commented on Nov 19, 2015

    @zpdDG4gta8XKpMCd
    ZpdDG4gta (zpdDG4gta8XKpMCd)
    on Nov 19, 2015
    More actions

    since my request #5705 got closed I am writing here:

    • let's add a parameter that points to whatever configuration file we please: --configuration c:\foo\bar\myproject.csproj
  4. mhegazy commented on Nov 19, 2015

    @mhegazy
    Mohamed Hegazy (mhegazy)
    on Nov 19, 2015
    Contributor
    More actions

    let's add a parameter that points to whatever configuration file we please: --configuration c:\foo\bar\myproject.csproj

    Aleksey-Bykov can you elaborate on what is the expectation here? do you expect tsc to read the .csproj? where would the infrormation be stored?

  5. zpdDG4gta8XKpMCd commented on Nov 19, 2015

    @zpdDG4gta8XKpMCd
    ZpdDG4gta (zpdDG4gta8XKpMCd)
    on Nov 19, 2015
    More actions

    i am saying the developer should be free to specify any file that has a valid tsconfig JSON content even if the name itself doesn't make any sense

  6. mhegazy commented on Nov 19, 2015

    @mhegazy
    Mohamed Hegazy (mhegazy)
    on Nov 19, 2015
    Contributor
    More actions

    i see, so why not use --project as in the OP?

    Reacted by Steven
  7. zpdDG4gta8XKpMCd commented on Nov 19, 2015

    @zpdDG4gta8XKpMCd
    ZpdDG4gta (zpdDG4gta8XKpMCd)
    on Nov 19, 2015
    More actions

    because it's already taken it would be a breaking change

  8. mhegazy commented on Nov 19, 2015

    @mhegazy
    Mohamed Hegazy (mhegazy)
    on Nov 19, 2015
    Contributor
    More actions

    not really, we can check if it is a file path use it, if it is a directory append "tsconfig.json" before reading the file.

  9. zpdDG4gta8XKpMCd commented on Nov 19, 2015

    @zpdDG4gta8XKpMCd
    ZpdDG4gta (zpdDG4gta8XKpMCd)
    on Nov 19, 2015
    More actions

    true, good catch

  10. Ryan Cavanaugh (RyanCavanaugh)
    closed this as completedin #4883on Nov 24, 2015
  11. Ryan Cavanaugh (RyanCavanaugh)
    added
    FixedA PR has been merged for this issueA PR has been merged for this issue
    on Nov 24, 2015
  12. RyanCavanaugh commented on Nov 24, 2015

    @RyanCavanaugh
    Ryan Cavanaugh (RyanCavanaugh)
    on Nov 24, 2015
    Member
    More actions

    Thanks Kagami Sascha Rosylight (@saschanaz) ! 🎉

  13. Mohamed Hegazy (mhegazy)
    added this to the TypeScript 1.8 milestone on Nov 24, 2015
  14. microsoft
    locked and limited conversation to collaborators on Jun 18, 2018
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

    FixedA PR has been merged for this issueA PR has been merged for this issueSuggestionAn idea for TypeScriptAn idea for TypeScript

    Type

    No type

    Projects

    No projects

      Milestone

      • TypeScript 1.8

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.