-
Notifications
You must be signed in to change notification settings - Fork 12.3k
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
Allow to specify the tsconfig.json filename explicitly #11224
Comments
@Aleksey-Bykov thank you for opening this issue. I'm not sure I completely understand. Can you provide a simple example of what you are describing? Is it something like this? MainProject/ And your feature request is to have SubProject-Y be able to use MainProject/tsconfig.json? |
From @Aleksey-Bykov on September 26, 2016 22:37 no, i have it differently, in the folder structure that you showed there is no problem to compile a sub-project if the VSCode is run from under a sub-folder my file structure looks like this:
I want to be able to focus either on |
Interesting. Ok moving to TS repo. |
The whole concept of tsconfig.json is to allow the same code to work in different editors by just opening it. this seems like a request to add "solution" file that tells you which "project" or tsconfig.json file to use. While this is a useful feature, i do not think the complexity to implement it and to support this in all tools warrants the change. I would recommend adding two tscongfig.json files in your folders One last thing to note, this is not different from other config files like |
i am thrilled with your anxiety to close items, isn't there already the |
nobody says that the whole concept is going away, the default case remains, unless said otherwise the default file is
i respect you opinion, i hope your opinion is not final (there might be still people who think differently)
which turns everything insideout by having to reference the files/projects using
it's not the only scenario, the other ones are:
so what does this argument brings? that there are other less than ideal configuration alternatives and that's why it doesn't make sense even to talk about making it better? please reopen |
I am sorry if I offended you closing issues. but I have to look at around 40 issues a day. and I have found that not responding immediate means i will not get to it until a few month has passed and it makes it harder for me to reparse the whole context for the issue. Closing an issue does not mean you can not respond to them, I have not locked it, intentionally. Also closed issues can be reopened if needed. Closing an issue means we have no plans to pursue this change at the time being. I would say this is less misleading than leaving it open. |
It's okay to disagree but it's not okay to not respect our ability to have a process that results in decisions. This is a software project and it's subject to the constraints of having a finite number of features and behaviors. It is not preferable that we just leave issues open and pretend we're considering several thousand possible new features at once. Humans, like computers, can only do a finite number of things at once. We're listening to feedback and if we think available data and priorities change, we'll reconsider. That's all we can do. |
it's not preferable to keep an issue open so it can gain a little attention? what kind of software project are you working on? |
I am not sure I see how these are all diffrent scenairos, (unless you consider every combination of compiler options a scenario). We have recentlly added support for configuration inheritance.. consider making your default {
"extends" : "tsconfig.essentials-only.json"
} then change it when you are ready to try something else to be: {
"extends" : "tsconfig.strict-null-checks-wip.json"
}
The way |
@Aleksey-Bykov You've been here long enough to know that we have a triage process that we find acceptable and are not interested in changing it at this time. The issue metadata means only what we intend it to mean. Believing that "Closed" means any "No feedback accepted", "All comments ignored", "Never ever ever going to happen", "Cannot be found from search", or any other thing other than "We have decided not to do this for now" -- these are your own choices. We are not accountable to your personal interpretation of the issue metadata. This is well-trod territory. We are not going to have thousands of open suggestions. We're faced with an unfixable dilemma:
We could adopt a non-transparent metadata system where you couldn't see that we had come to a conclusion on a particular issue. Thousands of suggestions could sit open and idle for years with no clear feedback from the team. I don't think this is what you want, but it's what you're asking for when you complain about issues being marked with the "Closed" metadata. |
@mhegazy, |
now on closing items versus tagging them
a tagged item:
i don't mind tagging, you can tag my item with anything, i do mind closing it before even being seen: this item was opened yes, if you say so then your process is broken, because closing really impacts discoverability of an item, even if the item is found by chance the fact that it was closed indicates that something is wrong with it and it's very likely to be ignored rather than read and understood your process is also broken because any individual with enough permissions can send an item into oblivion just because:
a better way forward would be let an item die naturally, by letting it sit generating no traffic, after a month such item can be automatically closed due to the lack of interest now i feel smart having said that, water is wet |
This is already available in https://github.com/Microsoft/TypeScript/blob/master/src/server/protocol.d.ts#L688. |
should we close these issues then? |
looks like you can, no one gives a shit |
So, something changed? :D |
From @Aleksey-Bykov on September 22, 2016 16:57
currently VSCode uses the file with the exact name
tsconfig.json
in the folder as the project file for a typescript project,i have a few other project files named differently for corresponding sub-projects inside the same folder, I wish there was a way to tell VSCode to use one of them rather then the default
tsconfig.json
Copied from original issue: microsoft/vscode#12463
The text was updated successfully, but these errors were encountered: