Skip to content

Suggestion: Please remove the context sensitive nature of Build in the command palette #950

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jeffschwartz opened this issue May 13, 2016 · 1 comment

Comments

@jeffschwartz
Copy link

Currently you have to have a .ts or d.ts file open in the editor and it has to have the input focus in order to run Build from the command palette (perhaps other typescript specific commands also). However, Build should always be available from the command palette anytime there is a tsconfig.json file indicating a typescript project has been defined/declared. Perhaps there is a better way but relying on the presence of tsconfig.json is immediately obvious. IMHO it is very annoying and distracting having to first open a .ts file just to be able to build a project.
screen shot 2016-05-13 at 6 39 00 pm

@jeffschwartz jeffschwartz changed the title Suggestion: Please remove the context sensitive naturoe of Build in the command palette Suggestion: Please remove the context sensitive nature of Build in the command palette May 13, 2016
@basarat
Copy link
Member

basarat commented May 14, 2016

IMHO it is very annoying and distracting having to first open a .ts file just to be able to build a project

Quite commonly people have multiple tsconfig.json (including some from node_modules). Which one should we build is a bit of a puzzle unless one has a file open (even then it can be a puzzle if multiple projects reference the file ... we just use the last one the user uses which is generally the right one).

Something like the alm project selector can help mitigate it a bit

That is being discussed here : #910

Closing as there is a technical limitation here and the project discussion has started here : #910 Feel free to voice / bounce ideas here or there even after closing 🌹

@basarat basarat closed this as completed May 14, 2016
@TypeStrong TypeStrong locked and limited conversation to collaborators Jan 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants