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
Hi,
I am using the Error List function in Sublime.
However, I have no files defined because I find it a bit redundant to register a file every time I created a new file in my project.
So I removed the file option which makes it load all files as standard behaviour.
So the Error list worker process is freaking out about some of the definition files (not maintained by me).
I don't want to see those errors but it happens because of all the files are loaded.
It would help me, if I could add directories with a wildcard to the file section in the tsconfig.
That way I can include the whole view section and components, but exclude the typings folder.
Excluding folders should not turn off type checking system in Sublime. Also, filesGlob field is not currently supported by tsconfig.json. All options available in tsconfig.json can be found in this wiki page.
Unfortunately before the wildcard file name pattern was merged, there is no other way to define a project except using either files array or exclude array.
Activity
billti commentedon Feb 23, 2016
We already allow you to exclude specific directories via the
excludesproperty (see https://github.com/Microsoft/TypeScript/wiki/tsconfig.json ). Wildcard support (i.e. globbing patterns) are coming in this pull request: microsoft/TypeScript#5980 .mattiLeBlanc commentedon Feb 23, 2016
Awesome. Thank you.
mattiLeBlanc commentedon Feb 24, 2016
Bill Ticehurst (@billti) Actually excluding the typings file drops the whole type checking system in Sublime, so that doesn't work.
I just manually included my top level typing files
but I still get all the duplicate messages in my typing files.
Is there anyway to NOT have the typing messages in the Error List?
zhengbli commentedon Feb 25, 2016
Excluding folders should not turn off type checking system in Sublime. Also,
filesGlobfield is not currently supported by tsconfig.json. All options available in tsconfig.json can be found in thiswiki page.
Unfortunately before the wildcard file name pattern was merged, there is no other way to define a project except using either
filesarray orexcludearray.